changing the passphrase of the secret key stored in the GnuPG card
dgouttegattat at incenp.org
Mon Jun 12 13:45:18 CEST 2017
I forgot an important detail:
On 06/12/2017 01:28 PM, Damien Goutte-Gattat wrote:
> First, remove the private key stubs:
> $ rm ~/.gnupg/private-keys-v1.d/*.key
This command will delete *all* your private keys. You should use it "as
is" only if *all* your private keys are stored on a smartcard.
If you have other private keys in your keyring that are not stored on a
smartcard, do *not* delete all files in ~/.gnupg/private-keys-v1.d!
Instead, get the keygrip of each of your card keys
$ gpg2 --with-keygrip --list-secret-keys
and delete only the corresponding files under ~/.gnupg/private-keys-v1.d.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the Gnupg-users