Skip to content

A python script to automate macOS software notarization

Notifications You must be signed in to change notification settings

ThomasDebrunner/notarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Notarize

Notarize is a small python script that uses the Apple notarize API to notarize and staple your dmg.

This can be used in a CI pipeline. Notarize invokes the standard apple tools in the background.

What does it do?

  • Upload your dmg to apple notarizations server
  • Check every 30s if notarization is done
  • Staple the receipt to the dmg as soon as notarization is done
  • Fail (non-zero) if any of the steps above fail

Usage

python3 notarize.py --package <> --username <> --password <> --primary-bundle-id <>

Arguments

Argument Description
--package The .dmg file to notarize
--username The apple account username to be used
--password The app-specific password for the user account. Can use @env: or @keychain:
--primary-bundle-id The primary bundle id of your application, as specified in Info.plist

About

A python script to automate macOS software notarization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages