简体   繁体   中英

iOS: Is secure enclave shared between app extensions?

I am working on a app where a encryption key is saved into the secure enclave. So my question is if this data is also shared with the app extensions, ie Siri / Notification Center widget / Watch App?

I tested this using an App Group shared between the app and the app extension. Following the instructions in Sharing Access to Keychain Items Among a Collection of Apps

SecItemCopyMatching will return an item saved by the app (with kSecAccessControlBiometryCurrentSet set) and queried for within the extension. So it appears the answer is yes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM