]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: `check_private` failed to account for the length byte before the OID
authorMark Andrews <marka@isc.org>
Wed, 9 Apr 2025 20:05:54 +0000 (20:05 +0000)
committerMark Andrews <marka@isc.org>
Wed, 9 Apr 2025 20:05:54 +0000 (20:05 +0000)
In PRIVATEOID keys, the key data begins with a length byte followed
by an ASN.1 object identifier that indicates the cryptographic algorithm
to use. Previously, the length byte was not accounted for when
checking the contents of keys and signatures, which could have led
to interoperability problems with any zones signed using PRIVATEOID.
This has been fixed.

Closes #5270

Merge branch '5270-fix-check-private' into 'main'

See merge request isc-projects/bind9!10372


Trivial merge