Project

sgpass

0.0
No commit activity in last 3 years
No release in over 3 years
SGPass uses a hash algorithm to transform a master password into unique, complex passwords for the Web sites you visit. This is a Ruby port of www.supergenpass.com.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.9.9
~> 1.6.2
 Project Readme

SuperGenPass for Ruby

Command line usage

Install it:

$ gem install sgpass

To generate a password for a site, use:

$ sgpass facebook.com
Password: ******
h8GCua3DxC

To copy it to clipboard:

$ sgpass facebook.com -c
Password: ******
Done. Your password has been copied to the clipboard.

Ruby usage

Or from your Ruby app, you may:

require 'sgpass'
str = SGPass.generate('hunter2', 'http://www.facebook.com')  #=> "vXzettvkI2"

More usage notes

You may even pass full URL's and sgpass will figure it out:

$ sgpass http://www.facebook.com/profile.php
Password: ******
h8GCua3DxC

If you don't want to to be asked for your password, pass it straight from the command line:

$ sgpass facebook.com MyPassword
h8GCua3DxC

Acknowledgements

Gem by Rico Sta. Cruz, based on the original supergenpass.com JavaScript version.