r-thomson / Nightfall

A macOS menu bar utility for quickly toggling dark mode, written in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't be opened on macOS Monterey 12.0.1

dumazy opened this issue · comments

After upgrading to macOS Monterey 12.0.1 Nightfall can no longer be opened.
The following pop-ups show up when trying:

The application "Nightfall" can't be opened

nightfall-cant-be-opened

"Nightfall" will damage your computer. You should move it to the Bin.

nightfall-will-damage

Thanks for reporting this.

I was able to reproduce this issue with one of my Macs running Catalina, but not from a machine running Monterey. I'll release an updated version as soon as I'm able to identify the cause of the issue.

Yes, I can no longer open this either—tried installing through Brew and direct download.

Sounds like the app has been flagged as malware by Apple.

It seems to be a code signing problem— the codesign utility is showing the error CSSMERR_TP_CERT_REVOKED.

Interestingly, it seems to only affect the Intel version of the app. This is incorrect, both architectures are showing this error

I've adjusted the app's signing here, please let me know if this resolves the problem.

Nightfall.zip

I've adjusted the app's signing here, please let me know if this resolves the problem.

Nightfall.zip

Yes, this version does fix this error for me. Thank you!

Should be fixed in version 2.1.3

@r-thomson faced same issue with version 2.1.3 on intel mac with catalina.

Version 2.1.3 still has signing issues. Gatekeeper is rejecting it because its considered an Ad-hoc signature.
Screen Shot 2021-11-07 at 09 56 57

Version 2.1.3 still has signing issues. Gatekeeper is rejecting it because its considered an Ad-hoc signature.

Gatekeeper will never accept this app because I don't have a Developer ID to sign with (it's not worth the $100/year for me just to distribute a free app).

If there's a better way to configure the signing, please let me know.

Indeed it won't open on MacOS 12.0.1 by default:
Screenshot 2021-11-08 at 15 21 53

However, right-clicking the .app and selecting Open now reveals the usual option to override Gatekeeper. I also had to re-grant screen recording permission.

Screenshot 2021-11-08 at 15 22 07

Thanks Ryan, I love this app!