On Mon, 11 Apr 2016 14:13, [email protected] said:

> How do I tell GnuPG that this secret key is no longer in existence, and
> that it should remove it from its list of secret keys? I've removed it

  gpg --with-keygrip -k b36c8212

Which gives you a /Keygrip/.  For a card based key gpg-agent creates a
file

  ~/.gnupg/private-keys-v1.d/KEYGRIP.key

to store public key parameters and the serial number of the card,. so
that gpg-agent can ask you to insert the card it wants to use.  Just
delete that file, howeverit will e re-created whe you insert a card.

  gpg-connect-agent 'keyinfo --list' /bye

prints a list of all keys known by gpg-agent with additional
information.

  gpg-connect-agent 'help keyinfo' /bye

documents the used output format.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to