Skip to main content

a CLI password manager

Project description


A CLI password manager.

pwmngr was designed with a few requirement :
* use a dead simple CLI interface
* have a readable text file as backend, that could be checked in a vcs, or
carried around the cloud.
* be secure.

security disclaimer

Disclaimer : this software was not written by a cryptography specialist, and needs to be checked-out by specialists.

However, this tool make use of proven algorithms : Passwords are encrypted using AES256, (courtesy of PyCrypto), with the encryption key being generated from your password, a random hash (different for each of your passwords) and the pbkdf2 key derivation algorithm.

The rationale is that you can encrypt all your password with the same master password, a different encryption key is generated for your passwords.


$ ./pwmngr -s
password file does not exist, do you want to create one ? [N/y]y
password to store : <mypassword>
password :<secret>
$ ./pwmngr -g
password :<secret>
pwd stored to clipboard
$ ./pwmngr -vg
password :<secret>

default password file is located at ~/.pwmngr
it's up to you to symlink or indicate alternative file with -f option.

usage: pwmngr [-h] [-f FILE] [-g] [-v] [-s] key

positional arguments:
key the key you want to set or retrieve [default action]

optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE the password file (default ~/.pwmngr)
-g, --generate generate a random password instead of prompting you
for the password when setting passwords
-v, --show default pwmngr store the clear password to clipboard.
if set diplay the clear password to stdout
-s, --set set a password

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Pwmngr, version 0.1dev
Filename, size File type Python version Upload date Hashes
Filename, size Pwmngr-0.1dev.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page