NuGetKeyVaultSignTool icon indicating copy to clipboard operation
NuGetKeyVaultSignTool copied to clipboard

Tool cannot verify wildcard paths

Open mrlioncub opened this issue 2 years ago • 2 comments

Tool 'nugetkeyvaultsigntool' (version '3.2.3')

>NuGetKeyVaultSignTool verify "test/*.nupkg"

Signature is valid
> NuGetKeyVaultSignTool verify "test/1.nupkg"
The package is not signed.
Finished with 1 errors and 0 warnings.

Signature is invalid
> NuGetKeyVaultSignTool verify "test/2.nupkg"

Signature is valid

mrlioncub avatar Sep 13 '23 05:09 mrlioncub

In addition, a mistyped file path causes the same result. The first two examples are good examples for reference; the third example is a bug.

NuGetKeyVaultSignTool verify /tmp/exists-signed.nupkg
Signature is valid

NuGetKeyVaultSignTool verify /tmp/exists-unsigned.nupkg
The package is not signed.
Finished with 1 errors and 0 warnings.

NuGetKeyVaultSignTool verify /tmp/does-not-exist.nupkg
Signature is valid

thirstyape avatar Mar 19 '25 15:03 thirstyape

I don't know if this is related but on Windows if I use '/' path separators then it doesn't work for me - I have to use '' path separators.

Malcolmnixon avatar Sep 08 '25 18:09 Malcolmnixon