SecKeyGeneratePair fails on iOS 10 Simulators (Status code -34018)

Originator:tyler
Number:rdar://28390354 Date Originated:10/20/2016
Status:Open Resolved:
Product:iOS 10 Simulator Product Version:iOS 10
Classification: Reproducible:Always
 
Area:
Something not on this list

Summary:
When attempting to call SecKeyGeneratePair on the iOS 10 simulator, it returns OSStatus code -34018. When attempting to call the same code on a physical device running iOS 10, it succeeds as normal (Error code 0 returned). This code also works on iOS 9.3.x simulators.

Steps to Reproduce:
Use SecKeyGeneratePair to generate a keypair on a simulator running iOS 10. It will fail every time.

Expected Results:
OSStatus code of 0 returned.

Actual Results:
OSStatus code of -34018 is returned.

Version:
iOS 10 Simulator

Notes:


Configuration:
iOS Simulator running iOS 10

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!