bind9/lib
Matthijs Mekking 6879cdca77 Set keytimes appropriately when using kasp
While kasp relies on key states to determine when a key needs to
be published or be used for signing, the keytimes are used by
operators to get some expectation of key publication and usage.

Update the code such that these keytimes are set appropriately.
That means:
- Print "PublishCDS" and "DeleteCDS" times in the state files.
- The keymgr sets the "Removed" and "PublishCDS" times and derives
  those from the dnssec-policy.
- Tweak setting of the "Retired" time, when retiring keys, only
  update the time to now when the retire time is not yet set, or is
  in the future.

This also fixes a bug in "keymgr_transition_time" where we may wait
too long before zone signatrues become omnipresent or hidden. Not
only can we skip waiting the sign delay Dsgn if there is no
predecessor, we can also skip it if there is no successor.

Finally, this commit moves setting the lifetime, reducing two calls
to one.

(cherry picked from commit 18dc27afd3)
2020-06-02 11:34:04 +02:00
..
bind9 change "expr == false" to "!expr" in conditionals 2020-05-25 17:04:04 -07:00
dns Set keytimes appropriately when using kasp 2020-06-02 11:34:04 +02:00
irs Adjust library API versions 2020-05-19 13:57:37 +02:00
isc Clear sock->magic to 0 when destroying a netmgr socket 2020-05-30 07:50:30 +02:00
isccc prep 9.16.3 2020-05-19 13:57:36 +02:00
isccfg Adjust library API versions 2020-05-19 13:57:37 +02:00
ns change "expr == false" to "!expr" in conditionals 2020-05-25 17:04:04 -07:00
samples add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
win32/bindevt Disable MSB8028 warning 2020-04-16 07:56:38 +02:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00