A simple command-line utility that allows users to securely add 2FA secrets and get OTP codes for various accounts directly from the terminal. All sec

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-10-10 11:00:06

A simple command-line utility that allows users to securely add 2FA secrets and get OTP codes for various accounts directly from the terminal.

All secret keys are encrypted using a key derived from a password, which is set when adding first entry. The password itself is securely hashed using bcrypt.

Warning: Storing passwords in environment variables can pose a security risk as they may be accessible by other processes running on the same system. Use this method only in secure environments and avoid using it on shared or multi-user systems. Ensure that the environment variable is cleared or removed after use to minimize exposure.

This tool is intended for educational and personal use only. While every effort has been made to ensure the security and integrity of stored 2FA secrets, it is not recommended for use in high-security environments or as a replacement for professional-grade security solutions. Use this tool at your own risk. The author is not responsible for any data loss, security breaches, or other issues that may arise from the use of this software.

Leave a Comment