Skip to content

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

@kapsiR

Description

@kapsiR

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:2Work that is important, but not critical for the releasearea-msixRelated to MSIX signingarea-trusted-signingRelated to Trusted Signing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions