Skip to content

Instantly share code, notes, and snippets.

@jonazc
jonazc / mkdice
Created September 3, 2017 11:39
Create diceware passphrase from terminal
#!/bin/bash
#// IMPORTANT INFO
#// ! Be aware that this script works against the idea of diceware
#// because it does not use the real randomness of an analogue dice
#// but rests on computer pseudo randomness. Thats why the standard
#// length is set to 3 words, what is not enough for an offline attack-
#// able passphrase, but might be ok for several online portals.
#// That means, this script suits only for mid-level passwords.