[webkit-changes] [WebKit/WebKit] 872281: [WebCryptoAPI] Secure Curves have no namedCurve

youennf noreply at github.com
Tue Feb 21 02:02:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8722815f4f9c461a6853d8bccee66ea0688ebdb0
      https://github.com/WebKit/WebKit/commit/8722815f4f9c461a6853d8bccee66ea0688ebdb0
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/util/helpers.js
    M Source/WebCore/crypto/keys/CryptoKeyOKP.cpp

  Log Message:
  -----------
  [WebCryptoAPI] Secure Curves have no namedCurve
https://bugs.webkit.org/show_bug.cgi?id=252555
rdar://problem/105666277

Reviewed by Chris Dumez.

As per https://wicg.github.io/webcrypto-secure-curves/#ed25519-description, the key algorithm is a simple KeyAlgorithm.
Update code accordingly.
Covered by test change cherry-picked from WPT upstream.

* LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/util/helpers.js:
(assert_goodCryptoKey):
* Source/WebCore/crypto/keys/CryptoKeyOKP.cpp:
(WebCore::CryptoKeyOKP::algorithm const):

Canonical link: https://commits.webkit.org/260599@main




More information about the webkit-changes mailing list