update ~/.gitconfig
[user]
...
signingkey = <signing key from `gpg --list-secret-keys --keyid-format LONG` goes here)
...
update password-store (re-encrypt everything)
cd ~/.password-store
pass init $new_key_fingerprint $old_key_fingerprint
Something that has always mystified me...
If ~/.ssh is set to
700(only file owner can "read,write,execute(open)" the directory, then it seems setting644(owner can read/write, group and world can read) is pointless since the world and the group can't even get into the directory where the file is stored. Yet,700on the.sshdirectory and644onauthorized_keysis a common recommendation. It just doesn't make sense to me.So... I was about to follow suit here, and then remembered that there is always
man ssh, and the man file says this:Based on this excerpt, it is required that the .ssh directory be
700and the private key files be600, but it is easier to remember, and will be fully functional, to be utterly restrictive and use700on the.sshdirectory and600on ALL the files.Thus:
Should be all you need.