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
No code signature error with the MacOS app bundle #183
Comments
VisualVM is signed. See below:
|
So it is. I ran the commands above with the slightly different options recommended at https://developer.apple.com/library/archive/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG211. Everything passes:
Looking at the details of the error reported by Little Snitch, it seems that it is for a subprocess (90627) of the main one (90522): It looks like the code signature is not valid for the running subprocess:
I found this detailed explanation of another app that had a similar issue, in case it's of any use: |
I am curious, how did you find out that VisualVM is not signed in your original report. It looks like |
VisualVM runs on java, so this subprocess is |
I mistakenly assumed the Little Snitch warning from the attached screenshot meant that the App bundle wasn't signed. After your earlier comment showing that it was, I looked at the details for the warning, and that's when I realized it was actually a running subprocess that was invalid per the signature. Indeed, checking the PID with
I would have thought the app would bundle its own JRE, but perhaps that's not the up-to-date way to bundle Java apps for Mac. It does appear that Corretto is signed:
|
It does not make sense to bundle JDK, when VisualVM itself is 18M application. |
Based on the info above I would suspect that the problem is that Corretto links to some unsigned library. |
Perhaps. I'll see if I can find anything about that. I'll also attach a sample of the subprocess showing what it's linked to. |
Closing until more info is available. |
I'm getting a warning from Little Snitch that a subprocess of VisualVM is not signed:
I downloaded VisualVM from https://github.com/visualvm/visualvm.src/releases/download/2.0/VisualVM_20.dmg
I found this related to packaging and signing Java apps for MacOS: https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/self-contained-packaging.html#BCGJFCAI
I'm on MacOS 10.14.6 (18G3020)
The text was updated successfully, but these errors were encountered: