mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-23 10:15:00 +02:00
053dbc16dff644b4354dca9ec986eeaa97cd8ee6
ProtoRrsig is used to produce the data that is signed. According to RFC 4034, this serialization begins with the first rdata field which is type_covered, however ProtoRrsig is inserting a length at the beginning. As such, signatures produced by SortedRecords::sign() are invalid. Fix this by removing that length from the serialization.
domain – A DNS library for Rust
A library for interacting with the Domain Name System. The crate contains an ever-growing set of building blocks for including DNS functionality in applications.
Currently, these blocks include:
- basic data structures and functionality for creating and parsing DNS data and messages,
- support for signing and verifying messages using the TSIG mechanism,
- experimental support for reading data from DNS master files (also known as zone files),
- experimental and as yet incomplete support for DNSSEC signing and validation,
- a simple Tokio-based stub resolver.
If you have ideas, requests, or proposals for future features, please don’t hesitate to open Github issues.
Licensing
The domain crate is distributed under the terms of the BSD-3-clause license. See the LICENSE file for details.
Languages
Rust
100%