#Is there a way to code-sign Windows apps using a GH hosted runner?

27 messages · Page 1 of 1 (latest)

night merlin
#

Hey!
I've noticed the official action supports secrets to sign Windows apps similar to Mac apps, is it possible to do this without a self hosted runner / USB based EV / OV token?

spiral vigil
#

If your certificate issuer supports storing the cert in a cloud hsm then yes

night merlin
#

Thank you!

vagrant roost
night merlin
#

@vagrant roost mac signing works for us if you need an example

vagrant roost
#

As tauri installer generation scripts was using signtool instead of azuresigntool

vagrant roost
night merlin
#

Since we use a universal app we had to upload it manually, the action doesn't recognize it by default for some reason

#

cc @spiral vigil, not sure if this is a known issue (re: not recognizing universal app artifacts and uploading them)

#

(fixed the second link)

vagrant roost
#

got it. wouldnt tauri be able to cross compile for both platforms on intel macs as well? Though not execute it. If i remember, we build for both m1 and intel on the same intel runner

night merlin
#

Yeah, you just need to have both toolchains installed

#

Which is the line I linked

vagrant roost
#

cool. we were earlier building with tauri 1.4 which did some braking change to 1.5 for mac signatures.

#

so our sign workflows broke in mac in 1.5

vagrant roost
#

vs individual x86/arm

night merlin
#

That's normal, a universal app is basically two mac binaries for two platforms duct-taped together

#

So it'll be roughly twice the size

#

It's not really one "universal" format that can be executed by both processors natively so much as just a package that can execute the correct binary out of two bundled binaries depending on the current platform

#

A universal binary runs natively on both Apple silicon and Intel-based Mac computers, because it contains executable code for both architectures.

vagrant roost
#

Cool. The universal app is convenient though.

spiral vigil