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

Can't be opened due to quarantine flag #34

Open
hagedose opened this issue Feb 21, 2023 · 4 comments
Open

Can't be opened due to quarantine flag #34

hagedose opened this issue Feb 21, 2023 · 4 comments

Comments

@hagedose
Copy link

When trying to open the PrefPane, I get this message:
'"EnvPane.prefPane" can't be opened because Apple cannot check it for malicious software.
This software needs to be updated.
Contact the developer for more information.'

Screenshot 2023-02-21 at 09 47 13

What version of EnvPane are you using. Did you download the official release or
did you build it yourself?

Version 0.7, downloaded from GitHub

What version of OS X are you using (or attempting to use) EnvPane on?

Ventura 13.2.1

Did you install EnvPane for the current user only or for all users? I admit,
that's a bit of a trick question.

Current user only

Did you install EnvPane as an administrative user?

Yes

Can you provide relevant system.log messages? You can use the Console
application to get those: Hit Cmd-Space, type Console, hit enter (the Console
app should open), click on system.log on the left, click the search bar at
the top and type Env to filter the list. Copy and paste it below but be sure
to redact any confidential informations such as account names, IP addresses etc.

There is nothing in system.log, probably because the PrefPane isn't loading at all.

@rloomans
Copy link

If you click on "Show in Finder" and then right click on the EnvPane.prefPane file and select "Open" then it will prompt you with a different dialog box that has an "Open" button. Once you press that, the new prefpane will load and it will appear in the sidebar as "Environment Variables".

(What this little dance does behind the scenes is to remove the quarantine flag. Google for more details (eg, https://derflounder.wordpress.com/2012/11/20/clearing-the-quarantine-extended-attribute-from-downloaded-applications/))

@hagedose
Copy link
Author

Thanks! I was actually familiar with all that, but I had only ever used it on "real" applications.

@hschmidt
Copy link
Owner

I think that quirk should at least be documented.

@hschmidt hschmidt reopened this Feb 21, 2023
@hschmidt hschmidt changed the title 0.7 doesn't work on Ventura Can Feb 21, 2023
@hschmidt hschmidt changed the title Can Can't be opened due to quarantine flag Feb 21, 2023
@hschmidt
Copy link
Owner

If you click on "Show in Finder" and then right click on the EnvPane.prefPane file and select "Open" then it will prompt you with a different dialog box that has an "Open" button. Once you press that, the new prefpane will load and it will appear in the sidebar as "Environment Variables".

That workaround doesn't work for me on Monterey.

Ahh sheesh, so I'm just learning about notarization which appears to be required when the bundle is quarantined, which it is when copied out of a quarantined disk image. What a pain in the butt!

https://lapcatsoftware.com/articles/without-notarization.html

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

No branches or pull requests

3 participants