/pg

command line tools for password generation.

Primary LanguageGoMIT LicenseMIT

pg Build Status Go Report Card

command line tools for password generation.

we store password files at ~/.pg, and encrypt password by AES encryption algorithm.

required

  1. go (lastest version recommended)

install

$ go install github.com/micanzhang/pg

basic usage

generate password

$ pg #  pg gen

list entry

$pg list

new entry

$pg new -d mysql -u root -p root -k passwordphrase

if -p is empty, pg will generate new one.

update entry

$pg update -d mysql -u root -k passwordphrase

remove entry

$pg new -d mysql -u root

get password

$pg info -d mysql -u root -k passwordphrase

TODO

sync by dropbox and google drive.