NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
301 stars 99 forks source link

Make ldns_calc_keytag() available for CDNSKEY RR #246

Closed tgreenx closed 2 months ago

tgreenx commented 2 months ago

Initial work copied from https://github.com/NLnetLabs/ldns/pull/187, which was inadvertently closed when its author deleted his GitHub account.

Original PR description:

Hi, while working on CDS/CDNSKEY in Zonemaster I realized LDNS does not allow calling ldns_calc_keytag() on a CDNSKEY resource record (which is identical to a DNSKEY resource record).

wtoorop commented 2 months ago

Thanks @tgreenx (and ghost previously). This looks just fine. I'll merge and credit both you and ghost ;)