tufa
A command-line tool for managing TOTP/HOTP credentials using the Mac OS keychain.
Installation
To install the latest released version from PyPI:
pip install -U tufa
You can also check out the repository and install from source:
pip install -U .
Usage
Use the add command to add a new credential. The secret can be passed into
stdin or provided interactively via a terminal prompt.
tufa add --name example --totp
You can use the addurl command to add a credential from a URL. This example
uses ZBar to extract a URL from a QR code
and store the information using tufa:
zbarimg qr.png | tufa addurl --name example
The getotp command generates a one-time password for a credential:
tufa getotp --name example
To export a credential you can use the geturl command. This example generates
a QR code for a credential using
libqrencode.
tufa geturl --name example | qrencode -o qr.png
For full command-line documentation, see tufa --help.
Configuration
You can set the following environment variables to configure tufa:
TUFA_DB_PATH: Path tufa's credential metadata database. The default location is~/.tufa.sqlite3TUFA_DEFAULT_KEYCHAIN: Keychain to use when adding credentials, if not specified via command-line flags.
Metadata
Release files for tufa 0.2.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 |
|---|---|---|---|---|
| tufa-0.2.0.tar.gz | 11.1 kB | Without provenance | Details for tufa-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tufa-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for tufa-0.2.0-py3-none-any.whl |
Total release size: 23.8 kB
Release files / tufa-0.2.0.tar.gz
| Download URL | tufa-0.2.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec13c73c153b362c6e32c17336a11d79989bea2cad3c82e557433a1ab39a6570
|
|
BLAKE2b-256 checksum How to use checksums |
c7c7776a8a5635ca6b2bf02126d7d5faaeef34f058bcd7a9b0c8ccea53f821f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / tufa-0.2.0-py3-none-any.whl
| Download URL | tufa-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34ace4704818bb097f2e356737b9bcd4df7b24cce5a1fe40ecd748fbe61f1faa
|
|
BLAKE2b-256 checksum How to use checksums |
46e8a7a140ef0ccb785c2c8a5bba1f3ce3d43b6c506e51b30c746aa8cb7b4560
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Security for tufa 0.2.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.