mdp is an acronym for "Mot de Passe", which means "password" in French. It wraps GnuPG for encryption and deals with all the small details of generating, managing and fetching your passwords.
mdp is similar to a dozen other programs. What differentiate it from others is an overall goal for simplicity, not your average button-driven simplicity but more like a Unix-y less is more style. For example, beyond the use of GnuPG for encryption, mdp lets you use your own editor to manage your passwords, categorize them and delete them. I wouldn't use anything but my favorite editor to manage a list, would you?
In order to avoid passwords to linger on your screen, the results from the queries are displayed through a custom pager that gets cleared after a customizable timeout (default 10 seconds). Here is a short (2 minutes) demo:
Latest tarball: mdp-0.5.tar.gz (26K, signature)
openSUSE: https://build.opensuse.org/package/show/utilities/mdp (thanks to Pascal Bleser)
$ ./configure $ make $ sudo make install
Here is a minimal configuration file, just change the gpg key ;)
# GnuPG key id (default: none, let gpg pick a key) set gpg_key_id "6453194A" # Editor used in edit mode (ignore if you have $EDITOR configured) set editor "/usr/bin/vim"
If you like to customize your configuration, here is a dump of a full configuration file with all the defaults:
# GnuPG absolute path set gpg_path "/usr/bin/gpg" # GnuPG key id (no default, this is required) set gpg_key_id "6453194A" # GnuPG timeout (how soon to kill gpg if nothing happens, e.g. user forgot or # stuck in a pipe) set gpg_timeout 5 # Editor used in edit mode (defaults to $EDITOR) set editor "/usr/bin/vi" # How many passwords to generate with -g set password_count 4 # Timeout in pager mode in seconds set timeout 10