Signing fails for *.msixbundle when using -rc with trusted-signing
- Dominant language
- C#
- Stars
- 581
- Forks
- 116
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 8
Description
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
>
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.