]> git.ipfire.org Git - thirdparty/bind9.git/commit
Implement digest_sig and digest_rrsig for ZONEMD
authorMark Andrews <marka@isc.org>
Wed, 23 Jun 2021 09:51:51 +0000 (19:51 +1000)
committerMark Andrews <marka@isc.org>
Wed, 5 Mar 2025 07:05:12 +0000 (18:05 +1100)
commit006c5990ce88aa5b5869a6140392ef80f38e415a
tree728d4532e43cc6aed9f66f875aadaf2beb8de760
parent4e68dbf19490e5bdc3f7a1587c17429f8e6bac23
Implement digest_sig and digest_rrsig for ZONEMD

ZONEMD needs to be able to digest SIG and RRSIG records.  The signer
field can be compressed in SIG so we need to call dns_name_digest().
While for RRSIG the records the signer field is not compressed the
canonical form has the signer field downcased (RFC 4034, 6.2).  This
also implies that compare_rrsig needs to downcase the signer field
during comparison.
lib/dns/rdata/generic/rrsig_46.c
lib/dns/rdata/generic/sig_24.c