changing the passphrase of the secret key stored in the GnuPG card

Matthias Apitz guru at unixarea.de
Sun Jun 11 20:07:12 CEST 2017


How could I change the passphrase I have entered while generating the
keys on the GnuPG card? I tried with no success:

$ LANG=C gpg2 --edit-key Matthias passwd
gpg (GnuPG) 2.1.19; Copyright (C) 2017 Free Software Foundation, Inc.
...

Secret key is available.

sec  rsa4096/47CCF7E476FE9D11
     created: 2017-05-14  expires: never       usage: SC  
     card-no: 0005 0000532B
     trust: ultimate      validity: ultimate
ssb  rsa4096/6AA5C5C451A1CD1C
     created: 2017-05-14  expires: never       usage: A   
     card-no: 0005 0000532B
ssb  rsa4096/61F1ECB625C9A6C3
     created: 2017-05-14  expires: never       usage: E   
     card-no: 0005 0000532B
[ultimate] (1). Matthias Apitz (GnuPG CCID) <guru at unixarea.de>

Key has only stub or on-card key items - no passphrase to change.

gpg> 

Thanks

	matthias


-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: </pipermail/attachments/20170611/d23113be/attachment.sig>


More information about the Gnupg-users mailing list