sudo apt install pass
gpg --list-keys
gpg --generate-key
pass init ABCDEFGHIJKLMNOPQRSTUV1234,where ABCDEFGHIJKLMNOPQRSTUV1234 is the name of the key.
pass generate keyfolder/newkeyList passwords
passCopy a password to clipboard
pass keyfolder/newkey -cFor more commands
man pass
Connect pass to git so it is easy to keep track of changes with multiple machines.
gpg --export --output public.key ABCDEFGHIJKLMNOPQRSTUV1234 gpg --export-secret-key --output private.key ABCDEFGHIJKLMNOPQRSTUV1234,where ABCDEFGHIJKLMNOPQRSTUV1234 is your key name.
gpg --import public.key gpg --import private.key
pass init ABCDEFGHIJKLMNOPQRSTUV1234
pass git init pass git remote add origin git@repo.com:myname/pass-store
pass git pull origin master --allow-unrelated-histories pass git commit -am "firstcommit"
pass git push --set-upstream origin master
pass git pull pass git push
References: