How the plugin interacts with Apple's Secure Enclave
mainThe plugin is implemented entirely in Swift using Apple's CryptoKit framework to interact with the Secure Enclave.
By choosing CryptoKit over the older Security framework, the plugin achieves several advantages for the end-user:
- No special entitlements required: Unlike the Security framework, CryptoKit does not require an Apple Developer Certificate or special entitlements to run, allowing the plugin to be distributed as a simple standalone binary (e.g., via Homebrew).
- Direct Secure Enclave access: It accesses the Secure Enclave directly without the side effects of the Security framework, such as automatically creating entries in the macOS Keychain.
- Simplicity: It avoids the complexity of managing macOS App structures or Keychain-based key lookups.