]> git.ipfire.org Git - thirdparty/bind9.git/commit
No longer update key lifetime if key is retired
authorMatthijs Mekking <matthijs@isc.org>
Mon, 24 Jun 2024 13:18:40 +0000 (15:18 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 30 Jul 2024 11:38:04 +0000 (13:38 +0200)
commit8ec554e3def96dfda8839d7ef8a4b40b9383a2f6
tree8826c6c87b6d04060860c02ce055c869de302cab
parent7ab4a358202c30cc34c55d234736cbb03cc950b6
No longer update key lifetime if key is retired

The key lifetime should no longer be adjusted if the key is being
retired earlier, for example because a manual rollover was started.

This would falsely be seen as a dnssec-policy lifetime reconfiguration,
and would adjust the retire/removed time again.

This also means we should update the status output, and the next
rollover scheduled is now calculated using (retire-active) instead of
key lifetime.

(cherry picked from commit 129973ebb0deb20405da553f20b5e8cdfe9a0e80)
bin/tests/system/kasp/tests.sh
lib/dns/keymgr.c