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
..
2017-05-11 18:12:37 +02:00
2019-05-14 11:24:35 +09:00
2019-05-21 16:28:11 +02:00
2019-08-21 13:59:17 +02:00
2019-08-21 13:58:34 +02:00
2019-12-07 11:56:13 +01:00
2017-07-24 20:09:52 +02:00
2020-03-14 19:14:34 +01:00
2016-11-02 12:53:58 +01:00
2018-05-31 12:08:22 +02:00
2017-04-11 13:52:19 +09:00
2018-05-02 20:15:10 +02:00
2019-06-23 20:17:47 -04:00
2017-08-01 19:08:16 +02:00
2017-07-28 17:46:43 +02:00
2019-05-17 13:42:42 +02:00
2016-11-05 12:02:19 +01:00
2019-10-15 14:37:54 +02:00
2020-01-01 19:06:30 +01:00
2019-03-27 12:29:45 +01:00
2018-05-31 12:08:22 +02:00
2019-05-17 12:46:16 +02:00
2016-11-05 12:02:19 +01:00
2020-03-14 19:15:00 +01:00
2018-05-02 20:15:10 +02:00
2017-07-21 17:49:10 +02:00
2020-03-18 12:43:35 +01: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
2020-02-10 16:37:34 +01:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2020-03-14 19:53:40 +01:00
2017-03-07 20:25:54 +09:00
2020-03-14 19:53:40 +01:00
2019-03-18 13:16:35 +01:00
2018-06-07 18:43:17 +02:00
2017-07-27 11:38:57 +02:00
2018-07-09 12:07:24 +02:00
2018-07-09 10:25:06 +02:00
2019-08-23 16:18:07 +02:00
2020-03-14 19:53:40 +01:00
2019-07-04 15:14:30 +02:00
2019-03-18 13:13:14 +01:00
2019-10-15 12:11:02 +02:00
2018-12-05 08:13:16 +01:00
2019-12-23 12:44:00 +01:00
2019-07-16 08:32:57 +09:00
2017-03-31 20:07:20 +02:00
2017-07-13 18:29:01 +02:00
2020-03-14 19:15:00 +01:00
2020-03-14 19:53:40 +01:00
2020-03-14 20:07:37 +01:00
2018-07-09 10:24:37 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2019-11-11 12:29:18 +01:00
2017-08-01 19:08:16 +02:00
2020-03-14 20:07:37 +01:00
2020-03-14 19:53:40 +01:00
2020-03-14 19:53:40 +01:00
2018-04-12 17:53:17 +02:00
2019-05-17 12:46:16 +02:00
2016-11-05 12:02:19 +01:00
2020-03-14 19:53:40 +01:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2019-05-17 13:42:42 +02:00
2017-03-07 20:25:54 +09:00
2019-11-29 17:44:12 +01:00
2017-01-23 19:16:55 +01:00
2018-04-12 17:53:17 +02:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01: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:53:40 +01:00
2020-03-14 19:38:09 +01:00
2019-11-29 17:44:12 +01:00
2017-03-30 16:01:52 +02:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-03-08 14:08:49 +01:00
2017-05-10 11:13:03 +09:00
2018-03-26 18:06:43 +02:00
2018-11-05 09:17:03 +01:00
2018-03-26 18:06:43 +02:00
2020-03-14 19:53:40 +01:00
2020-02-10 16:37:34 +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
2018-07-09 10:24:37 +02:00
2019-08-23 11:47:12 +02:00
2018-07-09 10:24:37 +02:00
2020-02-10 15:33:53 +01:00
2016-11-05 12:02:19 +01:00