mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[PR #3329] [MERGED] Change MessageSigner to use 64-bit timestamp #3750
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#3750
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/3329
Author: @divergentdave
Created: 10/24/2025
Status: ✅ Merged
Merged: 10/25/2025
Merged by: @djc
Base:
main← Head:david/message-signer-64-bit-timestamp📝 Commits (1)
41de424Change MessageSigner to use 64-bit timestamp📊 Changes
6 files changed (+17 additions, -17 deletions)
View changed files
📝
crates/proto/src/dnssec/signer.rs(+5 -2)📝
crates/proto/src/dnssec/tsig.rs(+3 -4)📝
crates/proto/src/op/message.rs(+2 -2)📝
crates/proto/src/udp/udp_client_stream.rs(+1 -2)📝
crates/proto/src/xfer/dns_multiplexer.rs(+1 -2)📝
tests/integration-tests/tests/integration/sqlite_zone_handler_tests.rs(+5 -5)📄 Description
This makes the change I described in https://github.com/hickory-dns/hickory-dns/pull/3311#discussion_r2462176455, fixing some TODOs. We should be using a wider type here because TSIG signatures have 48-bit timestamps. Truncation to 32 bits should only be done when signing with SIG(0).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.