Authf
Authf is an authentication management package developed for Python. It offers a command-line interface that enables the addition, display, and deletion of accounts, along with the capability to generate Time-Based One-Time Passwords (TOTPs) for verifying accounts.
Features
- Incorporate new accounts featuring encrypted secret keys.
- Account information is securely encrypted using the PBKDF2HMAC cryptography method and saved locally on your device.
- Operates without the need for an internet connection.
- The TOTP remains inaccessible to others, ensuring your security even in the even of devices loss, provided your passwords remain secure.
- Manage (view & remove) TOTP tokens used for account verification.
Installation
You can install Authf using pip:
pip install authf
Version
authf --version
Usage
Once installed, you can use the authf command to access the authentication tool. Here are some examples of how to use it:
- Add a new account:
$ authf --addaccount
Enter the account name: apple
Enter password to encrypt the secret key:
Enter the secret key without any error: theSecretkey
Your TOTP for verification of the account is 685197
- View TOTP:
$ authf --totp
Enter the account name: apple
Enter password to view TOTP:
Your TOTP for authentication is 270142
The primary use of this tool is to allow you to transfer your accounts from one machine to another. Additionally, it provides an opportunity to change the password for existing scripts.
>>> from authf import add_offline; help(add_offline)
- Restore accounts Offline:
$ authf --addoffline
-
Remove your all accounts
Warning: Using the following command will completely remove all your 2FA authentication accounts
$ authf --rm
Requirements
AuthF requires Python 3.x. All dependencies are listed in the requirements.txt file.
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
If you have any questions or feedback, feel free to open an issue on GitHub.
Metadata
Release files for authf 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| authf-0.0.5.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| authf-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.5 kB
Release files / authf-0.0.5.tar.gz
| Download URL | authf-0.0.5.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37b17d5625c5683f789ec678131b41d6eeb16d656d3be0c5eed9a5fa74190319
|
|
BLAKE2b-256 checksum How to use checksums |
8104d1e1d5af4cd77d4cd0714d6d7d43442bef57be2b7bfc24ee239ddaab753a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / authf-0.0.5-py3-none-any.whl
| Download URL | authf-0.0.5-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb3f94077483c8c9d0e5817566a446078d117dc7cc89afbf2d17f10b4fbbacc6
|
|
BLAKE2b-256 checksum How to use checksums |
6a884387e031056e3f2480e911749a82c83fc5968898323ee0032fe761923dfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|