24 releases
0.5.10 | Nov 7, 2024 |
---|---|
0.5.8 | Oct 20, 2022 |
0.3.0 | May 12, 2019 |
0.2.0 | Oct 17, 2018 |
0.1.0 | Jun 16, 2015 |
#33 in Authentication
243 downloads per month
675KB
487 lines
rusty-diceware - a password generator using wordlists
Commandline Diceware (Wayback Machine mirror), with or without dice, written in rustlang.
Please use Gitlab for anything whatsoever. Github is just a mirror.
Inspired by the great passphrase generating solution Diceware (Wayback Machine mirror) invented by Arnold G. Reinhold (Wayback Machine mirror) and by Randall Monroe’s xkcd#936:
Usage:
Usage: diceware [options]
Options:
-h, --help This help message.
-e, --entropy Display number of entropy bits.
-r, --dicerolls Provide results of physical dice rolls. Word per line,
same digit order as in the files, digits between and
including 1 and 6.
-n, --nword NWORD Number of words in a passphrase.
-d, --delimiter DELIM
The delimiter character used to separate the words.
-f, --wordlist-file FILE
Path to a wordlist file.
-l, --wordlist WORDLIST
Wordlist to use. (efflong (default), effshort1,
effshort2, minilock, reinhold, or beale)
Featuring:
-
The three wordlists mentioned in EFF's Diceware Guide:
-
The original Reinhold wordlist (Wayback Machine mirror).
-
The MiniLock (github)wordlist. (found in the phrase.js file)
-
The all new
--wordlist-file
command line option which loads and uses your very own newline delimited wordlist file. Inquire within! -
Physical dice roll! You can (don't use echo, it will show up in
ps
and show your rolls to other users):$ cat | diceware -l efflong -r 111111 111112 ^D abacus abdomen
-
Wordlists live in their own diceware_wordlists crate you can use for your own wicked deeds.
Mirrors:
- Codeberg is the main repository.
- Gitlab is just a mirror.
- Github is just a mirror.
- Kakafarm is just a mirror.
Supprt my extremely important and 110% not trivial work 💰:
You can support me at https://buymeacoffee.com/kakafarm/ and/or tip on https://liberapay.com/yuvallanger/donate:
<script src="https://liberapay.com/yuvallanger/widgets/button.js"></script><a href="https://liberapay.com/yuvallanger/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
Dependencies
~2.4–3.5MB
~56K SLoC