#23125 closed defect (fixed)
macOS notarization requires new contracts to be signed
Reported by: | taylor.smock | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 23.11 |
Component: | Installer MacOS | Version: | |
Keywords: | macosx | Cc: | Don-vip, stoecker |
Description
It looks like notarization failed on the last tested release ( https://github.com/JOSM/josm/actions/runs/5717310655/job/15518876822 ).
Preparing for notarization Uploading to Apple 2023-08-01 13:10:12.013 *** Error: Notarization failed for 'app/JOSM.zip'. 2023-08-01 13:10:12.014 *** Error: You do not have required contracts to perform an operation. With error code FORBIDDEN_ERROR.CONTRACT_NOT_VALID for id 58628c01-198e-4c80-8a97-35ee758c7208 You do not have required contracts to perform an operation (-19208) { NSLocalizedDescription = "You do not have required contracts to perform an operation. With error code FORBIDDEN_ERROR.CONTRACT_NOT_VALID for id 58628c01-198e-4c80-8a97-35ee758c7208"; NSLocalizedFailureReason = "You do not have required contracts to perform an operation"; } 2023-08-01 13:10:12.014 *** Warning: altool has been deprecated for notarization and starting in late 2023 will no longer be supported by the Apple notary service. You should start using notarytool to notarize your software. (-1030)
It also looks like I need to fiddle with notarytool
to figure out what flags need to be sent as well, but that is something I can do.
Attachments (0)
Change History (12)
comment:1 by , 15 months ago
comment:4 by , 15 months ago
The Apple notarization process seems like it is a headache. I know Stereo was involved (#14117). Would he have the account details?
comment:5 by , 15 months ago
It seems we use Thomas account at FOSSGIS:
https://josm.openstreetmap.de/browser/josm/trunk/native/macosx/macos-jpackage.sh?annotate=blame#L14
We should either contact him to remove 2FA from his account, or ask FOSSGIS to create a new account with appropriate contract for us.
comment:6 by , 13 months ago
@stoecker: Can you add P8AAAGN2AM
to the GitHub secrets? It is the --team-id
parameter for notarytool
, and I'd like to avoid hard-coding it into the workflow. We currently have APPLE_ID
and APPLE_ID_PW
, so APPLE_ID_TEAM
is probably a "good" name. Just let me know what it is so I can use the correct variable in source:trunk/native/macosx/macos-jpackage.sh#L97 .
comment:10 by , 13 months ago
Milestone: | → 23.10 |
---|
What is the contract we use with Apple? I just tried to login with FOSSGIS account but there's 2FA. Somebody received a notification on his phone, is that you Dirk? Or Thomas?