]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[CVE-2025-8677] sec: test: Test that DNSSEC validation is aborted on malformed DNSKEY
authorNicki Křížek <nicki@isc.org>
Mon, 5 Jan 2026 13:45:06 +0000 (14:45 +0100)
committerNicki Křížek <nicki@isc.org>
Mon, 5 Jan 2026 13:45:06 +0000 (14:45 +0100)
Create a signed zone file that contains malformed ZSKs with colliding
key tags. The ZSKs don't represent valid ECDSA keys and will cause a
crypto failure when attempting to use them. Sign the zone with KSK, with
the exception of one record which is "signed" with the invalid ZSKs.

Check that the resolver aborts the DNSSEC verification after
encountering the first crypto failure, indicating malformed DNSKEY.

Closes #5343

Merge branch '5343-count-invalid-keys-into-validation-fails-test' into 'main'

See merge request isc-projects/bind9!11425


Trivial merge