]> git.ipfire.org Git - thirdparty/bind9.git/commit
Force full sign to generate new signatures
authorMatthijs Mekking <matthijs@isc.org>
Tue, 19 Aug 2025 10:37:29 +0000 (12:37 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 26 Sep 2025 10:49:23 +0000 (12:49 +0200)
commit844bde0c70bca83f9f46d1b6356804c0a44e9dcd
treef74a2aa9791745178feb54754967bb0242e04645
parent008d3d2a9c0bb807ce392374bcc63a6f79b9d088
Force full sign to generate new signatures

When introducing the kasp logic, a full sign of the zone did not
generate new signatures for the new active keys during a ZSK rollover.

The introduced kasp logic ensured that the rollover is performed
smoothly, as in the signatures are only replaced if the old signature
is close to expiring (depending on the signatures-refresh option).

Fix by maintaining a fullsign boolean value in the signing structure,
that will ensure the RRsets are signed with the correct key, rather
than a similar good key.

In case of a fullsign, we can also remove signatures from inactive
keys.

Remove the unused dns_zone_signwithkey function.
lib/dns/include/dns/zone.h
lib/dns/zone.c