Skip to content

[tsig] Implement deserialization for TSIG Key and Algorithm. - #701

Draft
withjannisNLnetLabs wants to merge 1 commit into
mainfrom
tsig-deserialize
Draft

[tsig] Implement deserialization for TSIG Key and Algorithm.#701
withjannisNLnetLabs wants to merge 1 commit into
mainfrom
tsig-deserialize

Conversation

@withjannisNLnetLabs

Copy link
Copy Markdown
Contributor

This PR adds the capability to parse a TSIG key from YAML. It implements the serde::Deserialize trait for tsig::Key and tsig::Algorithm. Both implementations are behind the serde feature flag.

key:
    name: test.key
    algorithm: hmac-sha256
    secret: "B22jiD30pKL541XsOZ28y+NxbcIRoGqnumH2SFC8QDE="

resolves #695

@withjannisNLnetLabs withjannisNLnetLabs self-assigned this Jul 20, 2026
@withjannisNLnetLabs
withjannisNLnetLabs force-pushed the tsig-deserialize branch 3 times, most recently from ddd9267 to 5abc706 Compare July 20, 2026 13:38
@withjannisNLnetLabs
withjannisNLnetLabs marked this pull request as ready for review July 20, 2026 13:42
Additionally a test containing an example TSIG key (in yaml format)
which validates the functionality.

See issue #695.
@withjannisNLnetLabs
withjannisNLnetLabs marked this pull request as draft August 3, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement file parser for NSD's (and soon Unbound)'s TSIG config-snippet-in-a-file for use in Cascade

1 participant