hpg: a simple password generator

[ program, security ] [ Propose Tags ]

hpg is a free, open source password generator. It's design is pretty simple and it generates random passwords between 1 and 2^16 -1 characters.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
warn-as-error

treat warnings as errors

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8
Dependencies base (>=4.8 && <4.11), random (>=1.1 && <1.2), unix (>=2.7.0.0 && <2.8) [details]
License ISC
Author Fritjof Bornebusch
Maintainer fritjof@alokat.org
Category Security
Home page https://darcs.alokat.org/hpg
Source repo head: darcs get https://darcs.alokat.org/hpg
Uploaded by fritjof at 2018-01-04T22:12:13Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hpg
Downloads 4240 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-01-04 [all 3 reports]

Readme for hpg-0.8

[back to package description]

HPG(1) - General Commands Manual

NAME

hpg - simple password generator

SYNOPSIS

hpg [-N] [-lnsu] [-x length]

DESCRIPTION

The hpg utility creates passwords of different sizes, between 1 and 2^16 -1 characters. Please note that a length of <8 is not very secure and should be avoided. For this reason the default password length is 16 if the command is called without any options. The default entropy contains lower and upper case letters as well as numbers.

-l

Enables lower case letters.

-N

Disables the printing of the trailing newline character.

-n

Enables numbers.

-s

Enables special characters.

-u

Enables upper case letters.

-x length

Selects the length of the password.

EXIT STATUS

The hpg utility exits 0 on success, and >0 if an error occurs.

EXAMPLES

Create a new random password:

$ hpg -lnsu -x 32

AUTHORS

Fritjof Bornebusch <fritjof@alokat.org>