]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commitecbae71fe9a3969e19e84edb071cfd89be9ac1f4
treea442c6f9dd31b566dceb327816568a8cfc54471d
parentbc8799ee178b1b3550f7487c8dc920a9b6c8f814
parentca7355b7d064154a348d81002504b1092bf55937
fix: usr: `check_private` failed to account for the length byte before the OID

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