sign icon indicating copy to clipboard operation
sign copied to clipboard

Signing fails for *.msixbundle when using -rc with trusted-signing

Open kapsiR opened this issue 6 months ago • 1 comments

When using trusted-signing for a *.msix or *.msixbundle with --recurse-containers=false, the signing fails.

Repro steps

  1. Create a new MAUI app
  2. Publish it as a sideloading app package
  3. Try to sign it with --recurse-containers=false (without this it works)

Example: sign code trusted-signing --verbosity Information --trusted-signing-endpoint https://weu.codesigning.azure.net --trusted-signing-account my-account --trusted-signing-certificate-profile myProfile --recurse-containers=false -b "D:\my-base-path\" .\SimpleMauiApp_1.0.0.1_x64.msix

Expected behavior The file should get signed without signing the contents of the container.

Actual behavior

fail: Sign.Core.IDataFormatSigner[0] Signing failed with error -2147024885.

Additional context

sign 0.9.1-beta.25330.2+dc01dca32471b368ad640358778e172d1bd249f9

.NET SDK: Version: 9.0.302 Commit: bb2550b9af Workload version: 9.0.300-manifests.183aaee6 MSBuild version: 17.14.13+65391c53b

Runtime Environment: OS Name: Windows OS Version: 10.0.19045 OS Platform: Windows RID: win-x64

kapsiR avatar Jul 30 '25 13:07 kapsiR

/cc @Foda

kapsiR avatar Jul 30 '25 13:07 kapsiR