Skip to content
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

Notarize CoqIDE for macOS >= 10.15 #51

Open
Blaisorblade opened this issue Jul 28, 2020 · 4 comments
Open

Notarize CoqIDE for macOS >= 10.15 #51

Blaisorblade opened this issue Jul 28, 2020 · 4 comments
Labels
platform: macOS Specific to macOS

Comments

@Blaisorblade
Copy link
Contributor

Description of the problem

As described in https://coq.zulipchat.com/#narrow/stream/237656-Coq-devs.20.26.20plugin.20devs/topic/Testing.20the.20signed.20installers.20for.208.2E12.2E0

After installing CoqIDE on Catalina, running it gives:

“CoqIDE_8.12.0.app” can’t be opened because Apple cannot check it for malicious software.
This software needs to be updated. Contact the developer for more information.

There's no visible option to open it anyway, but the usual workaround for unsigned code (right-click + open) seems to work.

IIUC, that warning means that the software is not notarized — that is, submitted for automated review to Apple (this is not the review for the App Store). Notarization is necessary since macOS 10.15 Catalina:

https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution

One can also notarize existing software — I'm not sure if one has to update the released package, or if the notarization can be stored Apple-side.

Coq Version

I verified this for 8.12.0; @TheoWinterhalter verified this for both 8.12.0 and 8.11.1.

@Zimmi48
Copy link
Member

Zimmi48 commented Aug 3, 2020

From the documentation:

Notarization requires Xcode 10 or later. Building a new app for notarization requires macOS 10.13.6 or later. Stapling an app requires macOS 10.12 or later.

This means that using the current VM for signing macOS packages, we cannot notarize them, but we can "staple" them.

I found this software which could be useful for us to automate the whole process and avoid maintaining our own intricate scripts: https://github.com/mitchellh/gon

@Zimmi48 Zimmi48 transferred this issue from coq/coq Dec 24, 2020
@Zimmi48
Copy link
Member

Zimmi48 commented Dec 26, 2020

In addition to the software I mentioned above, there also exists this under-development tool and its corresponding GitHub Action: https://cidertool.github.io/cider/

@Zimmi48
Copy link
Member

Zimmi48 commented Jan 13, 2021

An alternative to notarization is distributing through Apple's App Store. Since we are now doing something similar for Snap, I wonder if it wouldn't make sense to do the same for macOS (and even Windows, with the Windows Store).

@MSoegtropIMC MSoegtropIMC added the platform: macOS Specific to macOS label Sep 25, 2021
@MSoegtropIMC MSoegtropIMC added this to the 2022.09 milestone Mar 21, 2022
@MSoegtropIMC MSoegtropIMC modified the milestones: 2022.09, 2023.03 Sep 29, 2022
@rtetley
Copy link
Collaborator

rtetley commented Jul 12, 2024

Triage note: working on this on the Inria side.

@rtetley rtetley modified the milestones: 2023.03, check feasibility Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: macOS Specific to macOS
Projects
None yet
Development

No branches or pull requests

4 participants