-
Notifications
You must be signed in to change notification settings - Fork 99
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
Add a tool to notarize macOS package for Catalina #316
Comments
Hi team, In this commit c639837 I added new functions to sign the code, sign the installer, notarize it and include the ticket in the package. To do all these tasks you need to run the script as follows: $ sudo ./generate_wazuh_packages.sh -b v3.10.2 -j 4 --keychain "/Path/to/keychain" \
--keychain-password "password" \
--application-certificate "Developer ID Application certificate name" \
--installer-certificate "Developer ID Installer certificate name" \
--notarize --developer-id "your-developer-id@email.com" \
--altool-password "temporary-password" If you run the script without the paramater Now, we must test the package to check if something got broken after enabling the hardened runtime capability. Regards. |
Hi team, I've been testing the installation of the package and checking if the binaries work fine after enabling the hardened runtime feature. The installation and the default configuration worked well, but after doing more testing, I found that if you monitor your "home" directory in macOS with syscheck ( To solve this issue, I've created an Here you can see the commit: 13cc72b. With these changes, no more messages requesting access to directories where found, but,
In addition, I added a "timestamp" to the request ID of the notarization process. This will avoid errors in our CI system if we need to rebuild a package. Regards. |
Hi team, No further issues have been found related to the building and notarization process of the package. In addition, in this commit c95ee21 I added some documentation about the notarization process. I will open a PR to close this issue. Regards. |
Hi team,
With the release of macOS Catalina, every installer distributed outside of the App Store must be notarized by Apple before its distribution.
The following tasks must be done before closing this issue:
codesign
and enable hardened runtime.productsign
.xcode altool
.Regards.
The text was updated successfully, but these errors were encountered: