How do you sign a nuget package (.nupkg)

John Earle 50 Reputation points
2024-07-17T17:33:13.4366667+00:00

We currently sign nuget packages using dotnet nuget sign command in the project with 3rd party certificate. How can we sign with Azure Trusted Signing certificate?

Azure Trusted Signing
Azure Trusted Signing
Trusted Signing is a Microsoft fully managed, end-to-end signing solution that simplifies the certificate signing process and helps partner developers more easily build and distribute applications.
153 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marilee Turscak-MSFT 37,141 Reputation points Microsoft Employee
    2024-07-18T00:10:07.9566667+00:00

    Hi @John Earle ,

    The dotnet/Sign project now has a pre-release version with Trusted Signing integration to expand our support to NuGet. https://www.nuget.org/packages/sign/0.9.1-beta.24325.5

    Once this is more stable, we will publish more information on how to use it with Trusted Signing, but I'm also checking internally to see if there is additional documentation I can share with you.

    There was a similar request in Github recently that has an ongoing discussion on this topic. https://github.com/dotnet/sign/issues/683

    If the information helped you, please Accept the answer. This will help us and improve searchability for others in the community who may be researching similar questions.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.