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

Support for Ed(X)448 #4264

Open
olegbespalov opened this issue Oct 30, 2024 · 0 comments
Open

Support for Ed(X)448 #4264

olegbespalov opened this issue Oct 30, 2024 · 0 comments
Labels
area: webcrypto enhancement evaluation needed proposal needs to be validated or tested before fully implementing it in k6

Comments

@olegbespalov
Copy link
Contributor

What?

Even though original WebCrypto API doesn't include support of the X448 and Ed448, some of webcrypto implementation does w3c/webcrypto#362

Even WebPlatfrom test suit tests this support, which led us to patch https://github.com/grafana/xk6-webcrypto/blob/main/webcrypto/tests/wpt-patches/WebCryptoAPI__generateKey__failures.js.patch

Draft can be found https://wicg.github.io/webcrypto-secure-curves/

From the Golang's perspective, support it's not so great like #4263 since out of the box there is no support in standard library and not expected in the near future golang/go#29390

In theory, we could use third-party https://github.com/cloudflare/circl which has support of the X448 and Ed448

Why?

Having support of X448 and Ed448 expands usage case for our implementation.

@olegbespalov olegbespalov added enhancement evaluation needed proposal needs to be validated or tested before fully implementing it in k6 labels Oct 30, 2024
@olegbespalov olegbespalov changed the title Support for Ed(X)448 Support for Ed(X)448 Oct 30, 2024
@olegbespalov olegbespalov transferred this issue from grafana/xk6-webcrypto Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: webcrypto enhancement evaluation needed proposal needs to be validated or tested before fully implementing it in k6
Projects
None yet
Development

No branches or pull requests

1 participant