Provide constant for errSecMissingEntitlement

Originator:keithbsmiley
Number:rdar://30881261 Date Originated:06-Mar-2017 15:43
Status:Duplicate of 17753184 (open) Resolved:
Product:iOS + SDK Product Version:iOS 10.2 SDK
Classification:UI/Usability Reproducible:Always
 
Summary:
errSecMissingEntitlement is an error you can get from the keychain when your entitlements are misconfigured. It would be useful if this constant existed, instead of developers having to decipher what -34018 is.

Steps to Reproduce:
1) Attempt to write an item to a shared keychain with no entitlements

Expected Results:
You get an OSStatus back that is comparable to an existing constant

Actual Results:
You get a number that is not documented and is only known to be errSecMissingEntitlement because of apple developer forum posts.

Version:
iOS 10.2 SDK

Notes:
See https://forums.developer.apple.com/thread/13457#37359 for more details.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!