I’m not sure if this is a bug or an undocumented limitation of Keychain.
I use Keychain to store API keys to access web services in scripts I can publish.
- iPad: define call
- iPad: I can retrieve the key value with
- open passwords in Settings,
- the entry for ‘api-key’ is visible with proper value
Keychain.contains('api-key')-> false (unexpected!)
Keychain.get('api-key')>> exception, this one is expected.
- iPhone: set the entry again with Keychain.set()
Keychain.get('api-key')-> key value
This can be reproduced easily and is not limited to first access to the
Did I miss something ?
(running iOS 14)