grafana/k6

Support for `Ed(X)25519`

Open

Aperta il 30 ott 2024

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)Go (30.564 star) (1537 fork)batch import
area: webcryptoenhancementgood first issuehelp wanted

Descrizione

What?

Even though original WebCrypto API doesn't include support of the Curve25519, but many of webcrypto implementation does https://github.com/w3c/webcrypto/pull/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:

Why?

Seems like support of this Curve25519 is demanded, so having it in k6 makes k6's implementation more attractive and useful for customers.

Guida contributor