Does anyone know the default value of the kSecAttrAccessible
attribute for iOS keychain items (see reference)? I'm just now upgrading an app to use stricter security, and I'm curious about how accessible my old keychain items–which didn't specify the kSecAttrAccessible
key-value pair–are.
Update: As of a few years ago, the default is now kSecAttrAccessibleWhenUnlocked
.
According to the Session 209 (Securing Application Data) video from last year's WWDC, the existing data defaults to kSecAttrAccessibleAlways
(so you'll need to update the accessibility class as necessary).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With