Skip to content

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

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

[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 2 times, most recently from 52ce10d to ddd9267 Compare July 20, 2026 13:15
Additionally a test containing an example TSIG key (in yaml format)
which validates the functionality.

See issue #695.
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