gpg: Note: secret key [...] expired...

Ingo Klöcker kloecker at kde.org
Tue Nov 9 21:18:40 CET 2021


On Dienstag, 9. November 2021 15:28:27 CET Keine Eile wrote:
> I have a revoked private key in my key ring, which I replaced with new one.
> I really do not want to discard this old key, for what I think good
> reasons. Is there a way to let gpg ignore this key or suppress this this¹
> notification?
> 
> > gpg: Note: secret key [KeyID] expired at [Some day in September]
> > gpg: Note: key has been revoked

As far as I could see in the source code, this is always printed when you 
decrypt something that was encrypted for this key. There is no option to 
suppress this except maybe by suppressing all informational messages. --quiet 
may help.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20211109/4a8fd604/attachment.sig>


More information about the Gnupg-users mailing list