ewd340 / dado

Diceware-like Random Passphrase Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dado

dado1 is a random passphrase generator based on the diceware method.

Installation:

Clone this repository and do:

make install

This will by default install the program to /usr/local/bin. You can change that by adding PREFIX=~/.local (for example) to the previous command.

Usage:

Invoking dado with the -h will display a usage text with details about the available options.

Options:

  • -l: The passphrase's language. For now may be fr (French) or en (English). The later being the default when this option is not specified.
  • -n: Number of words in the generated random passphrase. If not specified, it is by default set to 5.
  • -s: A character used to separate the words of the generated passphrase. By default (when not specified) it is a single space.

Credits:

The word lists used in this program are:

  • The French list is collected by me. The code is in the yafrdw repository.
  • The English list is the EFF Large one

Disclaimer:

This code in src/dado.c is written for my own use. Use it at your own risk. It is provided as is, without warranty of any kind, and put in the public domain (please see the UNLICENSE file). Your contributions, ideas, fixes, and suggestions are most welcome.

Footnotes

  1. dado is the Italian word for dice.

About

Diceware-like Random Passphrase Generator

License:The Unlicense


Languages

Language:C 99.8%Language:Makefile 0.2%