PWP(1) General Commands Manual PWP(1)

NAME

pwppassword program

SYNOPSIS

pwp [-ev] [-b bits | -l length] [-f file | -m mode]

pwp [-n [-p password]] record

pwp -d format [record]

DESCRIPTION

The pwp utility is a password manager. Passwords can be generated, stored and retrieved.
The database records are encrypted using AES-256-CBC and verified using SHA512 keyed-hash message authentication codes.
Database access is based upon a user defined passphrase which must be entered each time. The passphrase may be read from standard input.
The options are as follows:
-b bits
Specify password strength (entropy) in bits. 128 is the default.
-d format
Dump data in one of the following formats:
all
Print all password data. Each field is printed on a separate line in name value pairs.
names
Print the current password for each record. Record and password are tab-separated.
rec
Print each password for record including create timestamp and edition number.
-e
Enforce a character from each entry used in the password.
-f file
Read the character set from file. Each line represents an entry.
-m mode
Specify a built in character set. base58 is the default.
alnum
Alphanumeric
alpha
Alphabetic
base58
Alphanumeric excluding "0OIl"
diceware
Diceware passphrase
digit
Decimal-digit
graph
Printable characters (space character exclusive)
lower
Lower-case
upper
Upper-case
xdigit
Hexadecimal-digit
-l length
Specify password strength in length.
-n
Create a new password for record.
-p
Use password as the new password for record.
-v
Produce verbose output.

FILES

~/.pwp
program directory.
~/.pwp/pwp.db
database file.
~/.pwp/pwp.db.[0-2].gz
backup files.

EXAMPLES

Digits with 80 bits of entropy
$ pwp -b 80 -m digit
Graph symbols with length of 30
$ pwp -l 30 -m graph
Create and store an upper-case password for record 'example.net'
$ pwp -m upper -n example.net
Store a user defined password for record 'example.net'
$ pwp -n -p MySecretPassword example.net
Retrieve the current password for record 'example.net'
$ pwp example.net
Dump each record (including archived) from the database
$ pwp -d all
Dump the current password for each record
$ pwp -d names
Dump each password stored for record 'example.net'
$ pwp -d rec example.net

SEE ALSO

pledge(2), arc4random(3), bcrypt_pbkdf(3), evp(3), hash(3)

AUTHORS

Steven Roberts <sroberts@fenderq.com>

CAVEATS

You must have a backup and remember your passphrase. An incorrect passphrase may be due to Caps Lock key state.
December 31, 2015 OpenBSD 5.9