{"id":26978673,"url":"https://github.com/scriptedbutton/passman","last_synced_at":"2025-07-29T17:17:02.357Z","repository":{"id":272669032,"uuid":"917382259","full_name":"ScriptedButton/passman","owner":"ScriptedButton","description":"A simple CLI-based password manager written in Rust.","archived":false,"fork":false,"pushed_at":"2025-01-15T21:55:10.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T23:47:10.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScriptedButton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-15T21:53:09.000Z","updated_at":"2025-01-15T21:55:11.000Z","dependencies_parsed_at":"2025-01-15T23:47:14.168Z","dependency_job_id":"19742784-c8f2-475c-8acc-ca2399e2ae87","html_url":"https://github.com/ScriptedButton/passman","commit_stats":null,"previous_names":["scriptedbutton/passman"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedButton%2Fpassman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedButton%2Fpassman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedButton%2Fpassman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedButton%2Fpassman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScriptedButton","download_url":"https://codeload.github.com/ScriptedButton/passman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247011432,"owners_count":20868884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-03T13:39:37.629Z","updated_at":"2025-04-03T13:39:38.187Z","avatar_url":"https://github.com/ScriptedButton.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secure Password Manager\n\nA command-line password manager written in Rust that provides secure storage and management of credentials. The application supports both interactive and command-line modes, using strong encryption (AES-GCM) and password hashing (Argon2) for security.\n\n## Features\n\n- Secure credential storage using AES-GCM encryption\n- Master password protection with Argon2 password hashing\n- Interactive and CLI modes\n- Secure password generation\n- JSON-based encrypted storage\n- Hidden password input\n- Website URL storage for each credential\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/ScriptedButton/passman.git\ncd passman\n```\n\n2. Build the project:\n```bash\ncargo build --release\n```\n\nThe compiled binary will be available in `target/release/passman`\n\n## Usage\n\n### Interactive Mode\n\nLaunch the password manager in interactive mode by running without arguments:\n\n```bash\npassman\n```\n\nThis will present a menu with the following options:\n1. Add new credential\n2. Get credential\n3. Generate password\n4. Save and exit\n\n### CLI Mode\n\nThe password manager supports the following CLI commands:\n\n1. Add a new credential:\n```bash\npassman add \u003cservice\u003e \u003cusername\u003e -w \u003cwebsite\u003e [-p \u003cpassword\u003e]\n```\nIf no password is provided with `-p`, a secure password will be generated automatically.\n\n2. Get credentials for a service:\n```bash\npassman get \u003cservice\u003e\n```\n\n3. Generate a new password:\n```bash\npassman gen [-l \u003clength\u003e]\n```\nThe length parameter is optional and defaults to 16 characters.\n\n### Examples\n\n```bash\n# Add a new credential with a specific password\npassman add github johndoe -w github.com -p mypassword123\n\n# Add a credential with auto-generated password\npassman add github johndoe -w github.com\n\n# Retrieve credentials\npassman get github\n\n# Generate a 20-character password\npassman gen -l 20\n```\n\n## Security Features\n\n- **Encryption**: Uses AES-GCM for credential encryption\n- **Password Hashing**: Implements Argon2 for master password hashing\n- **Secure Storage**: All credentials are encrypted before being stored in the JSON file\n- **Hidden Input**: Master password input is hidden during typing\n- **Secure Password Generation**: Generates strong random passwords using the `rand` crate\n- **No Plain Text**: Passwords are never stored in plain text\n\n## File Storage\n\nThe password manager stores encrypted credentials in a `passwords.json` file in the same directory as the executable. This file is automatically created when you first run the program and is updated after each operation.\n\n## Development\n\nTo contribute to this project:\n\n1. Fork the repository\n2. Create a new branch for your feature\n3. Make your changes\n4. Submit a pull request\n\n## Security Considerations\n\n- The master password is never stored directly; only its hash is saved\n- All passwords are encrypted before being stored\n- The program uses cryptographically secure random number generation\n- Sensitive input is hidden from view during typing\n\n## License\n\n[MIT License](LICENSE)\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Disclaimer\n\nThis password manager is provided as-is, without any warranties. Always ensure you keep backups of your password database and master password.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptedbutton%2Fpassman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptedbutton%2Fpassman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptedbutton%2Fpassman/lists"}