]> git.ipfire.org Git - thirdparty/bind9.git/commit
Return the maximum permitted KASP key tag
authorMark Andrews <marka@isc.org>
Mon, 10 Aug 2026 04:13:16 +0000 (14:13 +1000)
committerMark Andrews <marka@isc.org>
Tue, 11 Aug 2026 04:33:57 +0000 (14:33 +1000)
commiteb509b62146113586dfd5d95f3d0b4601aba5dab
treec2606031b10ec3105e1afca7c114f66bb3f11ab4
parent8e40f0b39f9d0423a265157f792f501e7d6a8436
Return the maximum permitted KASP key tag

DNSSEC tools read the minimum tag for both bounds of a policy's key tag
range, so generated keys could be accepted outside the configured
range. Return the correct bound and assert the collision check's range
contract so invalid bounds fail instead of disabling validation.
bin/dnssec/dnssectool.c
lib/dns/kasp.c