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.

Damien

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to