A few years ago I wrote a password gem:
Today we have 1password:
So I use that instead.
password gem ran on a dotfile called
~/.they_stole_my_facebook_login_oh_noez. Copy that to
passwords.yml and then do this:
ruby passwords.rb > passwords.csv
Then go into 1password and use the importer functionality, as documented here:
Boom. You're done.