Closed Bug 1978314 Opened 23 days ago Closed 20 days ago

[wpt-sync] Sync PR 53863 - WebCryptoAPI: Add the 'y' component of ECC keys in another JWK import key test

Categories

(Core :: DOM: Web Crypto, task, P4)

task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 53863 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/53863
Details from upstream follow.

Anna Weine <anna.weine@mozilla.com> wrote:

WebCryptoAPI: Add the 'y' component of ECC keys in another JWK import key test

See https://github.com/web-platform-tests/wpt/pull/51915

Component: web-platform-tests → DOM: Web Crypto
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 12 tests and 454 subtests ## Status Summary ### Firefox `OK` : 12 `PASS`: 4412 `FAIL`: 2004 ### Chrome `OK` : 12 `PASS`: 4484 `FAIL`: 1932 ### Safari `OK` : 12 `PASS`: 4484 `FAIL`: 1932 ## Links [GitHub PR Head](https://wpt.fyi/results/?sha=315949853b3d5d6b14b8ec5afa73cdbeec35ed33&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=315949853b3d5d6b14b8ec5afa73cdbeec35ed33&label=pr_base) ## Details ### Firefox-only Failures * [/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.html](https://wpt.live/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.html) [[wpt.fyi](https://wpt.fyi/results/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.html)] * Invalid 'use' field: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits]): `FAIL` * [/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.worker.html](https://wpt.live/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.worker.html) [[wpt.fyi](https://wpt.fyi/results/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.worker.html)] * Invalid 'use' field: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits]): `FAIL` * [/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.html](https://wpt.live/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.html) [[wpt.fyi](https://wpt.fyi/results/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.html)] * Invalid 'use' field: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign]): `FAIL` * [/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.worker.html](https://wpt.live/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.worker.html) [[wpt.fyi](https://wpt.fyi/results/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.worker.html)] * Invalid 'use' field: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign]): `FAIL` * [/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.worker.html](https://wpt.live/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.worker.html) [[wpt.fyi](https://wpt.fyi/results/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.worker.html)] * Invalid key pair: importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid key pair: importKey(jwk(private), Ed25519, true, [sign, sign]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: Ed25519}, true, [sign, sign]): `FAIL` * Invalid 'use' field: importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid 'use' field: importKey(jwk (public) , Ed25519, true, [verify]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid 'use' field: importKey(jwk (public) , {name: Ed25519}, true, [verify]): `FAIL` * Invalid 'crv' field: importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid 'crv' field: importKey(jwk (public) , Ed25519, true, [verify]): `FAIL` * Invalid 'crv' field: importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid 'crv' field: importKey(jwk (public) , {name: Ed25519}, true, [verify]): `FAIL` * Invalid 'alg' field 'ed25519': importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid 'alg' field 'ED25519': importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid 'alg' field 'ed25519': importKey(jwk (public) , Ed25519, true, [verify]): `FAIL` * Invalid 'alg' field 'ED25519': importKey(jwk (public) , Ed25519, true, [verify]): `FAIL` * Invalid 'alg' field 'ed25519': importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid 'alg' field 'ED25519': importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid 'alg' field 'ed25519': importKey(jwk (public) , {name: Ed25519}, true, [verify]): `FAIL` * Invalid 'alg' field 'ED25519': importKey(jwk (public) , {name: Ed25519}, true, [verify]): `FAIL` * [/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.html](https://wpt.live/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.html) [[wpt.fyi](https://wpt.fyi/results/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.html)] * Invalid key pair: importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid key pair: importKey(jwk(private), Ed25519, true, [sign, sign]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: Ed25519}, true, [sign, sign]): `FAIL` * Invalid 'use' field: importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid 'use' field: importKey(jwk (public) , Ed25519, true, [verify]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid 'use' field: importKey(jwk (public) , {name: Ed25519}, true, [verify]): `FAIL` * Invalid 'crv' field: importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid 'crv' field: importKey(jwk (public) , Ed25519, true, [verify]): `FAIL` * Invalid 'crv' field: importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid 'crv' field: importKey(jwk (public) , {name: Ed25519}, true, [verify]): `FAIL` * Invalid 'alg' field 'ed25519': importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid 'alg' field 'ED25519': importKey(jwk(private), Ed25519, true, [sign]): `FAIL` * Invalid 'alg' field 'ed25519': importKey(jwk (public) , Ed25519, true, [verify]): `FAIL` * Invalid 'alg' field 'ED25519': importKey(jwk (public) , Ed25519, true, [verify]): `FAIL` * Invalid 'alg' field 'ed25519': importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid 'alg' field 'ED25519': importKey(jwk(private), {name: Ed25519}, true, [sign]): `FAIL` * Invalid 'alg' field 'ed25519': importKey(jwk (public) , {name: Ed25519}, true, [verify]): `FAIL` * Invalid 'alg' field 'ED25519': importKey(jwk (public) , {name: Ed25519}, true, [verify]): `FAIL` * [/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.html](https://wpt.live/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.html) [[wpt.fyi](https://wpt.fyi/results/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.html)] * Invalid key pair: importKey(jwk(private), X25519, true, [deriveKey]): `FAIL` * Invalid key pair: importKey(jwk(private), X25519, true, [deriveBits, deriveKey]): `FAIL` * Invalid key pair: importKey(jwk(private), X25519, true, [deriveBits]): `FAIL` * Invalid key pair: importKey(jwk(private), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: X25519}, true, [deriveKey]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: X25519}, true, [deriveBits, deriveKey]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: X25519}, true, [deriveBits]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits]): `FAIL` * Invalid 'use' field: importKey(jwk(private), X25519, true, [deriveKey, deriveBits]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits]): `FAIL` * [/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.worker.html](https://wpt.live/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.worker.html) [[wpt.fyi](https://wpt.fyi/results/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.worker.html)] * Invalid key pair: importKey(jwk(private), X25519, true, [deriveKey]): `FAIL` * Invalid key pair: importKey(jwk(private), X25519, true, [deriveBits, deriveKey]): `FAIL` * Invalid key pair: importKey(jwk(private), X25519, true, [deriveBits]): `FAIL` * Invalid key pair: importKey(jwk(private), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: X25519}, true, [deriveKey]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: X25519}, true, [deriveBits, deriveKey]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: X25519}, true, [deriveBits]): `FAIL` * Invalid key pair: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits]): `FAIL` * Invalid 'use' field: importKey(jwk(private), X25519, true, [deriveKey, deriveBits]): `FAIL` * Invalid 'use' field: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits]): `FAIL` (See attachment for full changes)
Status: NEW → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: