Skip to content

script: Implement importKey and exportKey operation of Ed448 - #46141

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
kkoyung:ed448-import-export
Jul 1, 2026
Merged

script: Implement importKey and exportKey operation of Ed448#46141
TimvdLippe merged 1 commit into
servo:mainfrom
kkoyung:ed448-import-export

Conversation

@kkoyung

@kkoyung kkoyung commented Jul 1, 2026

Copy link
Copy Markdown
Member

Start adding Ed448 support to WebCrypto API implementation, using the ed448-goldilocks crate.

We use ed448-goldilocks 0.14.0-pre.15 to match the version of the elliptic-curve crate. We will bump it to the next stable release when it is available, along with issue #45823.

This patch implements the importKey and exportKey operations of Ed448, along with the serialization of Ed448 handles in CryptoKey.

Note that some failed WPT tests on wrapping/unwrapping keys appears because they require the sign and verify operations of Ed448, which have not yet been implemented.

Specification: https://wicg.github.io/webcrypto-secure-curves/#ed448
Testing: Covered by WPT tests in WebCryptoAPI/import_export directory
Part-of: #46140

Start adding Ed448 support to WebCrypto API implementation, using the
ed448-goldilocks crate.

ed448-goldilocks 0.14.0-pre.15 is used to match the version of the
elliptic-curve crate. We will bump it to the next stable release when it
is available, along with issue 45823.

This patch implements the importKey and exportKey operations of Ed448,
along with the serialization of Ed448 handles in `CryptoKey`.

Note that some failed WPT tests on wrapping/unwrapping keys appears
because they require the sign and verify operations of Ed448, which have
not yet been implemented.

Specification: <https://wicg.github.io/webcrypto-secure-curves/#ed448>
Testing: Covered by WPT tests in `WebCryptoAPI/import_export` directory
Part-of: 46140
Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
@kkoyung
kkoyung requested a review from gterzian as a code owner July 1, 2026 07:17
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 1, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Jul 1, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 1, 2026
Merged via the queue into servo:main with commit 751a60f Jul 1, 2026
34 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 1, 2026
@kkoyung
kkoyung deleted the ed448-import-export branch August 2, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants