bind9/lib
Matthijs Mekking 18dc27afd3 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.
2020-06-02 09:12:47 +02:00
..
bind9 Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
dns Set keytimes appropriately when using kasp 2020-06-02 09:12:47 +02:00
irs Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
isc Clear sock->magic to 0 when destroying a netmgr socket 2020-05-29 19:18:58 +00:00
isccc Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
isccfg Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
ns Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
samples Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
win32/bindevt Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
.gitignore Provide unit test driver 2020-05-21 12:13:01 +02:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
unit-test-driver.sh.in Provide unit test driver 2020-05-21 12:13:01 +02:00