I've been inspired to write a script...
Generate
A Password, or gap for short.
gap allows you to remember only one password, but have a unique password for every site you visit, every program you use, etc. And best of all, the passwords generated are long, and use letters and numbers. This makes them
very secure.
Here is how it works:
You give it a unique identifier, that is, whatever you want the password to be for...for example, if you need a password for
www.someobscuresite.com, oneobscuresite is a good idea.
You also give it your standard, master password...this can be as long or as short as you want, easy or hard to remember. As long as you keep your master password secret, all you other passwords are secure.
The script puts both strings(the unique identifier and your master password) into a temporary file, and finds the MD% sum of this file...this hash is your password!
Some caveats: You need kde...the script uses kdialog. If you don't have kde, you can use the 'read' command, or a GNOME alternative, or whatever...don't flame me because I use kde.
Some tips: If you have several profiles for, say, yourchatapp, you can use yourchatapp_username1, yourchatapp_username2 for your unique identifiers.
finally, the script:
Code:
#!/bin/bash
UID=`kdialog --inputbox "What is a unique identifier (such as a domain name, title, etc)?" ""`
PASS=`kdialog --inputbox "What is your master password?" ""`
echo $UID > /tmp/gaptmp
echo $PASS >> /tmp/gaptmp
HASH=`md5sum /tmp/gaptmp | awk '{print $1}'`
kdialog --inputbox "Your password is" $HASH
/bin/rm /tmp/gaptmp
Just paste the above into a file, chmod +x it, and presto!
Please, tell me what you think. If you think anything needs to be changed, please post a whole modified script here, so we can all keep track.