I've changed a passphrase for a secret key:
$ gpg --edit-key <PUBKEY_ID>
passwd
<old_passphrase>
<new_passphrase>
<new_passphrase>
save
Reloaded using gpgconf --reload
, however the old password still is in use when trying to decrypt.
$ gpg2 -d somefile.gpg
where this file is encrypted with a public subkey of the one I changed the passphrase of. It prompts me for the passphrase and only accepts <old_passphrase>
.
However, when I run $ gpg --edit-key <PUBKEY_ID>
and passwd
again, it does require me to use <new_passphrase>
to unlock the key.
What is going wrong here?
Running KDE Neon 5.8 (Ubuntu 16.04 Xenial based)
$ gpgconf --list-components
gpg:GPG for OpenPGP:/usr/bin/gpg2
gpg-agent:GPG Agent:/usr/bin/gpg-agent
scdaemon:Smartcard Daemon:/usr/lib/gnupg2/scdaemon
gpgsm:GPG for S/MIME:/usr/bin/gpgsm
dirmngr:Key Acquirer:/usr/bin/dirmngr
pinentry:PIN and Passphrase Entry:/usr/bin/pinentry