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

Implement support for the JWK format #37

Closed
2 tasks
Tracked by #3154
oleiade opened this issue Mar 30, 2023 · 0 comments · Fixed by #61
Closed
2 tasks
Tracked by #3154

Implement support for the JWK format #37

oleiade opened this issue Mar 30, 2023 · 0 comments · Fixed by #61
Assignees
Labels
enhancement New feature or request

Comments

@oleiade
Copy link
Member

oleiade commented Mar 30, 2023

The Webcrypto API specification has support for the JWK key serialisation format. However, it is currently not implemented in this extension for a collection of reasons. If those were to be addressed, the implementation of the JWK format would therefore become unblocked.

Blocker Reasons

  • JWK has no official support in the Go standard library: we see it as a security issue not having an officially supported and reviewed implementation available.
  • The test suite depending on JWK, such as import/export depend on the btoa WebAPI function, which is not available in Goja. We could circumvent this issue by implementing an alternative ourselves, but it would take us further from being as close as possible from the original WebPlatform test suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants