-
Notifications
You must be signed in to change notification settings - Fork 43
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
Order of operation for EVS signing, MacOS code signing, MacOS notarization #166
Comments
Looks like you are doing most things right, and the entitlements is the likely culprit. Notarization should not break anything, in fact I know of several projects using this successfully. There are however some potential complications related to what needs to be notarized, e.g. see here: |
Hello @khwaaj. If I am not mistaken, I have to first VMP sign a package first, then OSX sign the package correct? It seems like using the |
Yes, on macOS you should VMP-sign first and code-sign after (on Windows the reverse is true). I'm not familiar with integrating this in |
Closing due to inactivity. |
I have an app that involves streaming DRM capabilities with Spotify using the castLabs build here. Here's the problem I'm currently having:
electron-packager
and have the python EVS script executing as apostPackage
functionmyApp.app
and I'm able to launch it and stream Spotify music with no problems.Then I take it a step further:
osx-sign
forelectron-packager
and include the<key>com.apple.security.cs.disable-library-validation</key> <true/>
entitlement as I'd also be notarizing this later.electron-packager
and it generatesmyApp.app
myApp.app
I get a DRM streaming error and streaming Spotify won't work. (This is a built in error that surfaces after a widevine check)codesign -vvv -strict ./myApp.app
it comes back as "valid on disk" and "satisfies its Designated Requirement"EVS signing signs the top level of
myApp.app
where Electron'sosx-sign
goes in and signs every aspect of the built app. Should I only beosx-sign
ing certain portions of the app? i.e.myApp.app\ Contents/Frameworks/myApp Helper
??Ultimately if I EVS sign and successfully codesign without breaking EVS signing, will the notarization process break the EVS signing?
The text was updated successfully, but these errors were encountered: