Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardened runtime using hidapi under macOS Catalina #458

Open
jbolduc01 opened this issue May 13, 2020 · 4 comments
Open

Hardened runtime using hidapi under macOS Catalina #458

jbolduc01 opened this issue May 13, 2020 · 4 comments

Comments

@jbolduc01
Copy link

Hello,
I am having trouble to codesign my QT app using macdeployqt using the hidapi project.
Seems like I do not have access to HID device after codesigning my application.
Is anyone ran into this issue? How to solve it?
Thanks,
Jérôme

@todbot
Copy link

todbot commented May 13, 2020

This library isn't being maintained any more, please see #373.
However the solution to your issue is your app needs extra entitlements.
See examples like: https://github.com/UltimateHackingKeyboard/agent/blob/master/scripts/entitlements.mac.plist
But I believe the most important entitlement is
com.apple.security.cs.allow-dyld-environment-variables
See:
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-dyld-environment-variables

@Youw
Copy link

Youw commented May 13, 2020

com.apple.security.cs.allow-dyld-environment-variables

I believe it is not required any more after libusb/hidapi#120

@todbot
Copy link

todbot commented May 13, 2020

Interesting! I will update node-hid and schedule some node-hid & Electron tests. Hopefully this eliminates the need for this entitlement for Electron users too. Thanks!

@jbolduc01
Copy link
Author

Fixes #119 solves my issue on my side. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants