command-line password managers

Command-line password managers are simple and great for when you remotely login via SSH. Most of the good ones use GnuPG to take care of the encryption.

I’ve been using pwman for a while, but I’ve been looking at something that’s maintained a bit more often.

pass seems like a good replacement, but I’m not convinced at the moment that it requires gnupg2 (mostly annoyed at the pinentry GUI that opens up on Mac OS X).

I’ve written a Python script pwman2pass that will take your decrypted pwman database (version 3) and import the entries into pass.

Example usage: gpg -d ~/.pwman.db | python pwman2pass.py

Code is available on git: https://github.com/cardi/pwman2pass

Comments, bugs, or fixes appreciated at cardi@acm.org.