diff options
author | Werner Koch <[email protected]> | 2020-03-18 11:30:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-03-18 11:30:06 +0000 |
commit | 161a098be6f9d50fb5f7e120baee81e75d6eb5ad (patch) | |
tree | b957d63b7056b9931bbfbce0aaa89debc2bcab70 /g10/trustdb.c | |
parent | doc: Remove duplicate description of --include-key-block. (diff) | |
download | gnupg-161a098be6f9d50fb5f7e120baee81e75d6eb5ad.tar.gz gnupg-161a098be6f9d50fb5f7e120baee81e75d6eb5ad.zip |
gpg: Fix key expiration and usage for keys created at the Epoch.
* g10/getkey.c (merge_selfsigs_main): Take a zero key creation time in
account.
--
Keys created at the Epoch have a creation time of 0; when figuring out
the latest signature with properties to apply to a key the usual
comparison A > B does not work if A is always 0. We now special case
this for the expiration and usage data.
Co-authored-by: [email protected]
GnuPG-bug-id: 4670
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/trustdb.c')
0 files changed, 0 insertions, 0 deletions