Command-Line Password Safe 🔐︎
Make sure your computer has Ruby installed.
You can then install pws with:
$ gem install pws
$ pws --helpfor usage information.
If you use pws on Linux, you will need to have
xclipinstalled (for the clipboard to work).
Besides using the
--filename path/to/safeoption, you can shortly call
pws --cwdfor using a
.pwsfile in the current directory.
.pwsinto version control and you have a great way to share a project's passwords within your team.
You should use a Ruby that was built with bindings to an openssl version >= 1.0 or pws will fall back to a Ruby-only version of the PBKDF2 function, which is much slower. If using openssl 1.0 is not possible for you, you can work around that issue by using the
--iterationsoption with a value below 75_000 (see help). If you have problems using openssl 1.0 with your Ruby, please look for a solution in this issue.
The 0.9 password files are not compatible with the 1.0 version of pws, however, you can convert your safe with:
$ pws resave --in 0.9 --out 1.0
© 2010-2020 Jan Lelis, MIT license