Skip to content

Failed to validation package signing for 3rd-party workload packs #20381

@WonyoungChoi

Description

@WonyoungChoi

I wonder if there are any policies regarding installing 3rd-party workloads in the dotnet 6.0 sdk.

I am trying to make a third-party workload for providing net6.0-tizen TFM in .NET 6.0. This is very important factor to support the tizen backend of MAUI.

However, If I create the workload manifest files in <dotnet>/sdk-manifests/6.0.100/samsung.net.sdk.tizen directory and try to install workload packs using dotnet workload install tizen, the following error occurs.

Installing pack Samsung.Tizen.Sdk version 6.5.100-rc.1.92...
Workload installation failed, rolling back installed packs...
Rolling back pack Samsung.Tizen.Sdk installation...
Workload installation failed: Failed to validate package signing.

Verifying Samsung.Tizen.Sdk.6.5.100-rc.1.92

Signature type: Repository
  Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
  SHA256 hash: 5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4
  Valid from: 2/16/2021 9:00:00 AM to 5/16/2024 8:59:59 AM

In the following code, I found that only first-party packages are allowed to be downloaded in Windows environment.

return NuGetVerify(nupkgToVerify, out commandOutput) && IsFirstParty(nupkgToVerify);

After all, third party workloads cannot be installed with the workload install command. Of course, it is possible to avoid the download process by downloading all the workload packs in advance. But I want to know the exact policy of the dotnet workload.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions