Skip to content

v1 API: Only allow acceptable hashes when writing signatures #286

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

Merged
merged 1 commit into from
May 22, 2025

Conversation

lubux
Copy link
Member

@lubux lubux commented May 22, 2025

RFC 9580 mandates the use of specific hash algorithms for certain signature algorithms. While the v2 API already enforces these restrictions, this PR ports the same logic to the v1 API to ensure that invalid or non-compliant data cannot be written.

twiss
twiss previously approved these changes May 22, 2025
@lubux lubux force-pushed the feat/v1-api-enforce-signature-hashes branch from b46bfb5 to 01828c8 Compare May 22, 2025 14:06
@lubux lubux force-pushed the feat/v1-api-enforce-signature-hashes branch from 01828c8 to a9af95c Compare May 22, 2025 14:23
@lubux lubux merged commit 3b22d85 into main May 22, 2025
9 checks passed
@lubux lubux deleted the feat/v1-api-enforce-signature-hashes branch May 22, 2025 14:44
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