rancher-desktop icon indicating copy to clipboard operation
rancher-desktop copied to clipboard

Support signing (& notarization) of existing mac builds.

Open mook-as opened this issue 2 years ago • 2 comments

Problem Description

Currently, our release flow on Windows involves grabbing the existing build from CI (GitHub Actions), and then manually signing it.

On the mac, however, we currently require building the whole thing locally to get the correct signatures.

Proposed Solution

Update the signing script to support mac (including notarization).

mook-as avatar Nov 29 '21 19:11 mook-as

Proposed Solution

Update the signing script to support mac (including notarization).

It is not clear to me what is being proposed here. We will not do the signing and notarization as part of CI because we don't want to supply the signing keys to Github Actions.

What I would like to see is that we can sign the CI builds locally, but don't have to build them on a developer machine.

It is my understanding that this is also how it works on Windows (because the signing key is a physical token, so can run on Github, even if we wanted to).

Should this be the scope of this story?

jandubois avatar Jul 14 '22 21:07 jandubois

This is about the offline manual signing, yes. Currently, we can't sign CI-built things, and have to rebuild from scratch to do the signing on mac; this is in contrast to Windows, where we download the zip file and only rebuild the installer.

That is, after this task is complete, npm run sign -- 'Rancher Desktop-1.99-mac.zip' (or .dmg, whatever) should work.

mook-as avatar Jul 14 '22 22:07 mook-as