Re: primary key expiration and subkeys

Bernhard Reiter via Gnupg-devel <[email protected]> Thu, 22 Jan 2026 15:46:24 +0100
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
Hello Ben,

Am Dienstag 20 Januar 2026 07:31:21 schrieb Ben Kibbey:
> Is it normal behavior to add a subkey whose expiration is after a
> primary key

not that I have heard of it. (Which probably is the reason why you haven't 
gotten many replies, just because who would know if people do that.)

> only to have the subkey be flagged as expired after the 
> primary key expires? 

On first thought a message like this seems okay,
because what would a subkey do if the main key has expired?

> If so, it may be good to issue a warning during 
> --edit-key that a subkey expiration is later than the primary since one
> would have to change the expiration of both the primary and subkeys to
> make use of them.

--edit-key is a low level operation, I wonder what expert GUIs like Kleopatra 
would allow. And if it is worth the effort to add a warning here.

Regards,
Bernhard

-- 
https://intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEvdlX+cT+D9xYPc1tK3ujv5vDpVQFAmlyOEAACgkQK3ujv5vD
pVTZzQv+OEfAbkkV2VPBJzN0Mp6sgvvSdU9NYB9bH7rhN3bbo0vEo6skQD6B/4/z
duIU6uphdBI8nKCt9ZVPJI0q61vcuxfG37W8VxbqXOeT1NqyvOKMzKHNO90hY8AJ
AKa8tazZa6WF29yXgvbfEoOmUFXk5uKz+OmKEFBWW/SBrwU92QaJLIyMdh2e1aWM
D7JpkgY8oUMzmTwHEbKswVDHkfgYHFdbHEOX1lmFe3jGLdrJL9OFH81Day8+n1nQ
sBSVGJbdtSyqK9/J6CbErQe+d8uinx7r1f80iWEsFoaaUgxKjKal39TbzgbTqmWK
kFt+3HETpNnkMZv+g21cj9ALP9mnhUuJDqZJot+OIvNDOX67xsn+W5vZiDhz7zMx
MzN6r36Z7hJqSp4P9hVs7W1WeE+8fqNiIXsQe35VXB2+sMjz+wuEaSUAKV6ubLkQ
GPnbmsXxNqxmOkSKecZSfcGpsG1UsX2Rsz8JFsy50iA4z4M+6uXLOsAK6OSMoGI6
k8g0L3q4
=IGma
-----END PGP SIGNATURE-----