Skip to main content

Authenticator Application

Project description

image

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.

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

authf-0.0.4.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

authf-0.0.4-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file authf-0.0.4.tar.gz.

File metadata

  • Download URL: authf-0.0.4.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for authf-0.0.4.tar.gz
Algorithm Hash digest
SHA256 aacf835bfc6f6a310f9a37bd4a03609610f710ec331934bbae04a9b8f4ffef26
MD5 6e7f807b247e329a59e25b43e439e122
BLAKE2b-256 b9ec99341dbdb49b6e4e0b6e13b3bcf048d2b6af877b3350383d60a4e92d3879

See more details on using hashes here.

File details

Details for the file authf-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: authf-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for authf-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dd10f430ca3f3b2048f8f20f51b61838d728449980db662f72778530be9a6827
MD5 53b85d9f9c32ea9f2c9c873d8e49747a
BLAKE2b-256 a5cfc690642490b2cd84b04c2c1546689b4a6064f55683f6e79eec805bfbca67

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page