EvotecIT / PSPGP

PSPGP is a PowerShell module that provides PGP functionality in PowerShell. It allows encrypting and decrypting files/folders and strings using PGP.
MIT License
57 stars 21 forks source link

Test-PGP Fails to Validate Signature But GPG4Win Can #17

Open 136205 opened 6 months ago

136205 commented 6 months ago

I am having an issue testing if a gpg file has been signed. I am using PSPGP 0.1.12 Test-PGP and you can see below that the 240216 file tests valid, but the 240223 file doesn't.

FilePath                                                                                            Status Error
--------                                                                                            ------ -----
C:\source\git\CAHCO-PGPFileTransfer\src\app\download\FromKP\240216 Non-Automated Test File.docx.gpg   True
C:\source\git\CAHCO-PGPFileTransfer\src\app\download\FromKP\240223 Non-Automated Test File.docx.gpg  False

But if I open both files using gpg4win application, both are signed in the same way and show that they are validly signed

240216 Non-Automated Test File.docx.gpg image

240223 Non-Automated Test File.docx.gpg image

PrzemyslawKlys commented 2 days ago

Can you try newest version?