Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EnclaveModule.swift #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 6, 2023

  1. Update EnclaveModule.swift

    Hey there, a small suggestion, as per [Apple's documentation](https://developer.apple.com/documentation/security/certificate_key_and_trust_services/keys/protecting_keys_with_the_secure_enclave#2930477), you can specify `kSecAttrTokenID: kSecAttrTokenIDSecureEnclave` so that key generation happens inside the Secure Enclave, just an added layer of security, here is the quote from the documentation:
    
    > - A new attribute, kSecAttrTokenID, with the value kSecAttrTokenIDSecureEnclave, indicates that the generation operation should take place inside the Secure Enclave.
    rkreutz authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    e1ec206 View commit details
    Browse the repository at this point in the history