Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated altool used for macOS notarization in Go-based release templates #359

Closed
per1234 opened this issue Jun 15, 2023 · 1 comment · Fixed by #412
Closed

Deprecated altool used for macOS notarization in Go-based release templates #359

per1234 opened this issue Jun 15, 2023 · 1 comment · Fixed by #412
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Jun 15, 2023

This repository hosts several "templates" for continuous deployment systems to be used in Go-based projects. The ones that produce release builds notarize the macOS builds:

An excellent tool named gon is used to perform the notarization.

gon currently uses the altool command-line utility for notarization:

https://github.com/mitchellh/gon/blob/c3afcf0180c2f21feca1a76eb4ffeef59c6197d6/notarize/upload.go#L41

Using altool for notarization is now deprecated by Apple and support for notarization via this tool is scheduled to be disabled 2023-11-01:

https://developer.apple.com/news/?id=y5mjxqmn

🐛 The continuous deployment systems of the projects that use these templates will stop working once Apple drops support for notarization via altool.

At this time, we have three options:

A. Wait for the gon developers to migrate from altool to notarytool: mitchellh/gon#45 / mitchellh/gon#68
B. Allocate resources for one of Arduino's Go developers to contribute the necessary changes to the gon codebase.
C. Change the templates to use some other approach to notarization.

gon has served us very well so I would not recommend option (C).

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Jun 15, 2023
@umbynos umbynos self-assigned this Oct 30, 2023
@umbynos
Copy link
Contributor

umbynos commented Oct 31, 2023

Progress: https://github.com/umbynos/arduino-cli/blob/gon-bye
I used this fork: https://github.com/Bearer/gon that is including this PR. The aforementioned PR has been merged upstream just now. So we can actually stick to gon, the only thing missing is a proper Github release

@per1234 per1234 added the conclusion: resolved Issue was resolved label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
2 participants