mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #2318] [MERGED] Use SerialNumber type for signature timestamps #2947
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#2947
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/2318
Author: @justahero
Created: 7/23/2024
Status: ✅ Merged
Merged: 7/31/2024
Merged by: @djc
Base:
main← Head:sz-serial-number-arithmetic📝 Commits (6)
549cf71Compare timestamps using Serial Number Arithmetics90625dfconformance: Add assertiona195202conformance: Refactor passing of signature timestampsf2dbfdfconformance: Adds tests to check timestamp boundariesa968dccChange signature timestamp fields to SerialNumber44233d4Change visibility of inner NewType value📊 Changes
9 files changed (+180 additions, -29 deletions)
View changed files
📝
conformance/packages/conformance-tests/src/resolver/dnssec/rfc4035/section_5/section_5_3.rs(+72 -1)📝
conformance/packages/dns-test/src/zone_file/signer.rs(+12 -6)📝
crates/proto/src/rr/dnssec/rdata/rrsig.rs(+1 -1)📝
crates/proto/src/rr/dnssec/rdata/sig.rs(+22 -12)📝
crates/proto/src/rr/dnssec/tbs.rs(+3 -3)📝
crates/proto/src/rr/mod.rs(+2 -0)➕
crates/proto/src/rr/serial_number.rs(+56 -0)📝
crates/proto/src/xfer/dnssec_dns_handle.rs(+8 -4)📝
crates/server/src/store/in_memory/authority.rs(+4 -2)📄 Description
This PR adds the
SerialNumberNewType to support Serial Number Arithmetics as defined in RFC 1982. The RRSIG signature timestampsinception&expirationapply arithmetics for comparisons (see RFC 4034, Section 3.1.5).Closes #2312
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.