PWP(1) General Commands Manual PWP(1)

pwp
password program

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

pwp [
-n [
-p password
]
] record

pwp -d format [
record
]

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:
bits
Specify password strength (entropy) in bits. 128 is the default.
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.
Enforce a character from each entry used in the password.
file
Read the character set from file. Each line represents an entry.
mode
Specify a built in character set. base56 is the default.
alnum
Alphanumeric
alpha
Alphabetic
base56
Alphanumeric excluding "0Oo1Il"
diceware
Diceware passphrase
digit
Decimal-digit
graph
Printable characters (space character exclusive)
lower
Lower-case
upper
Upper-case
xdigit
Hexadecimal-digit
length
Specify password strength in length.
Create a new password for record.
Use password as the new password for record.
Produce verbose output.

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

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

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

Steven Roberts <sroberts@fenderq.com>

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