-
Notifications
You must be signed in to change notification settings - Fork 696
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
Signing: log additional context when root is untrusted on Linux and macOS #5106
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good as far as my signing/verification expertise goes :D
One suggestion for the warning messag.e
src/NuGet.Core/NuGet.Packaging/Signing/TrustStore/CertificateBundleX509ChainFactory.cs
Outdated
Show resolved
Hide resolved
d717fc0
to
c0e482c
Compare
@dtivel - I cloned the repo to review the changes locally but didn't intend to push a commit to your pull request. I clicked on sync or something by mistake in Visual Studio instead of fetch in Git Window. The commits list has only 1 commit which you have authored. Everything is good AFAIK. Sorry for the inconvenience. |
c0e482c
to
7c6440d
Compare
@kartheekp-ms, can you please sign off again? I applied feedback from Nikolche, and that dismissed your approval. |
Bug
Fixes: NuGet/Home#12459
Regression? Last working version: No
Description
This change improves the signed package verification user experience on Linux and macOS when verification fails because a root certificate is untrusted. This change raises a new warning (NU3042) to accompany an existing NU3018/NU3028 warning. The new warning provides actionable information on how to resolve these warnings.
TODO: create the aka.ms link
CC @JonDouglas, @aortiz-msft
PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation