Expiration date of subkeys (retroactive)

Ingo Klöcker kloecker at kde.org
Sun Jan 1 15:57:11 CET 2023

On Sonntag, 1. Januar 2023 03:54:21 CET gnupg-users at aschoettler.com wrote:
> I have several GnuPG keys which I edited with KGpg.
> https://apps.kde.org/de/kgpg/
> Unfortunately, the subkeys were not taken into account when setting
> the expiry date.
> How can I retroactively edit my expired keys and expire the subkeys?

With the expire command of `gpg --edit-key`. You may have to use the
--faked-system-time option (or change the system time of your computer) 
because, if I remember correctly, gpg doesn't allow to set an expiration date 
in the past.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20230101/60ace7ca/attachment.sig>

More information about the Gnupg-users mailing list