]> git.ipfire.org Git - thirdparty/bind9.git/commit
dnssec-signzone ZSK smooth rollover
authorMatthijs Mekking <matthijs@isc.org>
Tue, 20 Jul 2021 06:17:22 +0000 (08:17 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 11 Aug 2021 13:15:25 +0000 (15:15 +0200)
commit837adb93d3fe6ffad7aa8a7af58718930978545f
treea2fddcf0fb9e6f1dd6d21009138e0d7de5a37ff0
parentefb1f1c5b8ed10a42e193485f183918fef705c7c
dnssec-signzone ZSK smooth rollover

When signing with a ZSK, check if it has a predecessor. If so, and if
the predecessor key is sane (same algorithm, key id matches predecessor
value, is zsk), check if the RRset is signed with this key. If so, skip
signing with this successor key. Otherwise, do sign with the successor
key.

This change means we also need to apply the interval to keys that are
not actively signing. In other words, 'expired' is always
'isc_serial_gt(now + cycle, rrsig.timeexpire)'.

Fix a print style issue ("removing signature by ..." was untabbed).
bin/dnssec/dnssec-signzone.c
bin/tests/system/dnssec/signer/prepub.db.in [new file with mode: 0644]