You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: Cannot use Temurin to build release artifacts #4242
java-dist: 'zulu'#cannot use temurin, see https://github.com/cryptomator/cryptomator/issues/3824#issuecomment-2829827427
java-version: '25.0.1+8'
java-package: 'jdk'
This is necessary, because signing Temurin builds fails (i.e. #3693). The JDK bug got fixed in JDK 25 and changes were implemented in Temurin JDK 26.
But the install experience is bad: Even though the installer is signed with Microsofts Azure/artifact-signing, it triggers the Smart App Control dialog, indicating that the installer is not trusted.
Important: Microsoft’s registry-based Smart App Control configuration method is intended for testing only. It requires using the Windows Recovery Command Prompt to edit offline registry hives. Do not use this on production machines unless you understand the security impact.
Activity
infeo commentedon Jun 1, 2026
Run https://github.com/cryptomator/cryptomator/actions/runs/26744309908 created a signed installer for testing.
But the install experience is bad: Even though the installer is signed with Microsofts Azure/artifact-signing, it triggers the Smart App Control dialog, indicating that the installer is not trusted.
We need to log an installer run with SAC and analyse it with #3130 (comment)
infeo commentedon Jun 1, 2026
Generated a manual for easier testing:
Source manual:
https://learn.microsoft.com/en-us/windows/apps/develop/smart-app-control/test-your-app-with-smart-app-control#configure-smart-app-control-by-using-the-registry
Why this cannot be fully automated from normal Windows
A single normal PowerShell script cannot safely perform the full configuration because Microsoft’s procedure requires booting into:
Advanced Startup → Troubleshoot → Advanced options → Command Prompt
From there, you edit the offline Windows registry hives:
SYSTEMSOFTWAREThe script below automates the Windows-side preparation and creates a
.cmdfile that you run from the Recovery Command Prompt.Smart App Control mode values
012PowerShell preparation script
Save the following as:
Prepare-SmartAppControlTest.ps1Then run it from an elevated PowerShell window.
Usage examples
Configure Smart App Control enforcement mode
Configure Smart App Control evaluation mode
Configure Smart App Control off mode
Recovery Command Prompt step
After the machine reboots into Advanced Startup:
For enforcement mode:
For evaluation mode:
For off mode:
If the command fails, the Windows drive letter may not be
C:inside the Recovery Command Prompt. You can inspect available drives with:Then rerun the PowerShell preparation script later with the correct drive letter, for example:
Verify Smart App Control state
After restarting into Windows, verify the configured policy state with:
Expected signs:
Friendly NameisVerifiedAndReputableDesktopandIs Currently Enforcedistrue.Friendly NameisVerifiedAndReputableDesktopEvaluationandIs Currently Enforcedistrue.Notes and cautions
manage-bde.infeo commentedon Jun 25, 2026
The bad UX (Windows Smart Screen popup) was verly likely caused by #4260 . This is fixed now, so we can retest.
replace zulu by temurin (#4263)