734 B
734 B
title, tags, requires
| title | tags | requires | ||||
|---|---|---|---|---|---|---|
| pass |
|
|
Setup gpg keys.
Show your gpg secret it:
gpg --list-secret-keys
Then use the id number under sec to make a pass repo:
key="$(gpg --list-secret-keys | grep -m 1 -A1 '^sec' | tail -n 1)"
pass init $key
cat .password-store/.gpg-id
To add a basic password, e.g. for ${website}:
pass ${website}
To insert a multi-line password, e.g. with a login name:
pass add -m ${website}
Remove a password:
pass rm ${website}
You can generate passwords with xkcdpass.
Automatically insert a password with pass insert:
xkcdpass | pass insert --echo ${website}