Post

Replies

Boosts

Views

Activity

Reply to Error errSecItemNotFound retrieving smart card certs (SecItemCopyMatching)
No, this doesn't require to have an app with a CryptoTokenKit app extension installed or any software installed. The strange things is that the same code running in a separate test application retrieves the cert properly. In both cases (the actual app and the test app) Security and SecurityInterface FWs are added to theXCode project and both are notarized In the console app when the cert is retrieved these logs are printed out: debug 22:55:37.310517+0530 ctkd Platform rule matched debug 22:55:37.310595+0530 ctkd Request from: '(null)' to access '' was granted When the cert is not retrieved using the same code in the app nothing is printed out for ctkd. Is it possible that some permissions be affecting this? Thanks
Jun ’22