1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch e77f332b01
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: gniibe@fsij.org
GnuPG-bug-id: 4670
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 161a098be6f9d50fb5f7e120baee81e75d6eb5ad)
2020-03-18 12:43:35 +01:00
..
2019-05-14 11:24:35 +09:00
2018-05-31 12:08:22 +02:00
2019-06-23 20:17:47 -04:00
2020-01-01 19:06:30 +01:00
2018-05-31 12:08:22 +02:00
2015-02-04 09:15:34 +01:00
2020-03-14 20:07:37 +01:00
2018-03-08 14:08:51 +09:00
2015-02-04 09:15:34 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2019-08-23 16:18:07 +02:00
2019-07-16 08:32:57 +09:00
2020-03-14 20:07:37 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2020-03-14 20:07:37 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-01-23 19:16:55 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2020-03-14 19:38:09 +01:00
2016-03-08 14:08:49 +01:00
2017-03-07 20:25:54 +09:00
2019-05-27 12:52:58 +02:00
2016-12-06 12:16:56 +01:00