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
Should write verbose messaging about catalog and authenticode checks, even if they fail. Default behavior of PowerShellGet 2.2.5 is to always check both.
Actual behavior
Install-PSResource does not by default check either. There is an -AuthenticodeCheck flag but this will fail if the authenticode check fails.
One proposal is to have the PowerShellGet (compat layer) not authenticode check.
Another is to add a parameter (such as -Force) to continue installing even if authenticode check fails.
Error details
No response
Environment data
All
Version
3.0.23-beta23
Visuals
No response
The text was updated successfully, but these errors were encountered:
alerickson
changed the title
Bug with Get-InstalledScript and Uninstall-Script
Bug with Install-Module failing if authenticode check fails
Feb 9, 2024
Prerequisites
Steps to reproduce
Install-Module -Name newtestmodule -Repository PSGallery -Verbose -Debug
Expected behavior
Should write verbose messaging about catalog and authenticode checks, even if they fail. Default behavior of PowerShellGet 2.2.5 is to always check both.
Actual behavior
Install-PSResource
does not by default check either. There is an-AuthenticodeCheck
flag but this will fail if the authenticode check fails.One proposal is to have the PowerShellGet (compat layer) not authenticode check.
Another is to add a parameter (such as -Force) to continue installing even if authenticode check fails.
Error details
No response
Environment data
Version
3.0.23-beta23
Visuals
No response
The text was updated successfully, but these errors were encountered: