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 fixed length for principal digest #2126

Merged
merged 4 commits into from
Dec 11, 2023
Merged

Conversation

nmattia
Copy link
Collaborator

@nmattia nmattia commented Dec 8, 2023

This updates the way we compute principals to encode the length of the origins & principals in a fixed-length manner. This avoids a whole class of collisions that could be crafted intentionally when using the string representation of the numbers.


🟡 Some screens were changed

This updates the way we compute principals to encode the length of the
origins & principals in a fixed-length manner. This avoids a whole class
of collisions that could be crafted intentionally when using the string
representation of the numbers.
@nmattia nmattia marked this pull request as ready for review December 8, 2023 16:37
@frederikrothenberger frederikrothenberger added this pull request to the merge queue Dec 11, 2023
Merged via the queue into main with commit dee34c9 Dec 11, 2023
57 checks passed
@frederikrothenberger frederikrothenberger deleted the nm-len-fixed branch December 11, 2023 08:53
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.

2 participants