grafana / xk6-webcrypto

WIP implementation of the WebCrypto specification for k6
GNU Affero General Public License v3.0
7 stars 4 forks source link

JWK import/export for the ECDH & ECDSA #74

Closed olegbespalov closed 7 months ago

olegbespalov commented 7 months ago

What?

This PR supports the JWK format for the ECDH and ECDSA.

It also migrates existing JWK usages from the third party (github.com/lestrrat-go/jwx) to SDK usage only.

Note: Initially, I had different commits for the EC JWK and Symmetric JWK, but unfortunately, I squashed them :cry: Hopefully, that's still fine, keeping in mind the size of the PR.

Based on: https://github.com/grafana/xk6-webcrypto/pull/69

Why?