1 unstable release

new 0.1.3 Jan 10, 2025
0.1.2 Jul 5, 2023
0.1.1 Jul 5, 2023
0.1.0 Jul 5, 2023

#348 in Command line utilities

MIT/Apache

20KB
294 lines

apppass 🚀🔒

Crates.io Link

apppass is a powerful command-line application that allows you to generate, manage, and secure passwords efficiently. With advanced features like temporary passwords (OTP), memorable passwords, import/export, and auto-lock, apppass takes password management to the next level. ✨


🔧 Installation

Install apppass easily with:

$ cargo install apppass

Key Features

  • 🔒 Secure Password Generation: Create highly secure random passwords.
  • Temporary Passwords (OTP): Generate passwords valid for a limited time.
  • 🤓 Memorable Passwords: Easy-to-remember yet secure passwords.
  • 🔄 Full Password Management: List, update, delete, import, and export passwords.
  • 🕗 Auto-Lock: Locks the application after a period of inactivity.
  • 📂 Export/Import: Exchange passwords via CSV files.

🚀 Core Commands

🔒 Generate a Password

Create a password for an application:

$ ./apppass --app gmail
Password generated and saved for the application: gmail

Specify the password length:

$ ./apppass --app github --length 40
Password generated and saved for the application: github

🔍 Retrieve a Password

Retrieve the password for an application:

$ ./apppass --get gmail
Application_Name: gmail
Password: aB1nwWQyyu2rts7xc3vh90hGk0amlt

🔄 List All Passwords

Show all registered applications and their passwords:

$ ./apppass --list
Application_Name: github_credential
Password: JsHx7YX4jAaH4L54uBKoNbuHd59ABO

Application_Name: gmail
Password: aB1nwWQyyu2rts7xc3vh90hGk0amlt

Delete a Password

Delete the password for an application:

$ ./apppass --delete gmail
Application 'gmail' deleted successfully.

♻️ Update a Password

Update the password for an application:

$ ./apppass --update gmail
Password updated for 'gmail'.

📂 Export Passwords to a CSV File

Save all your passwords to a file:

$ ./apppass --export passwords.csv
Passwords exported to 'passwords.csv'.

📂 Import Passwords from a CSV File

Import passwords from an existing file:

$ ./apppass --import passwords.csv
Passwords imported from 'passwords.csv'.

Generate a Temporary Password (OTP)

Create a password that expires after a defined time:

$ ./apppass --otp MyApp --ttl 300
Temporary Password: 7aB8cD9EfG
Expires at: 2025-01-10 12:00:00

🤓 Generate a Memorable Password

Create a secure and easy-to-remember password:

$ ./apppass --memorizable BlogApp
Memorizable Password for 'BlogApp': Tiger-85-Cloud

🕗 Set Auto-Lock

Configure an inactivity period after which the application locks:

$ ./apppass --lock 60
Auto-lock set to 60 seconds.

🙌 Contribute

Have an idea to improve apppass? We welcome contributions! You can send a pull request or open an issue on the GitHub repository.


🚀 Next Steps

  • Cloud synchronization support.
  • Security report generation.
  • Integration with other password managers.

Dependencies

~1.5MB
~21K SLoC