[webkit-changes] [WebKit/WebKit] 34986d: Use the correct API for generating public key.

Commit Queue noreply at github.com
Mon Sep 30 11:39:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 34986dbe6f18ccb32965d6c8a476c5b49b108c53
      https://github.com/WebKit/WebKit/commit/34986dbe6f18ccb32965d6c8a476c5b49b108c53
  Author: Nitin Mahendru <nitinmahendru at apple.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any.worker-expected.txt
    M Source/WebCore/crypto/cocoa/CryptoKeyOKPCocoa.cpp

  Log Message:
  -----------
  Use the correct API for generating public key.
https://bugs.webkit.org/show_bug.cgi?id=279963
rdar://136282739

Reviewed by David Kilzer.

For CommonCrypto using the correct API depending on X25519/Ed25519 as they both are going to a different path
in the internal implementation.
Updating test expectations as now the import/export tests all pass.

* LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any.worker-expected.txt:
* Source/WebCore/crypto/cocoa/CryptoKeyOKPCocoa.cpp:
(WebCore::CryptoKeyOKP::generateJwkX const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list