Matthijs Mekking
76cf72e65a
Correctly initialize old key with state file
...
The 'key_init()' function is used to initialize a state file for keys
that don't have one yet. This can happen if you are migrating from a
'auto-dnssec' or 'inline-signing' to a 'dnssec-policy' configuration.
It did not look at the "Inactive" and "Delete" timing metadata and so
old keys left behind in the key directory would also be considered as
a possible active key. This commit fixes this and now explicitly sets
the key goal to OMNIPRESENT for keys that have their "Active/Publish"
timing metadata in the past, but their "Inactive/Delete" timing
metadata in the future. If the "Inactive/Delete" timing metadata is
also in the past, the key goal is set to HIDDEN.
If the "Inactive/Delete" timing metadata is in the past, also the
key states are adjusted to either UNRETENTIVE or HIDDEN, depending on
how far in the past the metadata is set.
2021-02-03 08:36:01 +01:00
..
2021-01-29 12:07:38 +01:00
2020-11-26 20:48:46 +00:00
2020-12-11 10:48:28 +01:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2020-10-05 16:21:21 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-19 10:12:40 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-29 08:22:08 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-25 12:45:47 +01:00
2021-02-03 12:22:33 +11:00
2020-11-25 08:25:29 +11:00
2020-11-11 12:53:23 -03:00
2020-12-23 09:02:11 +01:00
2020-09-29 08:22:08 +02:00
2020-09-14 16:20:40 -07:00
2020-12-23 09:02:11 +01:00
2020-12-23 09:02:11 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-10-28 15:48:58 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-12 10:54:48 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 08:36:01 +01:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2020-09-23 16:09:26 +02:00
2020-09-30 13:24:29 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-26 10:43:59 +01:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2021-01-25 09:19:22 +01:00
2020-09-14 16:20:40 -07:00
2021-01-26 15:01:26 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-10-02 08:41:43 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-12-01 10:46:58 +11:00
2020-09-14 16:20:40 -07:00
2020-12-08 18:36:23 +01:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-11-26 10:43:59 +01:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-11 12:53:23 -03:00
2020-11-11 12:53:23 -03:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-29 10:36:07 +10:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-12-23 09:02:11 +01:00
2020-10-30 00:17:24 +11:00
2021-01-29 12:07:38 +01:00
2021-01-29 12:07:38 +01:00
2020-11-26 10:43:59 +01:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2021-01-28 11:07:03 +11:00
2021-02-03 12:22:33 +11:00