mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #1145] [MERGED] Fully support *ring* for all DNSSEC operations. #2008
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#2008
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/1145
Author: @bluejekyll
Created: 6/22/2020
Status: ✅ Merged
Merged: 6/23/2020
Merged by: @bluejekyll
Base:
main← Head:fully-support-ring📝 Commits (5)
79a847dadd more debug information to DNSSEC validationc97bd7aupdate ring validation to allow 1024bit keys for all Algorithm typesaec009cdisable dnssec tests in std builds08fc404ensure TrustAnchor is constructed properly in DnsSecSyncClientc298a8eadd key length to DNSKEY display📊 Changes
12 files changed (+169 additions, -69 deletions)
View changed files
📝
crates/async-std-resolver/src/tests.rs(+2 -2)📝
crates/client/src/client/client.rs(+9 -2)📝
crates/client/src/tcp/tcp_client_connection.rs(+4 -4)📝
crates/proto/src/rr/dnssec/public_key.rs(+3 -3)📝
crates/proto/src/rr/dnssec/rdata/dnskey.rs(+16 -0)📝
crates/proto/src/rr/dnssec/rdata/ds.rs(+8 -0)📝
crates/proto/src/rr/dnssec/rdata/mod.rs(+10 -10)📝
crates/proto/src/rr/dnssec/trust_anchor.rs(+11 -0)📝
crates/proto/src/rr/record_data.rs(+20 -20)📝
crates/proto/src/xfer/dnssec_dns_handle.rs(+73 -21)📝
crates/resolver/src/async_resolver.rs(+9 -5)📝
tests/integration-tests/tests/client_tests.rs(+4 -2)📄 Description
testing with
RUST_LOG=trust_dns_proto::xfer::dnssec_dns_handle=debug cargo test --features="dnssec-ring" -- --show-output --ignored --exact async_resolver::tests::test_sec_lookupCurrently the feature
dnssec-ringis not passing, butdnssec-openssldoes. This is not a "simple" issue of a bad algorithm, as most of the records to validate. It's only theexample.com.DS record that fails validation:Where as
dnssec-opensslvalidates properly:thanks to @Darkspirit who resolved this discrepancy between openssl and ring.
I had made a bad assumption that sha256 wasn't being used with 1024 bit keys, but it in fact is. This has been corrected.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.