Strong domain-specific passwords generator
domain_password == base62(sha1(master_password + domain_key))[:8]
This utility script helps generate a set of rebuildable domain-specific strong passwords out of a single easy to remember master password and domain specific keys such as “login@host”.
The generated passwords are strong since they use 8 characters out of a 62 characters long alphabet (lowercase and uppercase letters + digits) that are not to be found in any dictionary.
You can always re-generate your passwords by taking the base 62 encoding of the sha1 hash of the concatenation of your master password and domain key.
$ pip install -U virtualkeyring
Use the interactive command-line tool vkr that should now be in your PATH, and type in you master password and domain key:
$ vkr master password: mysecret domain key [e.g. 'login@host']: firstname.lastname@example.org Your password is available in the clipboard. You have 10s to paste it.
To generate passwords with length larger that 8 chars, for instance for an ssh key passphrase:
$ vkr -l 20
To generate passwords for a specific alphabet:
$ vkr -a 42aAuUTt
Add a ssh key to your ssh-agent:
This will use your hostname as domain key. You can also set your domain key in ~/.virtualkeyring.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|virtualkeyring-1.6-py2.7.egg (8.9 kB) Copy SHA256 Checksum SHA256||2.7||Egg||Jul 21, 2013|
|virtualkeyring-1.6.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256||–||Source||Jul 21, 2013|