logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

diceware - create passphrases

Author

       Written by Uli Fouquet and contributors

diceware 0.10                                     February 2022                                      DICEWARE(1)

Description

diceware  generates  passphrases  by concatenating words randomly picked from wordlists. It supports also
       real dice for passphrase generation.

       It is based on the proposals of Arnold G. Reinhold on http://diceware.com.

Examples

diceware
              Create a passphrase using defaults. Outputs something like "WheelDyeHonkCanvasWitsPuck"

       diceware-d"-"-n3
              Create  a  passphrase  with  three  words,  separated  by  dash  ("-").  Results in something like
              "Wheel-Dye-Honk"

       diceware--no-caps
              Create a passphrase without capital words. Creates something like "wheel-dye-honk".

       diceware-rrealdice
              Use real dice to create a passphrase. The program will tell you what to do  (roll  dice  and  tell
              what numbers appear) and in the end present a passphrase.

       diceware-rrealdice--dice-sides20
              Use  real dice, as shown above, but this time use dice with 20 faces, instead of standard, 6-sided
              dice.

       dicewaremywordlist.txt
              Create a passphrase with words from file "mywordlist.txt". The file should  contain  one  word  on
              each line.

       diceware-wen_securedrop-s2
              Create  a  passphrase  with  two special chars spread over the generated passphrase and containing
              words from wordlist "en_securedrop". This  is  one  of  the  wordlists  that  come  included  with
              diceware. Creates something like: "PlayaBrigVer{SeesNe-tsGets".

       diceware-wen_adjectivesen_nouns-n2
              Create  two  syntactically  meaningful  phrases,  each  one consisting of an adjective and a noun.
              Results in something like: "CruelAttendeesCleanCoffee".

Files

~/.diceware.ini
              Your personal diceware configuration file.

       diceware also comes with a set of wordlists. The path where these lists are stored is showed with --help.

Name

       diceware - create passphrases

Options

positionalarguments:

          FILE   optional input wordlist. '-' will read from stdin. Should contain one word per line.

       optionalarguments:

          -h,--help
                 show help message and exit

          -nNUM,--numNUM
                 number of words to concatenate. Default 6

          -c,--caps
                 Capitalize words. This is the default.

          --no-caps
                 Turn off capitalization.

          -sNUM,--specialsNUM
                 Insert NUM special chars into generated word.

          -dDELIMITER,--delimiterDELIMITER
                 Separate words by DELIMITER. Empty string by default.

          -rSOURCE,--randomsourceSOURCE
                 Get randomness from this source. Possible values: realdice, system. Default: system-w[NAME[NAME...]],--wordlist[NAME[NAME...]]
                 Use words from this wordlist. Possible values:  de,  de_8k,  en_adjectives,  en_eff,  en_nouns,
                 en_orig, en_securedrop. pt-br.  Default: en_eff-v,--verbose
                 Be verbose. Use several times for increased verbosity.

          --version
                 output version information and exit.

       Argumentsrelatedtorealdicerandomsource:

          --dice-sidesN
                 Number of sides of dice. Default: 6

Synopsis

diceware [OPTION]... [FILE]

See Also