Skip to content

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

Closed
@per1234

Description

@per1234

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).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions