0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Simple Ruby script to generate "Diceware" passphrases.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.3
>= 0
~> 2.6

Runtime

>= 0
 Project Readme

Ruby Dice

Ruby Dice

I've been using this script for a while now to generate easier to type passwords.

In the past I used LastPass' generator, but typing those passwords in a phone is beyond painful.

Hope someone finds this useful and let me know what stupid security mistakes I've made :)

Requirements

Probably just on *nix for now.

Needs the xsel program to copy passphrases to the clipboard.

Usage

$ gem install ruby-diceware
$ dice help throw

Custom wordlists

You can get additional wordlists from:

http://world.std.com/~reinhold/diceware.html#languages

Save them to ~/.wordlists. Say you save one to ~/.wordlists/custom.txt, then to use:

$ dice -w custom

To do

  • Find way to handle non UTF-8 wordlist files.

Credits

Default wordlist taken from:

http://world.std.com/~reinhold/diceware.html

Pretty dice from:

http://www.jukeboxprint.com/photo/Red%20Dice

License

MIT License.