UNIX error exception: 17

Can anyone explain what this is ?

I am trying to debug our code to trace / correct this error but I don't even know where to start.

I understand it is a security_exception but I dont get much more info to create logs or trace in our code

Replies

Error 17 is almost certainly

EEXIST
.

QA1499 Security Framework Error Codes explains the various errors used by the Security framework. There is, alas, one super-useful factoid missing from that Q&A: you can do the equivalent of

cssmPerror
from Terminal using the
security
tool. For example:
$ security error 100017
Error: 0x000186B1 100017 UNIX[File exists]

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"