One-time password generator
Project description
TOTP code generator based on oathtool.
Usage
Command-line:
$ python -m oathtool $key
API:
>>> oathtool.generate_otp(key)
Create standalone script (Unix):
$ python -m oathtool.generate-script $ ./oathtool $key
Don’t want to install oathtool, but just want the script? Use pip-run:
$ pip-run oathtool -- -m oathtool.generate-script $ ./oathtool $key
generate-script also takes an arbitrary target path in case you wish to generate the script elsewhere:
$ python -m oathtool.generate-script ~/bin/my-oathtool
Or install with pipx:
$ pipx install oathtool $ oathtool $key
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oathtool-2.3.2.tar.gz
(9.8 kB
view details)
Built Distribution
File details
Details for the file oathtool-2.3.2.tar.gz
.
File metadata
- Download URL: oathtool-2.3.2.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f902f0cf99f8860d39b26cb52d4cde04604ec79d41118b29a4c68248ac3cdc5a |
|
MD5 | 2481527f5161d661fbbbd2d53ce67af7 |
|
BLAKE2b-256 | c3873c6d84dee020a1d2269b0e5d47b1ab3a788eb4b7b2d37b9dc93c18d499bf |
Provenance
File details
Details for the file oathtool-2.3.2-py3-none-any.whl
.
File metadata
- Download URL: oathtool-2.3.2-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f115a2b82b0892589b4bc78e6a25b02996656f0a79fa3be6531ba1bfdc503b1d |
|
MD5 | b4c7c0c283fcca7e2eb1fd86a7d5e82e |
|
BLAKE2b-256 | 8960cfc6acb13dab9bf39a8bcef83961489519c6cdbf7b29b9598fec8c14e4b9 |