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

chore: lowercase sha algorithm to be compliant #266

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

cre8
Copy link
Contributor

@cre8 cre8 commented Jan 12, 2025

Closes #264

Renaming SHA-256 to sha-256 to be compliant with iana naming as described in the issue.

I also added the type based on the iana values so autocomplete should warn the user when they use a wrong value and we are checking it during issuance (we do not this during decoding in case the sd jwt was created by another tool, ignoring these rules)

cre8 added 2 commits January 12, 2025 22:37
Signed-off-by: Mirko Mollik <[email protected]>
Copy link
Member

@lukasjhan lukasjhan left a comment

Choose a reason for hiding this comment

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

LGTM, There might be an update burden related to the type. but I think the impact will be very small.

@lukasjhan lukasjhan merged commit 3c85e8e into openwallet-foundation:main Jan 13, 2025
8 checks passed
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.

Hash algorithm names should be written in lower case
2 participants