Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use base16 for DS (de)serialization. #423

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ximon18
Copy link
Member

@ximon18 ximon18 commented Oct 28, 2024

https://rfc-annotations.research.icann.org/rfc4034.html#section-5.3 says "The Digest MUST be represented as a sequence of case-insensitive hexadecimal digits" so use base 16 for the related (de)serialiazation to be consistent with the display format.

https://rfc-annotations.research.icann.org/rfc4034.html#section-5.3 says _"The Digest Type field MUST be represented as an unsigned decimal"_ so use base 16 for the related (de)serialiazation to be consistent with the display format.
@ximon18 ximon18 added breaking A PR that includes a breaking change. needs-review labels Oct 28, 2024
@ximon18 ximon18 requested a review from a team October 28, 2024 12:29
@ximon18 ximon18 marked this pull request as ready for review October 28, 2024 12:34
@ximon18 ximon18 changed the title Use base16 for Ds (de)serialization. Use base16 for DS (de)serialization. Oct 28, 2024
Copy link
Contributor

@bal-e bal-e left a comment

Choose a reason for hiding this comment

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

Looks good! Do we want to add regression tests?

Copy link
Contributor

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

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

Just making @bal-e's approval official (and I approve too)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A PR that includes a breaking change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants