Home GnuPG

Check expiration of suitable subkey instead of primary key

Description

Check expiration of suitable subkey instead of primary key

The primary key may not be suitable for the desired usage, e.g. for
a default-generated OpenPGP key the primary key cannot be used for
encryption, so that checking the expiration of the primary key makes
no sense. We need to check the expiration of the encryption subkey(s).

Additionally, allow checking certification keys for expiration.

Details

Provenance
ikloeckerAuthored on Apr 18 2023, 11:52 AM
Parents
rLIBKLEO98ff208f9f43: Check for null keys and invalid check flags
Branches
Unknown
Tags
Unknown
Tasks
T6330: Kleopatra: Additional Expiry handling