NuGet package verification in NugetUpgrader on mac
See original GitHub issueDoes Nuget package verification work on mac currently? nuget sign
and nuget verify
don’t work (and it’s documented here https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-sign and here https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-verify).
My tests to verify package signatures on mac using the NugetFeed
class are failing, but perhaps I need to add the signers to some trusted list?
If package signature verification doesn’t work on Mac, what’s the plan there? Skipping package verification altogether on Mac is probably not the best idea.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
NuGet signed-package verification - .NET CLI
Learn about how NuGet performs signed-package verification using root stores that are valid for code signing and timestamping.
Read more >Install and manage NuGet packages in Visual Studio for Mac
The NuGet Package Manager UI in Visual Studio for Mac allows you to easily install, uninstall, and update NuGet packages in projects and ......
Read more >Signing: re-enable signed package verification on Linux ...
Signature verification will remain disabled on macOS for the foreseeable future. See "macOS status" in dotnet/core#7688 for details.
Read more >macos - Is it possible to find out what version of Nuget I ...
In Visual Studio, use the Help > About Microsoft Visual Studio command and look at the version displayed next to NuGet Package Manager....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are going to default to the more secure option here. This will let users running the tool know that we are not performing the verification, and give them a chance to do any additional checks or make sure they are comfortable running this command. I will update the messaging to explain this a bit more.
The original decision was to default to the secure option, and require the user to specify the
--no-verify
option if needed. This was before we implemented this on net core, where verification is not possible at this time.It seems like we can either update this to not require this flag on the Mac, or to update the documentation. My thought was to continue with the “secure by default” during the development period, and see where nuget was with with full support when we brought this fully online.
@nickgra - have we heard any feedback on this one way or the other?
@jrbriggs - do you have any preference here?