SecTransform API: Sign and verify transforms with key=NULL hang forever

Originator:Karoly.Lorentey
Number:rdar://10394846 Date Originated:04-Nov-2011 02:55 AM
Status:Open Resolved:
Product:Mac OS X Product Version:10.7.2 (11C73)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:

When I call SecSignTransformCreate or SecVerifyTransformCreate with a NULL key value, they apparently successfully create a transformation. However, when executed, these transformations just hang forever without ever returning a result or reporting an error.

Steps to Reproduce:

Run the attached sample project.

Expected Results:

SecSignTransformCreate/SecVerifyTransformCreate should report an invalid parameter error.

Actual Results:

The functions succeed, but SecTransformExecute unexpectedly hangs on the resulting SecTransform object. When I use SecTransformExecuteAsync, its deliveryBlock is never called.

Regression:

Notes:

Duplicates

Number Status Originator Product Title
rdar://10394759 Duplicate/10394846 Karoly.Lorentey Mac OS X SecTransform API: Sign transform silently produces bogus signatures

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!