]> git.ipfire.org Git - thirdparty/bind9.git/commit
Require exact EdDSA key lengths
authorOndřej Surý <ondrej@isc.org>
Mon, 10 Aug 2026 14:39:06 +0000 (16:39 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 12 Aug 2026 10:59:33 +0000 (12:59 +0200)
commitf66840acaa99c5d32346e1be79d87832cecdca41
treef2944c2dc174c0b216ac849614394ff36c61a16a
parent24a7388a5e2c3daec9fcdc685b2f1cd8d5a6d79a
Require exact EdDSA key lengths

A key blob longer than the fixed key size was accepted: the key was
imported from the expected-length prefix and the trailing bytes were
silently ignored.  For a DNSKEY this means two different RDATAs (with
two different key tags) could yield the same key, because nothing after
the import ever looks at the leftover bytes.  Treat any length mismatch
as an invalid key instead.
lib/dns/openssleddsa_link.c