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

Gatekeeper code signing is broken #423

Open
frankrausch opened this issue Dec 4, 2016 · 9 comments
Open

Gatekeeper code signing is broken #423

frankrausch opened this issue Dec 4, 2016 · 9 comments

Comments

@frankrausch
Copy link

frankrausch commented Dec 4, 2016

I get this message for v2.2.7 (125) on two different computers (one on El Cap 10.11.6, one on Sierra 10.12.1):

screen shot 2016-12-04 at 13 12 46

@sdonovan1985
Copy link

This is normal, if you haven't adjusted security settings. Go to the "Security and Privacy" panel in System Preferences, in the general tab, set "Allow apps downloaded from:" to Anywhere.

@frankrausch
Copy link
Author

Thanks, but I’m afraid this is not great advice for most users. :)
The system setting should never be changed to allow launching unsigned apps globally.

But yeah, since code signing is broken for nvALT at the moment, right-clicking the .app and choosing “Open” does the trick (and circumvents Gatekeeper for just this one app).

@sdonovan1985
Copy link

Ah, that's what you were after! I follow now.

@frankrausch
Copy link
Author

You’re right, I should change the title to reflect that this issue is about Gatekeeper being broken (and that I’m not looking for a workaround).

@frankrausch frankrausch changed the title Gatekeeper: “nvALT.app” can’t be opened because the identity of the developer cannot be confirmed. Gatekeeper code signing is broken Jan 4, 2017
@ttscoff
Copy link
Owner

ttscoff commented Jan 4, 2017 via email

@ksuther
Copy link

ksuther commented Jan 20, 2017

@ttscoff Here's the likely issue:

spctl --verbose=4 --assess --type execute nvALT.app:
/Applications/nvALT.app/: rejected (invalid destination for symbolic link in bundle)

Specifically, there's broken symlinks in Sparkle:

Sparkle.framework//Versions/A/Resources:
lrwxr-xr-x  1 kent  admin     84 Nov  1 12:44 fr_CA.lproj -> /Users/andym/Development/Build Products/Release/Sparkle.framework/Resources/fr.lproj

Sparkle.framework//Versions/A/Resources/fr.lproj:
lrwxr-xr-x  1 kent  admin    84 Nov  1 12:44 fr.lproj -> /Users/andym/Development/Build Products/Release/Sparkle.framework/Resources/fr.lproj

P.S. You might want to update to a newer version of Sparkle.

@ttscoff
Copy link
Owner

ttscoff commented Jan 20, 2017 via email

@ksuther
Copy link

ksuther commented Jan 20, 2017

You can give codesign a shot and see if it comes up with anything:

codesign -vvvvv --deep --strict /Applications/nvALT.app

With the broken symlinks I couldn't get it to run cleanly (presumably it was choking on them), but maybe that'll turn something up.

@ttscoff
Copy link
Owner

ttscoff commented Jan 20, 2017 via email

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

4 participants