Skip to content

Fix display of SecurityAlgorithm by splitting Display and FromStr macros#657

Draft
tertsdiepraam wants to merge 14 commits into
mainfrom
split-macros
Draft

Fix display of SecurityAlgorithm by splitting Display and FromStr macros#657
tertsdiepraam wants to merge 14 commits into
mainfrom
split-macros

Conversation

@tertsdiepraam

Copy link
Copy Markdown
Contributor

No description provided.

@tertsdiepraam tertsdiepraam changed the title Fix display of SecurityAlgorith by splitting Display and FromStr macros Fix display of SecurityAlgorithm by splitting Display and FromStr macros May 15, 2026
Comment thread src/base/iana/secalg.rs Outdated
);

// We want SecurityAlgorithm to parse from a mnemonic from compatibility with
// some zonefiles, but always print as a number.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you elaborate? Which zone files. I don't see a problem with mnemonics in user input such as config files. But I don't we should parse that in zone files.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#656 See the original PR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize this. I think the goal of the original PR is completely broken and this should be reverted as quickly as possible.

@tertsdiepraam

Copy link
Copy Markdown
Contributor Author

Discussed with @withjannisNLnetLabs. He's gonna fix up the docs and set up some tests for this.

@withjannisNLnetLabs withjannisNLnetLabs self-assigned this May 15, 2026
@withjannisNLnetLabs
withjannisNLnetLabs marked this pull request as draft May 15, 2026 21:57
@withjannisNLnetLabs
withjannisNLnetLabs removed their request for review May 28, 2026 11:18
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.

4 participants