grafana/k6

Support for `Ed(X)25519`

Ouverte

#4 263 ouverte le 30 oct. 2024

 (5 commentaires) (0 réaction) (1 personne assignée)Go (1 537 forks)batch import
area: webcryptoenhancementgood first issuehelp wanted

Métriques du dépôt

Stars
 (30 564 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur