-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Code signing rejected - unnotarized Developer ID #3828
Comments
I have the same issue after updating to |
Unfortunately, I also updated to OSX 10.14.5 and have the same problem😭 |
You can use electron-notarize but the You can also try to notarize the app manually: https://stackoverflow.com/questions/53112078/how-to-upload-dmg-file-for-notarization-in-xcode |
I also updated to OSX 10.14.5 and then...😂 Here is my solution:Edit file node_modules/electron-osx-sign/sign.js, find function verifySignApplicationAsync, comment section below, and every thing goes right!
That code looks just test the app files, so remove it should be ok, I don't know why...but that fixed my problem... |
Unfortunately, @wildcodeman's solution doesn't works for me. Well, it allows my app to be packaged but when I release and download, I still get the "app cannot be opened" error. This means the app hadn't really been notarized. |
This is a big problem... @wildcodeman solution definitely wont work for any production app, as it is editing the node modules files directly. |
I too now have this issue after doing the update.... -__- not ideal when trying to deploy apps to production... |
Does someone found any fix that's acceptable in production ? |
So I was able to track this a bit. I generated a On macOS 10.14.4:
DMG
On macOS 10.14.5:
The issue seems to be related to the Note that this is not an issue for the |
@martani can you share a screenshot of the message a user sees when they try to open that dmg? |
@Kilian That's the one i'm getting |
On 10.14.5 I tried the same as @martani with a signed + notarized app in a signed+notarized dmg, with the following results:
Where the first three seem as expected, but the third is different and might give more of a clue. I'll look into how electron-builder signs the dmg. |
@mattgogerly to go back to your original issue, this error happens in electron-osx-sign (and thus has nothing to do with electron-builder). The workaround is to disable the gatekeeper assessment, like described here: electron/osx-sign#196 I would suggest to close this issue. The issues @martani, @KASOGIT and I are having are separate issues and I suggest we continue that in #3870. |
Is there an easy way to disable gatekeeper access from electron-builder? |
@raymondjacobson There is now in 20.43.0, set |
@Kilian |
Same problem here. App builded successfully but "App cannot be opened because Apple cannot check if malicious software." |
Here is the good tutorial of @Kilian I did it, the notarizing is ok but I have an error when I launch the app 😕 |
After long search it seems that it's a specific error to Electron-sign-osx but can't determine how to sign app. App is flagged valid but still:
|
@guillaumeduhan yes, you must have an Apple Developer ID certificate to sign the app |
I had the same problem than you. This tutorial resolved some of those problems : https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application/ |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
no
stale[bot] <notifications@github.com>于2019年9月11日 周三23:08写道:
… This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3828?email_source=notifications&email_token=ABQZYV7BXPLA2VUOIJNCP6LQJECVFA5CNFSM4HGECVDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6O2FEI#issuecomment-530424465>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQZYVZ5YAXZHX57CYLUGJ3QJECVFANCNFSM4HGECVDA>
.
|
Hi, I was able to notarize my app (Apple's email confirmed this). But when I try to run it, it gets an error with Code Signing problem.
|
Trick that got me out of this one:
|
Wouldn't everyone have to do this on their macs for it to work for them? I'm trying to sign my app, and notarize it as per the tutorial (https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application/) but when I run:
What have I done wrong? What does this error even mean?
|
@ndtreviv Have you pass this issue? I have the same. And actual notarization step is taking hours and I could not complete it. 10/14/19:
This error appeared before notarization. I used electron-notarization and when it completed I got
However, there were a complication, apple's notarization server was down so it took more than 6h to notarize. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I did get past this in the end. My plist files were ever so slightly incorrect, but I think the main issue was that I had generated my certs using keychain. I ended up going ground-zero on my certs, installing full fat XCode and doing it that way, then it all worked. |
@ndtreviv, could you elaborate on what exactly you did with Xcode? 😰 |
It seems like years ago now (!) but I think I did something like this: https://ioscodesigning.com/generating-code-signing-files/ I Create-d the bottom 5 and went from there. By
The
I exported all my certs into a .p12 file and put it in My
My
|
After following the guide by @Kilian (thanks btw 👍) I've just bumped into a similar issue mentioned above. Notarizing failing with this message:
As far as I understand, Electron builder picks I then tried to configure builder with these env vars:
And made sure I've gotten the correct identities:
So, now I am getting the error in signing:
My environment:
Anyone here managed to get the signing + notarizing to work lately? Cheers! |
Looks like I didn't read the docs carefully, the |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
So do we still need to use In the build step I have:
(should there be a separate But then:
Do I need a provisioningProfile even if I don't want to use the mac app store? |
I'm stuck here ... sorry what do you mean by the |
I followed the instructions in the Electron Documentation and am stuck at the source=Unnotarized Developer ID. |
@alex-drocks did you manage to get rid of the problem? |
@haraldsteinlechner On my virtual Mac, I created a file named appleIdPassword which is required() when osxNotarize executes. Some required steps to do:
That's all I can remember right now and sorry I'm not willing to go back and check exactly what I did. It was a pain in the ass that's for sure. Sorry man this part really sucks but then after its done it just works without more configs. |
thanks you for the response. I managed to notarise using vanilla developer tools but not using electron infrastructure so far. thanks for the hints! |
Version: 20.39.0
Target: platform=darwin arch=x64 electron=4.1.4
I've generated a Developer ID Application certificate using Xcode and I can see it in login on Keychain. When I run electron_builder I get the following error:
I can't seem to find anything about unnotarized IDs with electron-builder, hence this issue. Any ideas how to fix?
The text was updated successfully, but these errors were encountered: