I've got some admittedly old Objective-C code handling Keychain items protected by Touch ID / Face ID that uses the access control flag kSecAccessControlTouchIDCurrentSet
, accessing the items would fail with errSecItemNotFound
when the user adds or removes a finger/face from the device, however on iOS 15.0 this is not happening. It does work on iOS 14.6 still.
My deployment target is still iOS 11.0 so I haven't moved to kSecAccessControlBiometryCurrentSet
as the replacement for the now deprecated TouchID value - but the enum raw values are the same so I don't see how that could be the cause.
I can't see what the new error code is, because I'm not using Xcode 13, but I'll try and get the DeviceSupport copied in (official support for this is please!)
to help search:
Swift
touchIDCurrentSet
biometryCurrentSet
Objective-C
kSecAccessControlTouchIDCurrentSet
kSecAccessControlBiometryCurrentSet