I am encountering an issue with accessing the system keychain on macOS [macOS 13.6.3]. When running our product, the following error message is logged:
[com.apple.securityd:secitemratelimit] Not internal release, disabling SIRL
[com.apple.securityd:keychain] System Keychain Always Supported set via feature flag to disabled
As a result, our product is unable to access the system keychain, which is impacting functionality.
Note: In many other devices this issue is not seen.
Steps to Reproduce:
- The moment pkg is installed it creates a key in keychain.
- For an affected device
SecItemCopyMatching
is returningerrSecInteractionNotAllowed
Question:
- Is there a way to enable the system keychain access or address the issue with the feature flag being disabled?
- Are there any suggestions or recommendations for handling this case?
Any assistance or guidance on resolving this issue would be greatly appreciated. Thank you in advance for your help.