-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spec]: add command for verifying signed packages #6005
Comments
A new command is necessary to verify a signed package from the command line. Use "signtool verify /v" as an inspiration. |
In all of our commands we have just 2 verbosity levels, detailed and normal. I'm not saying that's great, in fact I think we should improve it, but we should discuss whether we want to keep the same pattern. |
@nkolev92 nuget docs mention three level of verbosity... here a reference for push command |
I assume you mean cert fingerprint by cert_hash? |
@PatoBeltran Ah, my bad. |
How will verification procedure acquire list of trusted roots? |
@jariq .NET's SignedCms object does the validation that the certificate chains up to a trusted root, therefore the verification procedure just needs to delegate that check to the certificate chain building engine in .NET |
nuget verify signature should show a similar output as signtool.exe. In detailed mode it shows the certificate chain, the signed hash and the timestamp value. eg:
|
This work has been checked into 4.6 codebase. Closing. |
https://github.com/NuGet/Home/wiki/NuGet-Verify-Command
The text was updated successfully, but these errors were encountered: