A simple command-line password manager written in C. This program allows users to securely store, retrieve, and manage passwords associated with specific keys locally.
- Add new passwords.
- List all saved passwords.
- Find a password by its key.
- Save passwords persistently in a file (
passwords.txt). - User-friendly commands with help instructions.
- A C compiler (e.g., GCC or Clang).
- Basic understanding of the command line.
-
Clone the repository:
git clone https://github.com/<your-username>/<your-repo-name>.git cd <your-repo-name>
-
Compile the program:
gcc -o pm pm.c
-
Run the program:
./pm
| Command | Description | Example |
|---|---|---|
new <key>:<password> |
Add a new password with the specified key. | new email:mysecurepassword123 |
list |
List all saved passwords. | list |
find <key> |
Retrieve the password associated with a specific key. | find email |
help |
Display the list of available commands. | help |
./pm new email:mysecurepassword123./pm list./pm find email./pm helpContributions are welcome! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add a new feature" - Push to the branch:
git push origin feature-name
- Open a pull request.
- Encrypt passwords for additional security.
- Add a command to delete passwords.
- Support for importing/exporting passwords.