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

Conversation

rkreutz
Copy link

@rkreutz rkreutz commented Apr 6, 2023

Hey there, a small suggestion, as per Apple's documentation, 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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant