CDPath icon indicating copy to clipboard operation
CDPath copied to clipboard

Update code signature

Open fsackur opened this issue 4 years ago • 1 comments

Hi! This module is still useful.

When installing from the gallery, I get a code signing error and the module is not installed:

> Install-Module -Repository PSGallery cdpath

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): a
PackageManagement\Install-Package : The module 'cdpath' cannot be installed or updated because the authenticode
signature of the file 'cdpath.psd1' is not valid.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:9711 char:34
+ ... talledPackages = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],
   Exception
    + FullyQualifiedErrorId : InvalidAuthenticodeSignature,ValidateAndGet-AuthenticodeSignature,Microsoft.PowerShell.P
   ackageManagement.Cmdlets.InstallPackage

fsackur avatar Apr 26 '21 11:04 fsackur

-SkipPublisherCheck is the provisional solution

Konfekt avatar Sep 02 '21 10:09 Konfekt