> I was trying to figure out how to do it through the user interface, and
> it's pretty clunky, with some scary failure modes.  I've opened
> https://dev.gnupg.org/T4457 about it.

Thank you!

> I know that with the version of GnuPG that you're using right now, you
> can delete the secret key by learning its keygrip and asking gpg-agent
> to delete it for you.

This seems to be the definitive answer for gpg 2.2.15.
Also interesting is the --stub-only option,
which deletes the key only if it is a reference to a token.

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

Reply via email to