Skip to content

tmillican/diceware-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Diceware Passphrase Generator

This is a simple diceware passphrase generator, implemented in Ruby.

Installation

You'll need to download one or both of the available diceware wordlists. The generator expects these to be the raw .asc files with PGP headers/footers in place.

curl 'https://theworld.com/~reinhold/diceware.wordlist.asc' -o diceware.wordlist.asc
curl 'https://theworld.com/~reinhold/beale.wordlist.asc' -o beale.wordlist.asc

Usage

dicegen.rb uses the #!/usr/bin/ruby hashbang, so on most systems you merely need to run, for example:

./dicegen.rb diceware.wordlist.asc 5

This will generate 5 random words from diceware.asc.

If ruby is installed elsewhere, you can either alter the hashbang on line 1, or invoke it directly. Ex:

/usr/local/bin/ruby dicegen.rb diceware.asc 5

About

A simple diceware password generator, in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages