μOTP+
μOTP+ is the next generation OTP toolkit.
Installation
You will need Python 3.4 or higher in order to run uotp.
$ pip install -U uotp
How to use μOTP+ as GUI application
Run uotp gui.
$ uotp gui
How to use μOTP+ as CLI application
Just run uotp.
$ uotp
μOTP+ will automatically issue a new account and sync time with the server for you.
Once you have successfully issued the new account, running uotp again will start giving you the OTP token.
For more information, see uotp --help.
Configuration file
By default, a new configuration file will be automatically generated on ~/.config/uotp/config.yml.
This behaviour however can be overriden by passing --conf=/path/to/config.yml to uotp command or setting UOTP_CONF=/path/to/config.yml environment variable.
$ uotp --conf=uotp.yml new
$ UOTP_CONF=uotp.yml uotp new
How to develop an application using μOTP+
# Import everything
from uotp import UOTP
# Create an instance of UOTP
uotp = UOTP
# Issue a new account
uotp.issue_account()
print('S/N: ', uotp.account_serial_number)
# Sync time with the server
uotp.sync_time()
# Get a new OTP token
token = uotp.generate_token()
print('Token: ', token)
License
All proprietary materials are intellectual property of (C) 2004 - 2017 ATsolutions
Metadata
Release files for uotp 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uotp-0.4.0.tar.gz | 15.5 kB | Without provenance | Details for uotp-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uotp-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for uotp-0.4.0-py2.py3-none-any.whl |
Total release size: 35.5 kB
Release files / uotp-0.4.0.tar.gz
| Download URL | uotp-0.4.0.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e5b946d5409c011170c9a7c5b49594b346d0ceb57a9bb6f46fcc82ac5f7764a
|
|
BLAKE2b-256 checksum How to use checksums |
84b6f30e73af74dab74fb93a8911d0585658a44d03cad7e5f70e7dba7c8a9272
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / uotp-0.4.0-py2.py3-none-any.whl
| Download URL | uotp-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6bb77d0ba515d711175f257a3c228090edecff657d4ffa161e28a3c60609516c
|
|
BLAKE2b-256 checksum How to use checksums |
ed71ae92768e6402bbbac24f6bf879d55113b7842b7ee08f9df2cd2134d2186d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for uotp 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.