On 12 Jun 2014, at 8:57, David Hislop wrote:

> These changes didn't fix the problem but at least showed that 
> SecItemImport was returning errSecAddinLoadFailed. On a hunch, I 
> changed both &type and &format to pass the "unknown" enum and that 
> fixed the problem.
>
> […] I have no idea why this was a problem for me and not for others.

What OS are you using?

And you’re correct about the errors you found, I’ll get that fixed, 
thanks!
OS X 10.8.5

regards - David