How can I change the passphrase on our secret keys?

Daniel Kahn Gillmor dkg at
Mon Apr 17 20:37:50 CEST 2017

On Wed 2017-04-12 11:02:04 -0500, helices wrote:
> Yes, I saw that. On one host, that works.
> On other, I get following error:
> gpg> passwd
> Key is protected.
> You need a passphrase to unlock the secret key for
> user: "Sempris <publickey at>"
> 4096-bit RSA key, ID 80167A71, created 2016-03-18
> gpg: cancelled by user
> Can't edit this key: Operation cancelled

We need more info about the host where this failed to help you :)

 * What operating system? (and what version of the OS?)

 * What version of gpg?

 * What version of pinentry are you expecting to use?

 * If you do the following command from the shell, do you see a pinentry
   show up anywhere?

      printf "option ttyname $(tty)\ngetpin\n" | pinentry



More information about the Gnupg-users mailing list