Bug 248980 - [OpenSSL] Ed25519 WebCrypto implementation
Summary: [OpenSSL] Ed25519 WebCrypto implementation
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-08 14:20 PST by Angela
Modified: 2023-03-15 09:52 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angela 2022-12-08 14:20:36 PST
In the implementation of the Curve25519, there are some tests failing in the gtk-wk2 bot. Those are crypto/subtle/ed25519-generate-export-key-raw.html, crypto/subtle/ed25519-generate-key-sing-verify-Curve25519.html, crypto/subtle/ed25519-import-raw-key.html, since it is not implemented.



https://github.com/WebKit/WebKit/pull/5026
rdar://100401588
Comment 1 Philippe Normand 2023-03-15 05:08:11 PDT
http/wpt/crypto/serialize-cryptokey-okp.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_Ed25519.https.any.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_Ed25519.https.any.worker.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_Ed25519.https.any.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_Ed25519.https.any.worker.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any.worker.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.worker.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/eddsa.https.any.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/eddsa.https.any.worker.html [ Failure ]

Implementations needed for:

- CryptoKeyOKP::isPlatformSupportedCurve(NamedCurve) and friends in CryptoKeyOKP.cpp
- CryptoAlgorithmEd25519::platformSign(...) and friends in CryptoAlgorithmEd25519.cpp

See also: https://github.com/WebKit/WebKit/pull/8691
Comment 2 Michael Catanzaro 2023-03-15 09:52:41 PDT
WPE/GTK use libgcrypt, not OpenSSL. See also: bug #216201