]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: usr: `check_private` failed to account for the length byte before the OID
authorMark Andrews <marka@isc.org>
Wed, 9 Apr 2025 22:26:50 +0000 (22:26 +0000)
committerMark Andrews <marka@isc.org>
Wed, 9 Apr 2025 22:26:50 +0000 (22:26 +0000)
commit2b827380e75677adecc58dfa8059a1c2f9445afc
tree1ddf8aa101834175aa01250c515e6b8a398c6c30
parent6bf4390f25aea6e099b902b732e9ddc6e6f948ef
parente09eb2ff218dae1b7ac19610ceae680f7735ead0
[9.20] 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

Backport of MR !10372

Merge branch 'backport-5270-fix-check-private-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10376