bind9/lib/dns
Mark Andrews ca7355b7d0 Fix OID check for PRIVATEOID keys and signatures
We were failing to account for the length byte before the OID.
See RFC 4034.

   Algorithm number 254 is reserved for private use and will never be
   assigned to a specific algorithm.  The public key area in the DNSKEY
   RR and the signature area in the RRSIG RR begin with an unsigned
   length byte followed by a BER encoded Object Identifier (ISO OID) of
   that length.  The OID indicates the private algorithm in use, and the
   remainder of the area is whatever is required by that algorithm.
   Entities should only use OIDs they control to designate their private
   algorithms.
2025-04-03 23:00:16 +11:00
..
include Add static ede context into each validator layer 2025-04-02 17:32:50 +02:00
rdata Fix OID check for PRIVATEOID keys and signatures 2025-04-03 23:00:16 +11:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
acl.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
acl_p.h Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
adb.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
badcache.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
byaddr.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
cache.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
callbacks.c Convert all categories and modules into static lists 2024-08-20 12:50:39 +00:00
catz.c use new dns_rdatatype classification functions 2025-03-15 00:27:54 +00:00
client.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
clientinfo.c refactor dns_clientinfo_init(); use separate function to set ECS 2023-02-07 23:48:22 -08:00
compress.c remove the 'name_coff' parameter in dns_name_towire() 2025-02-25 12:53:25 -08:00
db.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
db_p.h Remove lock upgrading from the hot path in the cache 2025-03-25 10:57:19 +01:00
dbiterator.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
diff.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
dispatch.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
dlz.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
dlz_p.h Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
dns64.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
dnssec.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
dnstap.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dnstap.proto Update the dnstap protobuf definition 2024-04-26 16:08:46 +03:00
ds.c Remove target buffer from dns_name_downcase() 2025-02-25 12:17:34 +01:00
dst_api.c optimize key ID check when searching for matching keys 2025-03-20 18:22:58 +00:00
dst_internal.h Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
dst_openssl.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
dst_parse.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dst_parse.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
dyndb.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
dyndb_p.h Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
ecs.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ede.c Don't copy EDE codes if source is same as destination 2025-04-02 18:06:52 +02:00
fixedname.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
forward.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
gen.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
geoip2.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
gssapi_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
gssapictx.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
hmac_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ipkeylist.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
iptable.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
journal.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
kasp.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
key.c Don't check DNS_KEYFLAG_NOAUTH 2025-03-25 06:38:25 +00:00
keydata.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
keymgr.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
keystore.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
keytable.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
lib.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
Makefile.am move dns_zonekey_iszonekey() to dns_dnssec module 2025-03-20 18:22:58 +00:00
master.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
masterdump.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
message.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
name.c allow NULL compression context in dns_name_towire() 2025-02-25 12:53:25 -08:00
nametree.c Remove offsets from the dns_name and dns_fixedname structures 2025-02-25 12:17:34 +01:00
ncache.c implicitly declare list elements in ISC_LIST_FOREACH macros 2025-03-31 13:37:47 -07:00
nsec.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
nsec3.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
nta.c Remove offsets from the dns_name and dns_fixedname structures 2025-02-25 12:17:34 +01:00
openssl_link.c Remove unused isc_mutexblock and isc_condition units 2025-03-01 07:33:09 +01:00
openssl_shim.h Move the dst__openssl_toresult to isc_tls unit 2024-08-08 11:59:41 +02:00
opensslecdsa_link.c unify fips handling to isc_crypto and make the toggle one way 2025-02-27 17:37:43 +03:00
openssleddsa_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
opensslrsa_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
order.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
peer.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
private.c Apply more SET_IF_NOT_NULL() changes 2024-12-13 13:52:52 +01:00
probes.d Do not destroy IXFR journal in xfrin_end() 2023-12-20 17:21:14 +01:00
qp.c Remove zero initialization of large buffers 2025-04-02 16:24:31 +02:00
qp_p.h Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
qpcache.c Remove zero initialization of large buffers 2025-04-02 16:24:31 +02:00
qpcache_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
qpzone.c Remove zero initialization of large buffers 2025-04-02 16:24:31 +02:00
qpzone_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
rcode.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
rdata.c Fix OID check for PRIVATEOID keys and signatures 2025-04-03 23:00:16 +11:00
rdatalist.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
rdataset.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
rdatasetiter.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
rdataslab.c Add isc_sieve unit implementing SIEVE-LRU algorithm 2025-03-26 15:36:33 -07:00
remote.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
request.c implicitly declare list elements in ISC_LIST_FOREACH macros 2025-03-31 13:37:47 -07:00
resconf.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
resolver.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
result.c clean up result codes that are never used 2025-01-23 15:54:57 -08:00
rootns.c Simplify name initializers 2025-02-25 12:17:34 +01:00
rpz.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
rriterator.c Remove fixed value for the rrset-order option 2024-12-09 13:09:26 +01:00
rrl.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
sdlz.c use new dns_rdatatype classification functions 2025-03-15 00:27:54 +00:00
skr.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
soa.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
ssu.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
ssu_external.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
time.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tkey.c implicitly declare list elements in ISC_LIST_FOREACH macros 2025-03-31 13:37:47 -07:00
transport.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tsig.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
tsig_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
ttl.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
update.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
validator.c Add static ede context into each validator layer 2025-04-02 17:32:50 +02:00
view.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
xfrin.c implicitly declare list elements in ISC_LIST_FOREACH macros 2025-03-31 13:37:47 -07:00
zone.c use ISC_LIST_FOREACH in more places 2025-03-31 13:45:14 -07:00
zone_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
zoneverify.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
zt.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00