-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
What?
Even though original WebCrypto API doesn't include support of the Curve25519, but many of webcrypto implementation does w3c/webcrypto#362
Even WebPlatfrom test suit tests this support, which led us to patch https://github.com/grafana/k6/blob/master/internal/js/modules/k6/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 also looks good since we have packages:
- https://pkg.go.dev/crypto/ed25519@go1.23.2
- https://pkg.go.dev/golang.org/x/crypto@v0.28.0/curve25519
Why?
Seems like support of this Curve25519 is demanded, so having it in k6 makes k6's implementation more attractive and useful for customers.