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

fix: header alg value in examples #251

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

lukasjhan
Copy link
Member

It closes #250.

NOTE: This bug only affects examples. There is no effect on other library code.

Signed-off-by: Lukas.J.Han <lukas.j.han@gmail.com>
@lukasjhan lukasjhan added the bug An issue with the system 🐛. label Oct 16, 2024
@lukasjhan lukasjhan self-assigned this Oct 16, 2024
@cre8
Copy link
Contributor

cre8 commented Oct 16, 2024

@lukasjhan Just a suggestion: instead of using the string, we could instead reference: https://github.com/lukasjhan/sd-jwt-js/blob/fix/example-header-alg/packages/node-crypto/src/crypto.ts#L31 with ES256.alg.
not required, but it looks cleaner
but I will approve this since it is a valid fix.

@lukasjhan
Copy link
Member Author

Oh, that's a great idea. I almost forgot. I'll update the pr 😀. Thank you

Signed-off-by: Lukas.J.Han <lukas.j.han@gmail.com>
@cre8 cre8 merged commit 974efea into openwallet-foundation:main Oct 16, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue with the system 🐛.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JOSE Verification Fails with ES256 Key in sd-jwt-example
2 participants