{"id":26874131,"url":"https://github.com/umuttopalak/pass-cli","last_synced_at":"2025-07-28T16:08:49.680Z","repository":{"id":271624090,"uuid":"914042365","full_name":"umuttopalak/pass-cli","owner":"umuttopalak","description":"A secure command-line password manager with AES-256 encryption and sudo authentication","archived":false,"fork":false,"pushed_at":"2025-01-18T11:30:07.000Z","size":43,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T09:36:12.543Z","etag":null,"topics":["aes-256","cli","command-line-tool","cryptography","keyring","password-generator","password-manager","password-security","python","security"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/password-cli/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umuttopalak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08T20:49:51.000Z","updated_at":"2025-01-19T01:20:14.000Z","dependencies_parsed_at":"2025-03-31T09:34:02.917Z","dependency_job_id":"8aeab853-fdb2-43a4-89be-15fded8b9095","html_url":"https://github.com/umuttopalak/pass-cli","commit_stats":null,"previous_names":["umuttopalak/pass-cli"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/umuttopalak/pass-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fpass-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fpass-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fpass-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fpass-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umuttopalak","download_url":"https://codeload.github.com/umuttopalak/pass-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fpass-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267543690,"owners_count":24104622,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aes-256","cli","command-line-tool","cryptography","keyring","password-generator","password-manager","password-security","python","security"],"created_at":"2025-03-31T09:33:56.388Z","updated_at":"2025-07-28T16:08:49.632Z","avatar_url":"https://github.com/umuttopalak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pass-cli\n\n[![PyPI version](https://badge.fury.io/py/password-cli.svg)](https://badge.fury.io/py/password-cli)\n[![Python versions](https://img.shields.io/pypi/pyversions/password-cli.svg)](https://pypi.org/project/password-cli/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA secure command-line password manager with sudo authentication.\n\n## Features\n\n- Secure password storage with AES-256 encryption\n- Generate strong random passwords\n- Store and retrieve passwords for different services\n- Sudo authentication for added security\n- Secure encryption key management\n- System keyring integration\n\n## Installation\n\n```bash\npip install password-cli\n```\n\n## Quick Start\n\n1. Initialize the password manager:\n```bash\npass-cli init\n```\nThis will prompt you to set up your encryption key or generate a secure random one.\n\n2. Authenticate with sudo:\n```bash\npass-cli auth\n```\n\n## Usage\n\n### Generate Passwords\n\nGenerate a random secure password:\n```bash\npass-cli generate -l 16\n```\n\nGenerate and store a password:\n```bash\npass-cli generate -l 16 -s github -u johndoe\n```\n\n### Store Passwords\n\nStore an existing password:\n```bash\npass-cli store -s github -u johndoe -p your-password\n```\n\n### Retrieve Passwords\n\nRetrieve a stored password:\n```bash\npass-cli retrieve -s github -u johndoe\n```\n\n### Check Authentication\n\nCheck sudo authentication status:\n```bash\npass-cli auth-check\n```\n\n### List Passwords\n\nList all stored passwords:\n```bash\npass-cli list\n```\n\nList passwords for a specific service:\n```bash\npass-cli list -s github\n```\n\n### Delete Passwords\n\nDelete a stored password (with confirmation):\n```bash\npass-cli delete -s github -u johndoe\n```\n\nDelete a stored password without confirmation:\n```bash\npass-cli delete -s github -u johndoe --force\n```\n\n## Security Features\n\n- AES-256 encryption for all stored passwords\n- PBKDF2 key derivation with high iteration count\n- Secure random password generation using `secrets` module\n- System keyring integration for encryption key storage\n- Sudo authentication requirement for all operations\n- Local storage only - no cloud sync for enhanced security\n- Safe deletion with confirmation mechanism\n\n\n## Development Setup\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/pass-cli.git\ncd pass-cli\n```\n\n2. Create and activate virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # Linux/Mac\n# or\nvenv\\Scripts\\activate     # Windows\n```\n\n3. Install dependencies:\n```bash\npip install -r requirements.txt\npip install -r requirements-dev.txt\n```\n\n4. Run tests:\n```bash\npytest\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Built with [Click](https://click.palletsprojects.com/)\n- Uses [cryptography](https://cryptography.io/) for secure encryption\n- Integrates with system keyring using [keyring](https://pypi.org/project/keyring/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumuttopalak%2Fpass-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumuttopalak%2Fpass-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumuttopalak%2Fpass-cli/lists"}