Difrex's perl password manager rewritten in go
generate a gpg key if you don't have one
gpg --gen-key
set your gpg key as the default one in ~/.gnupg/gpg.conf
or use a custom key instead
# Create file with key email
cat > ~/.PM/.key << EOF
key_email@example.com
EOF
$ ./pm
creating configuration directory...
creating database scheme...
encrypting database...
$ ./pm -h
Simple password manager written in Go
-s show password
-n [Name of resource] name of resource
-g [Group name] group name
-o open link
-t show passwords as table
-w store new password
-I interactive mode for adding new password
-l [Link] link to resource
-u username
-c comment
-p [Password] password
(if password is omitted PM will
generate a secure password)
-L [Length] length of generated password
-r remove password
-i password ID
-m show dmenu
-R show rofi
-h show help
./pm -wn porn -l coolpornsite.com -u john -p coolpassword -c 'my favorite site!'
./pm -wn porn -l coolpornsite.com -u john -c 'my favorite site!'
./pm -wn porn -l coolpornsite.com -u john -L 32 -c 'my favorite site!'
./pm -wI
./pm -m
./pm -R
$ ./pm -sn all
id: 1
name: porn
resource: coolpornsite.com
username: john
comment: my favorite site!
group:
./pm -sg work
$ ./pm -stn all
id name resource username comment group
----------------------------------------------------------
1 porn coolpornsite.com john my favorite site!
$ ./pm -sn porn
password was copied to the clipboard!
URL: coolpornsite.com
User: john
Group:
./pm -son porn
$ ./pm -ri 13
successfuly removed password with id 13