cryptomator icon indicating copy to clipboard operation
cryptomator copied to clipboard

Codesign fails due to skymatic_code-sign-action not being compatible with ARM64

Open purejava opened this issue 9 months ago • 5 comments

Summary

Matrix workflow win-exe.yml does not complete

Please agree to the following

What software is involved?

  • Operating System: GitHub runner-images windows-latest & windows-11-arm

Volume Type

None

Steps to Reproduce

  1. Create a test certificate and include it into the matrix workflow, see https://github.com/purejava/cryptomator/commit/017ff5e9b801e4f5432cc6688fe36c9934fd2efa
  2. Create a new release on GitHub to trigger the win-exe.yml workflow
  3. See is fail in the Codesign step

Expected Behavior

skymatic_code-sign-action should work architecture independently

Actual Behavior

The workflow stops at step Codesign with an error.

Reproducibility

Always

Relevant Log Output

Signing appdir/Cryptomator/Cryptomator.exe.
Signing command: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64/signtool.exe" sign /sm /tr http://timestamp.digi***.com/ /td SHA256 /fd SHA256 /sha1 "014c779e55f7c6c67791a6b97c183b87ca386a23" /d "Cryptomator" appdir/Cryptomator/Cryptomator.exe
Done Adding Additional Store
Number of errors: 1
Process to sign file exited with code 1.
SignTool Error: SignedCode::Sign returned error: 0x800700C1
	For more information, please see https://aka.ms/badexeformat
SignTool Error: An error occurred while attempting to sign: appdir/Cryptomator/Cryptomator.exe
Error: Error: Command failed: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64/signtool.exe" sign /sm /tr http://timestamp.digi***.com/ /td SHA256 /fd SHA256 /sha1 "014c779e55f7c6c67791a6b97c183b87ca386a23" /d "Cryptomator" appdir/Cryptomator/Cryptomator.exe
SignTool Error: SignedCode::Sign returned error: 0x800700C1
	For more information, please see https://aka.ms/badexeformat
SignTool Error: An error occurred while attempting to sign: appdir/Cryptomator/Cryptomator.exe

Anything else?

The certificate is fine. It works with x64, see: https://github.com/purejava/cryptomator/actions/runs/14570009330/job/40865428994

Nevertheless, zulu does not contain a Java variant that runs on ARM64, so temurin was choosen to build the installers for ARM64.

Edit: The content of this issue was changed, as further tests revealed that it was not the change to temurin, that broke Codesign, but the code sign action does not work on ARM64

purejava avatar Apr 21 '25 11:04 purejava

This cannot be changed due to signing issues. (as seen in the build log by the failed signing tool)

Already known since https://github.com/cryptomator/cryptomator/issues/3693

The assumption is that we are signing an already signed file. It might work if we remove the signature before Hand with signtool remove /s C:\path\to.exe.or.dll

infeo avatar Apr 21 '25 18:04 infeo

Thanks @infeo for pointing me to the origin of this, the explanation and the potential way to get this to work.

purejava avatar Apr 22 '25 04:04 purejava

Ok, first, I re-checked with signtool, which dll and exe files in appdir are signed:

Using signtool: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-console-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-console-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-datetime-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-debug-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-errorhandling-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l2-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-handle-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-heap-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-interlocked-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-libraryloader-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-localization-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-memory-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-namedpipe-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processenvironment-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processthreads-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processthreads-l1-1-1.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-profile-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-rtlsupport-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-string-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-synch-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-synch-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-sysinfo-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-timezone-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-util-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-conio-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-convert-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-environment-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-filesystem-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-heap-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-locale-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-math-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-multibyte-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-private-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-process-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-runtime-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-stdio-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-string-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-time-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-utility-l1-1-0.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\decora_sse.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\glass.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\javafx_font.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\javafx_iio.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140_1.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140_2.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_common.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_d3d.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_sw.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\ucrtbase.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\vcruntime140_1.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\vcruntime140.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\server\jvm.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-console-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-console-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-datetime-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-debug-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-errorhandling-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-fibers-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-fibers-l1-1-1.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l2-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-handle-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-heap-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-interlocked-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-kernel32-legacy-l1-1-1.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-libraryloader-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-localization-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-memory-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-namedpipe-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processenvironment-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processthreads-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processthreads-l1-1-1.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-profile-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-rtlsupport-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-string-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-synch-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-synch-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-sysinfo-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-sysinfo-l1-2-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-timezone-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-util-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-conio-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-convert-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-environment-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-filesystem-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-heap-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-locale-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-math-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-multibyte-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-private-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-process-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-runtime-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-stdio-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-string-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-time-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-utility-l1-1-0.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\awt.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\fontmanager.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\freetype.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\instrument.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\java.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javaaccessbridge.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javajpeg.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jawt.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jimage.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jli.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jsound.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\lcms.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\management_ext.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\management.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\mlib_image.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\msvcp140.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\net.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\nio.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\prefs.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\splashscreen.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\sunmscapi.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\syslookup.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\ucrtbase.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\vcruntime140_1.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\vcruntime140.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\verify.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\windowsaccessbridge-64.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\zip.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\Cryptomator.exe
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\jnidispatch.dll
❌ NOT signed: D:\a\cryptomator\cryptomator\appdir\jar-extract\integrations-win-1.3.0\integrations.dll
✅ Signed: D:\a\cryptomator\cryptomator\appdir\wixhelper.dll

Then I removed the signature from wixhelper.dll - see below - but the following Codesign step failed with the same error as before.

$AppDir = "appdir"
  $WixHelperPath = Join-Path $AppDir "wixhelper.dll"
  # Find signtool
  $SignTool = Get-ChildItem "C:\Program Files (x86)\Windows Kits\10\bin\" -Recurse -Filter signtool.exe |
    Where-Object { $_.FullName -like "*x64*" } |
    Select-Object -First 1 -ExpandProperty FullName
  
  if (-not $SignTool) {
    Write-Error "signtool.exe not found!"
    exit 1
  }
  
  Write-Host "Using signtool: $SignTool"
  
  # Remove signature from wixhelper.dll if it exists
  if (Test-Path $WixHelperPath) {
    Write-Host "Removing signature from wixhelper.dll"
    & $SignTool remove /s "$WixHelperPath" 2>&1
    if ($LASTEXITCODE -ne 0) {
      Write-Host "⚠️ Failed to remove signature from wixhelper.dll (possibly not signed)"
    }
  } else {
    Write-Host "⚠️ wixhelper.dll not found at expected path: $WixHelperPath"
  }
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    JAVA_DIST: temurin
    JAVA_VERSION: 23.0.2+7
    WINFSP_MSI: https://github.com/winfsp/winfsp/releases/download/v2.0/winfsp-2.0.23075.msi
    WINFSP_UNINSTALLER: https://github.com/cryptomator/winfsp-uninstaller/releases/latest/download/winfsp-uninstaller.exe
    LOOPBACK_ALIAS: cryptomator-vault
    WIN_CONSOLE_FLAG: 
    OPENJFX_JMODS_AMD64: https://download2.gluonhq.com/openjfx/23.0.1/openjfx-23.0.1_windows-x64_bin-jmods.zip
    OPENJFX_JMODS_AMD64_HASH: ee176dcee3bd78bde7910735bd67f67c792882f5b89626796ae06f7a1c0119d3
    JAVA_HOME: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\23.0.2-7\x64
    JAVA_HOME_23_X64: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\23.0.2-7\x64
Using signtool: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe
Removing signature from wixhelper.dll

Successfully committed changes to the file: D:\a\cryptomator\cryptomator\appdir\wixhelper.dll


Number of errors: 0

Removing all signatures:

Using signtool: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-console-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-console-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-datetime-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-debug-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-errorhandling-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l2-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-handle-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-heap-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-interlocked-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-libraryloader-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-localization-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-memory-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-namedpipe-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processenvironment-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processthreads-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processthreads-l1-1-1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-profile-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-rtlsupport-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-string-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-synch-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-synch-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-sysinfo-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-timezone-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-util-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-conio-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-convert-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-environment-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-filesystem-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-heap-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-locale-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-math-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-multibyte-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-private-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-process-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-runtime-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-stdio-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-string-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-time-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-utility-l1-1-0.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\decora_sse.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\glass.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\javafx_font.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\javafx_iio.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140_1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140_2.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_common.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_d3d.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_sw.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\ucrtbase.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\vcruntime140_1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\vcruntime140.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\server\jvm.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-console-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-console-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-datetime-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-debug-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-errorhandling-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-fibers-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-fibers-l1-1-1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l2-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-handle-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-heap-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-interlocked-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-kernel32-legacy-l1-1-1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-libraryloader-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-localization-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-memory-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-namedpipe-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processenvironment-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processthreads-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processthreads-l1-1-1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-profile-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-rtlsupport-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-string-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-synch-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-synch-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-sysinfo-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-sysinfo-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-timezone-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-util-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-conio-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-convert-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-environment-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-filesystem-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-heap-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-locale-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-math-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-multibyte-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-private-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-process-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-runtime-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-stdio-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-string-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-time-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-utility-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\awt.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\fontmanager.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\freetype.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\instrument.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\java.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javaaccessbridge.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javajpeg.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jawt.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jimage.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jli.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jsound.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\lcms.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\management_ext.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\management.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\mlib_image.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\msvcp140.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\net.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\nio.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\prefs.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\splashscreen.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\sunmscapi.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\syslookup.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\ucrtbase.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\vcruntime140_1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\vcruntime140.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\verify.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\windowsaccessbridge-64.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\zip.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\Cryptomator.exe
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\jnidispatch.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\jar-extract\integrations-win-1.3.0\integrations.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\wixhelper.dll

unfortunately does not help either. The error stays exactly the same.

We'll have to look further.

purejava avatar Apr 24 '25 12:04 purejava

For zulu it looks like this:

Using signtool: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-console-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-console-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-datetime-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-debug-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-errorhandling-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-file-l2-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-handle-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-heap-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-interlocked-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-libraryloader-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-localization-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-memory-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-namedpipe-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processenvironment-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processthreads-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-processthreads-l1-1-1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-profile-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-rtlsupport-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-string-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-synch-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-synch-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-sysinfo-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-timezone-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-core-util-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-conio-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-convert-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-environment-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-filesystem-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-heap-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-locale-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-math-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-multibyte-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-private-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-process-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-runtime-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-stdio-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-string-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-time-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\api-ms-win-crt-utility-l1-1-0.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\decora_sse.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\glass.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\javafx_font.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\javafx_iio.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140_1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140_2.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\msvcp140.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_common.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_d3d.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\prism_sw.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\ucrtbase.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\vcruntime140_1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javafx\vcruntime140.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\server\jvm.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-console-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-console-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-datetime-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-debug-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-errorhandling-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-fibers-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-file-l2-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-handle-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-heap-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-interlocked-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-libraryloader-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-localization-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-memory-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-namedpipe-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processenvironment-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processthreads-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-processthreads-l1-1-1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-profile-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-rtlsupport-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-string-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-synch-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-synch-l1-2-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-sysinfo-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-timezone-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-core-util-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-conio-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-convert-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-environment-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-filesystem-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-heap-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-locale-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-math-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-multibyte-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-private-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-process-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-runtime-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-stdio-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-string-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-time-l1-1-0.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\api-ms-win-crt-utility-l1-1-0.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\awt.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\crexec.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\fontmanager.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\freetype.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\instrument.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\java.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javaaccessbridge.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javajpeg.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jawt.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jimage.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jli.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jsound.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\lcms.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\management_ext.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\management.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\mlib_image.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\msvcp140.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\net.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\nio.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\prefs.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\splashscreen.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\sunmscapi.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\syslookup.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\ucrtbase.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\vcruntime140_1.dll
✅ Signature removed: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\vcruntime140.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\verify.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\windowsaccessbridge-64.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\zip.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\Cryptomator.exe
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\jnidispatch.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\jar-extract\integrations-win-1.3.0\integrations.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\wixhelper.dll

Differences, compared to temurin, are:

ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\server\jvm.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\awt.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\crexec.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\fontmanager.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\freetype.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\instrument.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\java.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javaaccessbridge.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\javajpeg.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jawt.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jimage.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jli.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\jsound.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\lcms.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\management_ext.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\management.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\mlib_image.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\net.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\nio.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\prefs.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\splashscreen.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\sunmscapi.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\syslookup.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\verify.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\windowsaccessbridge-64.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\Cryptomator\runtime\bin\zip.dll
ℹ️ Not signed, skipping: D:\a\cryptomator\cryptomator\appdir\wixhelper.dll

purejava avatar Apr 24 '25 14:04 purejava

I did approach the problem from a different direction and downloaded the two created Cryptomator.exe files created by temurin and zulu.

Feeeding them alone (no other dll or exe involved) to the signtool shows:

Temurin:

PS C:\Users\Ralph Plawetzki\Desktop> signtool sign /debug /td SHA256 /fd SHA256 /sha1 "42348148C0B94BE64B5660E5BC4B82C6ED1872BF" /d "Cryptomator" /f cert.pfx /p cert .\Cryptomator-temurin.exe

The following certificates were considered:
    Issued to: Test Code Signing Certificate
    Issued by: Test Code Signing Certificate
    Expires:   Fri Apr 24 18:43:26 2026
    SHA1 hash: 42348148C0B94BE64B5660E5BC4B82C6ED1872BF

After EKU filter, 1 certs were left.
After expiry filter, 1 certs were left.
After Hash filter, 1 certs were left.
After Private Key filter, 1 certs were left.
The following certificate was selected:
    Issued to: Test Code Signing Certificate
    Issued by: Test Code Signing Certificate
    Expires:   Fri Apr 24 18:43:26 2026
    SHA1 hash: 42348148C0B94BE64B5660E5BC4B82C6ED1872BF


The following additional certificates will be attached:
Done Adding Additional Store
SignTool Error: SignedCode::Sign returned error: 0x800700C1
        For more information, please see https://aka.ms/badexeformat
SignTool Error: An error occurred while attempting to sign: .\Cryptomator-temurin.exe

Number of files successfully Signed: 0
Number of warnings: 0
Number of errors: 1

Zulu:

PS C:\Users\Ralph Plawetzki\Desktop> signtool sign /debug /td SHA256 /fd SHA256 /sha1 "42348148C0B94BE64B5660E5BC4B82C6ED1872BF" /d "Cryptomator" /f cert.pfx /p cert .\Cryptomator-zulu.exe

The following certificates were considered:
    Issued to: Test Code Signing Certificate
    Issued by: Test Code Signing Certificate
    Expires:   Fri Apr 24 18:43:26 2026
    SHA1 hash: 42348148C0B94BE64B5660E5BC4B82C6ED1872BF

After EKU filter, 1 certs were left.
After expiry filter, 1 certs were left.
After Hash filter, 1 certs were left.
After Private Key filter, 1 certs were left.
The following certificate was selected:
    Issued to: Test Code Signing Certificate
    Issued by: Test Code Signing Certificate
    Expires:   Fri Apr 24 18:43:26 2026
    SHA1 hash: 42348148C0B94BE64B5660E5BC4B82C6ED1872BF


The following additional certificates will be attached:
Done Adding Additional Store
Successfully signed: .\Cryptomator-zulu.exe

Number of files successfully Signed: 1
Number of warnings: 0
Number of errors: 0
PS C:\Users\Ralph Plawetzki\Desktop>

So it's the exe itself, created by jpackage, that has a problem.

Googling with this knowledge, I found this: it's a know bug, but not yet fixed by temurin: https://github.com/adoptium/adoptium-support/issues/1244 https://bugs.openjdk.org/browse/JDK-8326447

purejava avatar Apr 25 '25 09:04 purejava