PictoPy icon indicating copy to clipboard operation
PictoPy copied to clipboard

[Bug/Feature] macOS Gatekeeper blocks PictoPy & Homebrew Cask requires Apple Notarization

Open Dotify71 opened this issue 4 weeks ago • 8 comments

Problem Description

When downloading and launching PictoPy on modern macOS versions (including macOS 15 Sequoia), macOS Gatekeeper blocks the application by default with the error:

"Apple could not verify PictoPy is free of malware that may harm your Mac or compromise your privacy." Because of stricter Gatekeeper policies on recent macOS versions, the application is moved directly to the Bin unless the user manually runs xattr -cr in Terminal or unblocks it in System Settings.

Additionally, when attempting to package and distribute PictoPy via official Homebrew (homebrew/cask), Homebrew's automated CI rejected the build:

"Signature verification failed for PictoPy.app: The homebrew/cask tap requires all casks to be signed and notarized by Apple."

Root Cause

Our macOS release builds currently use an ad-hoc signature without an official Apple Developer ID certificate or an Apple Notarization ticket. Because macOS and Homebrew both enforce strict Gatekeeper requirements on downloaded applications, unsigned/unnotarized binaries are blocked.

Proposed Solution

  1. Apple Developer Program Fee Waiver: Since AOSSIE is an established open-source and non-profit organization, Apple provides a 100% free fee waiver for the Apple Developer Program: https://developer.apple.com/support/fee-waiver/

  2. Automate Signing & Notarization in GitHub Actions: Once the organization account is approved, we can update our release workflow (.github/workflows/) with codesign and xcrun notarytool to automatically sign and notarize macOS binaries on every release.

  3. Official Homebrew Distribution: With signed and notarized releases, PictoPy will pass Homebrew's CI checks and can be installed seamlessly via brew install pictopy.

Next Steps

Can the organization admins look into applying for the Apple Developer fee waiver? Once the credentials and secrets are set up, I would be happy to create the PR implementing the automated signing and notarization workflow in GitHub Actions.

Dotify71 avatar Nov 04 '26 09:11 Dotify71

👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)

github-actions[bot] avatar Nov 04 '26 09:11 github-actions[bot]

@Dotify71 can i get this assigned?

RitikaSen27 avatar Nov 04 '26 15:11 RitikaSen27

@RitikaSen27 can u tell me how can u fix this?

Dotify71 avatar Nov 04 '26 16:11 Dotify71

@Dotify71 i want to work on this can you please assign me this issue

swastiksharma45 avatar Nov 05 '26 10:11 swastiksharma45

@Dotify71 I’d update the macOS job in the release workflow to import the Developer ID cert into a temporary keychain, sign with the identity from secrets, notarize via notarytool using an App Store Connect API key, and staple the ticket. Secrets needed: certificate (base64), cert password, signing identity, API key ID/issuer/key, team ID. I can have the PR ready as soon as the admins have the account and secrets set up.

RitikaSen27 avatar Nov 05 '26 10:11 RitikaSen27

Thanks for detailing the approach, @RitikaSen27. That aligns with the plan outlined in the issue description. I opened this issue after researching the failure during macOS testing and Homebrew submission, and I already have the GitHub Actions workflow changes and cask configurations prepared. Right now, the only blocker is waiting for the AOSSIE organization admins to apply for the Apple Developer Program fee waiver and configure the required repository secrets. Once the admins set up the account and secrets, I will open the PR as stated in the issue. Happy to collaborate or have you review once the PR is up :))

Dotify71 avatar Nov 05 '26 14:11 Dotify71

@Dotify71 yeah sure !

RitikaSen27 avatar Nov 05 '26 14:11 RitikaSen27

Thanks for opening this issue, I am in touch and in process with the admins to put up PictoPy in the App Store.

rohan-pandeyy avatar Nov 14 '26 17:11 rohan-pandeyy