You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merged PR 48312: NuGetPackageDownloader: Only verify signing on windows by default (#47321)
NuGetPackageDownloader: Only verify signing on windows by default (#47321)
Co-authored-by: Noah Gilson <[email protected]>
Co-authored-by: Forgind <[email protected]>
----
#### AI description (iteration 1)
#### PR Classification
Bug fix to ensure package signing verification is only performed on Windows by default.
#### PR Summary
This pull request modifies the `NuGetPackageDownloader` to verify package signing only on Windows by default, with an option to enable it on other operating systems via an environment variable.
- `src/Cli/dotnet/NugetPackageDownloader/NuGetPackageDownloader.cs`: Added logic to conditionally verify package signatures based on the operating system and environment variable. Introduced error handling to delete the package file if verification fails.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
0 commit comments