How to change passphrase for pass (password manager)

gnupgpasswordpassword-store

I changed the password for my gpg key. However, beforehand I've built an password store via pass with the same gpg key.

Now, whenever I query passwords, I still get asked for my old gpg password. Other applications require the new passphrase.

How can I change the passphrase for pass? Do I have to run "init" again?

Best Answer

I had the same issue; @Kusalananda is spot on - pass uses gpg2, which stores the key separately, so you have to change the passphrase for both versions.

gpg --edit-key "Your Key"
> passwd
> save

gpg2 --edit-key "Your Key"
> passwd
> save

The name of the key used by pass is stored in ~/.password-store/.gpg-id.

Related Question