Skip to content

nicolas-brousse/passgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

./passgen

A shell script to generate password.

Usage

$ ./passgen [options] decent|strong|hard

Types:

  • decent: 10 chars
  • strong: 15 chars
  • hard: 40 chars

Options:

  • -l 0-9: Password length.
  • -n 0-9: Number of password to generate.
  • -q: Quiet mode to only return the password.

Installation

From file

$ curl -LsS https://raw.githubusercontent.com/nicolas-brousse/passgen/v1.0.2/passgen -o /usr/local/bin/passgen
$ chmod a+x /usr/local/bin/passgen

OS X (with homebrew)

brew install https://raw.githubusercontent.com/nicolas-brousse/passgen/master/contrib/homebrew/passgen.rb

More

Inspired by randomkeygen.com