pwsafe is a unix commandline program that manages encrypted password databases.
It can be used as a pure command-line operation or can interact with X11
selection & clipboard. It is compatible with CounterPane's PasswordSafe.