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 COSE algorithm value for ES256K #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pinzolo
Copy link

@pinzolo pinzolo commented May 29, 2023

What is this PR for?

This PR will fix invalid COSE algorithm value.

Overview or reasons

Accoding to IANA CBOR Object Signing and Encryption (COSE) Algorithms Registry, the value of ES256K is -47. But the code defines it as -43.

Tasks

I changed the value in production code and test code, and ran tests.

Result

Tests were success.

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.

None yet

2 participants