diff options
author | Ramón García <[email protected]> | 2025-03-18 08:43:26 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-03-18 08:43:26 +0000 |
commit | 4cf83273e84c19d0326c41ac45f6ee3b4526fc23 (patch) | |
tree | 50bc25d1347154e47fea61e4800b49fd89e6a138 /tools/gpgsplit.c | |
parent | doc: Register DCO for Ramon García F. (diff) | |
download | gnupg-4cf83273e84c19d0326c41ac45f6ee3b4526fc23.tar.gz gnupg-4cf83273e84c19d0326c41ac45f6ee3b4526fc23.zip |
gpgsm: select unexpired certificates skipping expired ones
* sm/certchain.c (check_validity_period_cm): Make function global.
* sm/certlist.c (gpgsm_add_to_certlist): If an expired certificate is
found, continue looking for another one.
--
This enables the user to select a certificate by subject, and keep
old expired certificates in the store in case he wishes to decrypt
or verify an old file. This makes renewal of certificate smoother.
Due to a broken patch I had to massage the patch and while doing this
also fixed the indentation and moved a declaration to the begin of a
block. - [email protected]
Diffstat (limited to 'tools/gpgsplit.c')
0 files changed, 0 insertions, 0 deletions