]> git.ipfire.org Git - thirdparty/bind9.git/commit
Update key lifetime and metadata after reconfig
authorMatthijs Mekking <matthijs@isc.org>
Mon, 24 Jun 2024 13:14:16 +0000 (15:14 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 30 Jul 2024 11:37:50 +0000 (13:37 +0200)
commit7ab4a358202c30cc34c55d234736cbb03cc950b6
tree2c641c65c98bfa0a297f71a55c4ce9bc8a472328
parent55f79b34b6275e91d47b965fdeb47150fde58038
Update key lifetime and metadata after reconfig

If dnssec-policy is reconfigured and the key lifetime has changed,
update existing keys with the new lifetime and adjust the retire
and removed timing metadata accordingly.

If the key has no lifetime yet, just initialize the lifetime. It
may be that the retire/removed timing metadata has already been set.

Skip keys which goal is not set to omnipresent. These keys are already
in the progress of retiring, or still unused.

(cherry picked from commit 1cec0b04481567e814ee3388f84ecf2daf87f169)
lib/dns/keymgr.c