-
Notifications
You must be signed in to change notification settings - Fork 493
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
Sign dmg on macOS with packager #2946
Conversation
My App works fine before codesign. Details of the error: UPDATE |
Guys here is something to test. USE ONLY FOR TESTING, and this is a temporary link! https://github.com/molnard/WalletWasabi/releases/download/macsign/Wasabi-1.1.10.2.dmg Please test it and let me know ur impressions! Test vectors:
DO NOT FORGET TO REINSTALL THE LATEST STABLE VERSION AFTER TESTING! |
Hi @molnard, No Gatekeeper or any other dialog/error message during the installation. However, after the first right click to Wasabi.app -> Open, the app closes automatically after few seconds. The second time and onwards everything works fine though. Hope this helps. |
On @lontivero mac there is still a popup without the Open button. So I investigated and got this:
|
Just for the record.
|
According to our depenedency-policy (no dependencies) and @MitchellCash's suggestion tomorrow I will try to remove create-dmg dep and use mac's hdiutil. |
Started the preparation of App Store deployment. I will do in a separate PR but what needs to be fixed for that in the APP should be done now.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly questions.
RedirectStandardOutput = true, | ||
})) | ||
{ | ||
process.WaitForExit(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be convenient to check the ErrorCode
before continuing.
Arguments = $"altool --notarization-info \"{uploadId}\" -u \"{appleId}\" -p \"{password}\"", | ||
RedirectStandardError = true, | ||
}); | ||
process.WaitForExit(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here again I would check the ErrorCode
. I know we are checking the standard output but if there is a problem it doesn't make sense to wait those 4 seconds.
@think222 I have sandboxed Wasabi. However now I get: Do you have any idea how to solve this?
entitlements file for executables:
|
I am using: Developer ID Application: zkSNACKs Ltd. (L233B2JQ68) Maybe something to do with this: https://developer.apple.com/library/archive/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW29 |
Opened an issue about this here: https://forums.developer.apple.com/message/401928 |
It doesn't let me see the forums without registration, which it doesn't let me do due to "unkown error", so try to keep us up to date. |
Yes, I did that and it is working. I have also added the thing called sandbox which is also required. Wasabi signed and notarized properly without any issues BUT when try to run it I get this. I am sure it is related to sandboxing. Anyway thx I am open to any idea.
|
…TextMustContainWhitespace to true
…DocMustBeUsedWithInheritingClass to true
I am getting into a serious githell... :D |
It's ok, this PR will have to be broken down to <XXL PRs anyway. So you may want to start with that. |
This PR integrates the mac signing into our existing packager procedure.
Following facts adds complexity and somethings to keep in mind:
After this PR packing procedure will change:
Fixes: #958
Fixes: #2696
Related: #726