[webkit-changes] [WebKit/WebKit] 070a44: Add Key Generation/import/export support for Crypt...
Commit Queue
noreply at github.com
Mon Sep 30 16:52:12 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 070a4485adadd784fdfc346dcbedf7d9b539cf6e
https://github.com/WebKit/WebKit/commit/070a4485adadd784fdfc346dcbedf7d9b539cf6e
Author: Nitin Mahendru <nitinmahendru at apple.com>
Date: 2024-09-30 (Mon, 30 Sep 2024)
Changed paths:
M Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift
M Source/WebCore/PAL/pal/PALSwift/UnsafeOverlays.swift
M Source/WebCore/crypto/cocoa/CryptoAlgorithmEd25519Cocoa.cpp
M Source/WebCore/crypto/cocoa/CryptoKeyOKPCocoa.cpp
Log Message:
-----------
Add Key Generation/import/export support for CryptoKeyOKP(x25519/ed25519) using CryptoKit
https://bugs.webkit.org/show_bug.cgi?id=280195
rdar://136368298
Reviewed by David Kilzer.
Adding CryptoKit implementation of CryptoKeyOKP.
Serialization and Deserialization of SPKI/PKCS8 formats is not available
in CryptoKit so the the WebKit implementation is still used.
* 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/PAL/pal/PALSwift/CryptoKitShim.swift:
(EdKey.generatePrivateKey(_:)):
(EdKey.generatePrivateKeyKeyAgreement(_:)):
(EdKey.privateToPublic(_:priv:)):
* Source/WebCore/PAL/pal/PALSwift/UnsafeOverlays.swift:
* Source/WebCore/crypto/cocoa/CryptoKeyOKPCocoa.cpp:
(WebCore::CryptoKeyOKP::platformGeneratePair):
(WebCore::CryptoKeyOKP::platformCheckPairedKeys):
(WebCore::CryptoKeyOKP::generateJwkX const):
Canonical link: https://commits.webkit.org/284473@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