Manually Signing export templates

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Paul Mauviel

So I’m currently running a modified version of Godot engine and have noticed that my win64 builds are unsigned with windows popping up the “Windows protected your PC” smart screen prompt.

I think that this signing needs to be done when building the export template?

I’d like to add codesigning to my pipeline to avoid this in the future; though I haven’t found any information on it and am unfamiliar with scons or desktop application signing in general.

Any suggestions, tips, etc? Self-guided links are probably enough; I just haven’t found any information


:bust_in_silhouette: Reply From: Calinou

You can make Godot use signtool (on Windows) and osslsigncode (on all platforms) to sign Windows export templates when exporting them. See Code signing support for Windows exports by bruvzg · Pull Request #32556 · godotengine/godot · GitHub for more information.

Fantastic. I was hoping to find a solution that wouldn’t require an extra manual step post-export. Hopefully this will slot into my build pipeline nicely :slight_smile:

Paul Mauviel | 2020-07-03 18:09