Windows Standalone exe Installer blocked by Windows 10 Defender SmartScreen
Checklist
-
I'm using the latest version of the extension (Run glab --version)- Extension version: glab version 1.24.1 (2022-12-07
-
Operating System and version: Windows 10
Summary
Windows Defender SmartScreen in Windows 10 blocks the execution of the Windows Standalone exe Installer due to "being from another machine"
Steps to reproduce
- Download Windows Standalone exe Installer glab_1.24.1_Windows_x86_64_installer.exe from Releases.
- Execute installer
- Execution of installer is blocked by Windows 10 due to "being from another machine"
What is the current bug behavior?
Installer cannot be executed without allowing it manuually (Installer exe -> Settings -> Security: allow/unblock
What is the expected correct behavior?
Not needing to set the security checkbox on the installer.
Relevant logs and/or screenshots
Possible fixes
I am not an expert on the matter but as far as I understand Windows Defender SmartScreen checks the code signing certificate of an installer for its reputation. Thus, a certificate with a reputation must be used to sign the executable to be trusted by Windows Defender SamrtScreen.
Besides manually unblocking the installer once could disable Windows Defender SmartScreen (not recommended).



