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]
Versions 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8
Dependencies base (>=4.8 && <4.11), random (==1.1.*), 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 Thu Jan 4 22:12:13 UTC 2018
Distributions NixOS:0.8
Executables hpg
Downloads 1297 total (99 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-01-04 [all 3 reports]
Hackage Matrix CI

Flags

NameDescriptionDefaultType
warn-as-error

treat warnings as errors

DisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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>