arduino / mdns-discovery

mdns (bonjour) pluggable discovery
GNU General Public License v3.0
17 stars 6 forks source link

Replace mitchellh/go used for macOS notarization #52

Closed umbynos closed 9 months ago

umbynos commented 9 months ago

An excellent tool named gon was used to perform the notarization. the latest stable release of gon uses the altool command-line utility for notarization: https://github.com/mitchellh/gon/blob/v0.2.5/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

Furthermore, gon was archived.

I switched to https://github.com/Bearer/gon that has included https://github.com/mitchellh/gon/pull/72, hoping the maintainers will take the responsibility of maintaining the project. I added also AC_PROVIDER env var which is mandatory with the new notarytool.

See https://github.com/arduino/tooling-project-assets/issues/359