mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #333] [MERGED] Add RecordType::ZERO && RData::ZERO fixing SIG(0) #1375
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#1375
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/333
Author: @bluejekyll
Created: 1/26/2018
Status: ✅ Merged
Merged: 1/26/2018
Merged by: @bluejekyll
Base:
master← Head:fix_sig_0📝 Commits (1)
8f5febeAdd RecordType::ZERO && RData::ZERO fixing SIG(0)📊 Changes
4 files changed (+19 additions, -2 deletions)
View changed files
📝
client/src/rr/dnssec/signer.rs(+2 -2)📝
client/src/serialize/txt/parse_rdata.rs(+1 -0)📝
proto/src/rr/record_data.rs(+10 -0)📝
proto/src/rr/record_type.rs(+6 -0)📄 Description
After merging #329 it was noticed that
SIG(0)compatibility tests started failing. This was due to theSIG(0)signing process relying on theRecordTypebeing set to0. After changingNULLto it's correct type of10, this exposed an erroneous usage ofNULLfor0. There is now an explicitZEROtype to compliment theNULLtype. TheZEROtype will always be0, it will serialize no bytes (or deserialize), i.e. the RData length is0.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.