passgen

A password and passphrase generator written in Go.
git clone git://git.swab.dev/passgen.git
Log | Files | Refs | README | LICENSE

README.md (929B)


      1 # passgen
      2 
      3 A command line password generator written in Go.
      4 
      5 By default, the command sends the password/passphrase to your clipboard to paste.
      6 Linux and Unix platforms (not OSX) require xclip or xsel on the system.
      7 
      8 ## Passphrase Generation
      9 The phrase command uses the EFF diceware wordlist and creates a passphrase with the desired length and separator.
     10 
     11 Usage:
     12    passgen phrase [command options] [arguments...]
     13 
     14 Options:
     15    --number value, -n value     The total number of words to return. (default: 6)
     16    --separator value, -s value  Set the character to be used as the word separator. Wrap the character in double quotes. (default: "-")
     17    --stdout, -o                 Set the output location to stdout. (If used, passphrase will not be copied to the clipboard.) (default: false)
     18    --help, -h                   show help (default: false)
     19 
     20 ### Example:
     21 ```
     22 $ passgen phrase -o -n 4 -s "-"
     23 graceless-routine-knelt-rasping
     24 ```