- stores your passwords in a file on your disk
- encrypts the file with a master password
- is designed for every-day-use
- is written in
234lines of understandable Ruby code… Read it!
- is tested with 222 Cucumber steps
This announcement is actually a follow-up of my previous tutorial on how to build a password safe in ruby. Unfortunately, I was not using it and did not update it for quite a while, sorry for that.. But I finally managed to refactor it, so now it comes with specs, colors, new features and thousands of other tweaks and improvements :D
Impression / Usage
Using a Ruby 1.9, do
$ gem install pws
I’ve got the following lines in my
export PWS="$HOME/.safe/pws" alias pw='pws'
The first line changes the password file location. In that
~/.safe folder, I actually use git to backup some of my pws files.
The second line allows a handy syntax for getting a password:
$ pw for github