-
Notifications
You must be signed in to change notification settings - Fork 253
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
dotnet nuget verify command is not using the nuget.config #10774
Comments
Related to #10773 |
@aortiz-msft @nkolev92 @kartheekp-ms |
IMHO, I think we should address both because we try to maintain feature parity between |
I'd try to fix both. Given that it's a problem for both, my guess is that the issue is in the shared code anyways. |
I'll try to address too 10111. Considering I need to add tests for both |
Details about Problem
NuGet product used (dotnet.exe):
Product version: 5.9
Worked before? If so, with which NuGet version: n/a
Repro steps and/or sample project
Let we have broken/missing tag in nuget.config file, then
nuget.exe
check it before doing verify but dotnet.exe start doing verify action without checking it. I believe we should check integrity of nuget.config before doing any action since so many logics depend on it.nuget59 verify -all ..\TestSigned\TestSigned.1.0.0.nupkg
NuGet.Config is not valid XML. Path: 'C:\Users\eryondon\source\repos\SigningDemo\nuget.config'.
The 'trustedSigners' start tag on line 15 position 4 does not match the end tag of 'trustedSigner'. Line 21, position 5.
dotnet nuget verify ..\TestSigned\TestSigned.1.0.0.nupkg
error: NU3018: The author primary signature found a chain building issue: UntrustedRoot: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
error:
error: Package signature validation failed.
Verbose Logs
The text was updated successfully, but these errors were encountered: