Skip to content

Commit

Permalink
fixup! Implement altool --notarization-info check
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalMMac committed Jun 14, 2019
1 parent 05f5dad commit 9eaeab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ You can authorized this once clicking *Allow* or permenently cliking *Always All

1. Uploads the package to Apple notary service using `xcrun altool --notarize-app --primary-bundle-id "com.github.munki.pkg.munki-kickstart" --username "john.appleseed@apple.com" --password "@keychain:AC_PASSWORD" --file munki_kickstart.pkg`
2. Checks periodicaly state of notatarization process using `xcrun altool --notarization-info <UUID> --username "john.appleseed@apple.com" --password "@keychain:AC_PASSWORD"`
3. If notarization was successful `munki-pkg` staples the package using `xcrun stapler staple munki_kickstart.pkg` .
3. If notarization was successful `munki-pkg` staples the package using `xcrun stapler staple munki_kickstart.pkg`

There is a time delay between successfull upload of a signed package to the notary service and notarization result from the service.
`munki-pkg` checks multiple times if notarization process is done. There is sleep period between each try. Sleep period starts at 5 seconds and increases by increments of 5 (5s, 10s, 10s, etc.).
Expand Down

0 comments on commit 9eaeab4

Please sign in to comment.