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

Specify the supported hashing algorithms. #126

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Conversation

mikewest
Copy link
Member

@mikewest mikewest commented Oct 7, 2024

Given that we haven't changed the supported algorithms in almost a decade, it seems reasonable to lock them in and define their ordering rather than deferring to the user agent.

If we add new algorithms in the future, this specificity will make it simpler to reason about how those algorithms fit into the system.

This is not strictly an editorial change, as it does introduce new requirements for user agents. Practically, however, it only encodes the status quo, and will not result in any change in existing tests or behavior.

Also: this closes #106 via an adjusted note in a section the patch was touching anyway.


Preview | Diff

Given that we haven't changed the supported algorithms in almost a decade, it
seems reasonable to lock them in and define their ordering rather than
deferring to the user agent.

If we add new algorithms in the future, this specificity will make it
simpler to reason about how those algorithms fit into the system.

This is not strictly an editorial change, as it does introduce new
requirements for user agents. Practically, however, it only encodes the
status quo, and will not result in any change in existing tests or
behavior.

Also: this closes #106 via an adjusted
note in a section the patch was touching anyway.
@mikewest
Copy link
Member Author

mikewest commented Oct 7, 2024

One more you might have time to look at, @mozfreddyb?

@annevk
Copy link
Member

annevk commented Oct 7, 2024

cc @baek9

@mikewest mikewest merged commit abca59a into main Oct 10, 2024
2 checks passed
@mikewest mikewest deleted the specify-algorithms branch October 10, 2024 09:57
github-actions bot added a commit that referenced this pull request Oct 10, 2024
SHA: abca59a
Reason: push, by mikewest

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Second preimage resistance
3 participants