Skip to content

Security

Ken Harris edited this page Sep 4, 2020 · 4 revisions

There's a framework called "Security". It's been around since Apple printed documentation in Garamond. It's a plain C framework, so it's terrible pretty much everywhere.

One particularly nasty (undocumented) bug: since macOS 10.13, if you call SecItemCopyMatching, it causes all Keychain notifications to stop being emitted. So you can query your data, or you can observe when it changes, but not both.

According to this page, SecKeychainFindGenericPassword in macOS 10.15 can cause multi-second delays, and Apple said that applications should not use this function. No word on other Security.framework functions.

Clone this wiki locally