A self-contained Go-lang command for generating passwords using the [Wordlist
corpus](https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases) provided by the [Electronic Frontier Foundation](https://www.eff.org/) for use with their [EFF
Dice-Generated Passphrases](https://www.eff.org/dice).
|
|
||
|---|---|---|
| cmd | docs(): tweak regarding "special" character | |
| go.mod | Initial commit | |
| go.sum | Initial commit | |
| LICENSE | Initial commit | |
| main.go | Initial commit | |
| README.org | Initial commit | |
Phraser Readme
A self-contained Go-lang command for generating passwords using the Wordlist corpus provided by the Electronic Frontier Foundation for use with their EFF Dice-Generated Passphrases.
Building the Command
- Make sure you have a recent version of Go-lang installed.
- Clone this repository
- Run
go build -o phraserand then ensure the binary is in your$PATH.
Usage
Generate a list using the Large Wordlist; with 6 words:
phraser long
Access the inline help via the -h flag.
phraser -h
Create a pass phrase from the Electronic Frontier Foundation's Word List. The 'phraser' command provides additional options to help you match the criteria of various password validation strategies. This command creates a pass phrase of a number segments (-n). The command generates the passphrase via by evaluating the pattern (-p) for each segment, then joining (-j) the segments to create a line of text suitable for a password. Usage: phraser [short medium long] [flags] Flags: -c, --characters string corpus of special characters (default "!@#$%&*") -h, --help help for phraser -j, --join string join the segments with this text (default " ") -n, --numberOfSegments int number of segments in the passphrase (default 6) -p, --pattern string pattern for each segment: w :: lower case word c :: character W :: title-case word d :: digit Example: "wdd" would be a lower-case word followed by two random digits. (default "w")
I’ll Do It By Hand
For those that would rather grab a clutch of six-sided dice and roll up a
(削除) character (削除ここまで) passphrase, you can use the files provided with this repository:
- Long Words
- roll 5d6, 6 times (as Gygax proposed in Unearthed Arcana).
- Medium Words
- roll 4d6, 6 times (no drop lowest like 3rd edition and later). These are perhaps more memorable words.
- Short Words
- roll 4d6, 6 times (no drop lowest like 3rd edition and later). These are shorter but perhaps less memorable.