-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
If you use AuthenticodeCheck parameter on non-Windows it silently passes instead of writing a message to the user that signatures wasn't actually checked.
PSResourceGet/src/code/Utils.cs
Lines 2005 to 2009 in 949c26a
| // Because authenticode and catalog verifications are only applicable on Windows, we allow all packages by default to be installed on unix systems. | |
| if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) | |
| { | |
| return true; | |
| } |
Expected behavior
Write warning/error that parameter isn't supported on non-Windows.Actual behavior
NothingError details
No response
Environment data
n/aVisuals
No response
Reactions are currently unavailable