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 QGIS installer on macOS #32167

Open
oole97 opened this issue Oct 8, 2019 · 20 comments
Open

Notarize QGIS installer on macOS #32167

oole97 opened this issue Oct 8, 2019 · 20 comments

Comments

@oole97
Copy link

oole97 commented Oct 8, 2019

Describe the bug

When trying to open QGIS the computer says that it cannot be opened because Apple cannot verify if there is evil software inside. Is it possible to overrule this safety feature?

How to Reproduce

Try to start up QGIS after downloading the new version of QGIS and Mac OS.

QGIS and OS versions

QGIS 3.8 & 3.4
Mac OS Catalina (10.15)

Additional context

Downloaded the new version right on Mac OS Catalina and it won't open again.

@oole97 oole97 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Oct 8, 2019
@PeterPetrik PeterPetrik self-assigned this Oct 9, 2019
@PeterPetrik
Copy link
Contributor

@oole97 I have just upgraded and I can open both 3.8 and 3.4 without a problem.

  • After update you re-installed the QGIS?
  • You should have been asked if QGIS is still trusted, have you clicked OK or Don't Allow?
  • Can you remove QGIS and reinstall it?
  • If nothing helps, can you try commands from https://github.com/qgis/QGIS-Mac-Packager#debugging-tips and attach output?

@PeterPetrik PeterPetrik added the Feedback Waiting on the submitter for answers label Oct 9, 2019
@PeterPetrik
Copy link
Contributor

workaround: you need to right click on open, and then open again this does force open on mac

@oole97
Copy link
Author

oole97 commented Oct 9, 2019

I indeed needed to reinstall. I was using a previous version beforehand. I could not indicate that I trust QGIS. It was automatically blocked.

The workaround indeed works. Thanks for the help!

@PeterPetrik
Copy link
Contributor

@oole97 so after reinstall it was without the wrong certificate error?

@PeterPetrik
Copy link
Contributor

PeterPetrik commented Oct 9, 2019

@PeterPetrik PeterPetrik removed the Feedback Waiting on the submitter for answers label Oct 9, 2019
@PeterPetrik PeterPetrik changed the title QGIS cannot be opened after updating to Mac OS Catalina QGIS cannot be opened after updating to Mac OS Catalina (QGIS is not notarized) Oct 9, 2019
@oole97
Copy link
Author

oole97 commented Oct 9, 2019

This is indeed the sign I got. But with the right click I can open it again.

Maybe it is also possible to work around it by authorizing it in the Security tab in Settings. I have not tried it yet.

@timlinux
Copy link
Member

You can also allow the app in security preferences

@ghost
Copy link

ghost commented Apr 22, 2020

This problem still exists on qgis 3.12, version downloaded 22-Apr-2020, on OSX Catalina 10.15.4.
Error is verification as in PeterPetrik commented on 9 Oct 2019 post.
Note last version that worked for me was 13.8.

@krisfocus
Copy link

Just change it in Security and Privacy -> Allow apps downloaded from -> Apps store and identified developers. It will show QGis has not opened, with an option to open on the side. Click it. It will open

@ghost
Copy link

ghost commented May 28, 2020 via email

@krisfocus
Copy link

Hmm. Interesting. I had download the version today and installed it. Tried the way I said, and it opened fine. Good that it works for you now!

@ghost
Copy link

ghost commented May 28, 2020 via email

@choffa
Copy link

choffa commented Sep 11, 2020

Same issue on MacOS Catalina 10.15.6 using QGIS 3.10. Could open with the force open workaround.

@PeterPetrik PeterPetrik removed the Feedback Waiting on the submitter for answers label Sep 11, 2020
@PeterPetrik PeterPetrik reopened this Sep 24, 2020
@PeterPetrik
Copy link
Contributor

add note to web: https://github.com/qgis/QGIS-Website/pull/809

@PeterPetrik PeterPetrik removed their assignment Oct 6, 2020
@jerr0328
Copy link

I want to point out that users on corporate Macs with MDM might not be able to open QGIS without notarization. I've faced this issue, the ctrl-click (right click) and "Open" trick does not work in this case, and there's no option for opening it in the security settings.

I'm hoping it's not too much to work to get this through the CI process. I'd be happy to help where I can.

@PeterPetrik
Copy link
Contributor

since notarization also requires a bunch of other (stricter) security rules for shared libraries, it may or may not be difficult. I think the task to make notarization happen could be anything between 2 days to 2 weeks of work

@luktomaszewski
Copy link

Hi, are you going to resolve this issue? I know that workaround exists, but my question is if you are going to do in "legit" way?

@PeterPetrik
Copy link
Contributor

QGIS.org granted funds for 2021 to solve this issue. Luckily macOS will cooperate with me and we can solve it in the following months

@PeterPetrik PeterPetrik mentioned this issue Oct 19, 2021
2 tasks
@gioman gioman added Feature Request and removed Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Jan 7, 2022
@gioman gioman changed the title QGIS cannot be opened after updating to Mac OS Catalina (QGIS is not notarized) Notarize QGIS installer on macOS Jan 7, 2022
@jef-n jef-n mentioned this issue Aug 6, 2023
2 tasks
@Smastorm
Copy link

Smastorm commented Aug 6, 2023

The shift+open works as a workaround. Thanks

@lemrm
Copy link

lemrm commented Aug 27, 2023

This workaround nor open in Privacy isn't working for me. Do I have an other option?

Yes, in Terminal sudo spctl --master-disable did the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants