]> 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 12:18:57 +0000 (14:18 +0200)
commit76ecde48af58ad444a4619b9ff1325e3bbc84bc2
tree38a5e9f2608b04b7dcaa83bbc3016e925df944c7
parent44f36e27633cb3eba0f2687e6e13419789ca0d5f
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.

(cherry picked from commit 844bde0c70bca83f9f46d1b6356804c0a44e9dcd)
lib/dns/include/dns/zone.h
lib/dns/zone.c