Library does no longer work when loaded from a hardened command line program

Hi,

I use a 3rd party protection library whose aim is to check if a dongle with the right credential is plugged.

If the library is loaded from a not hardened program, it works well - I mean, returns true if the right dongle is plugged, else false.

If the library is loaded from a hardened program, it is loaded BUT always return false - as if it could not access/read the dongle (I've not checked the system log up to now).

Might it be that the hardening prevent access to dongle?

Is there a entitlement which might help?

TIA,

J.

Is there a entitlement which might help?

It’s hard to say without knowing what’s going wrong. Have you raised this issue with the library’s vendor? Adding random entitlements to your product is not a great choice, so the best option here is to contact the library’s vendor to see what entitlements they recommend.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Library does no longer work when loaded from a hardened command line program
 
 
Q