Bug 312030

Summary: [CMake] Fix PAL CryptoKit Swift integration for Mac build
Product: WebKit Reporter: pascoe <pascoe>
Component: CMakeAssignee: pascoe <pascoe>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

pascoe@apple.com
Reported 2026-04-11 01:28:03 PDT
PAL CryptoKit wrappers call into Swift via PALSwift-Generated.h. The CMake Mac build generates a CommonCrypto stub covering only hashing. WebCrypto EC/EdDSA/HMAC/HKDF/AES operations hit RELEASE_ASSERT at runtime because CMake Swift language support is not wired up on Mac.
Attachments
pascoe@apple.com
Comment 1 2026-04-12 11:09:03 PDT
pascoe@apple.com
Comment 2 2026-04-12 11:09:11 PDT
*** This bug has been marked as a duplicate of bug 62558 ***
Note You need to log in before you can comment on or make changes to this bug.