gpg-rs / gpgme

GPGme bindings for Rust
GNU Lesser General Public License v2.1
83 stars 13 forks source link

Decryption Failed #21

Closed msaket closed 4 years ago

msaket commented 6 years ago

kleo-log.log kleo-log.log kleopatraerrorsnapshot

I have installed gpg4win 3.1.0 version. I installed it on a Windows 2008 R2 and Windows 2012 server. I am trying to decrypt the file using Kleopatra and getting attached error. I have also attached the logs.

Basincally we have an interface, where in we download a file from a Vendor's ftp site, decrypt the file and then process it. To do this I am using an ETL tool called Pentaho. To decrypt the file from with in pentaho I am using gpg4win.

I did following on a Windows 2012 VM server: After my initial installation I run the job from with PDI and everything works fine. After that I kicked off the Pentaho job using a batch file and it worked fine. After that I scheduled the batch file in Windows scheduler and it worked fine. When I kicked off windows scheduler second time it results in error.

Now forget about Pentaho, even if I try to decrypt file directly using Kleopatra (on windows 2012 server) I get attached error. I have attached screenshot of Kleppatra error. When I try to decrypt same file which resides on the server from my local Windows 10 it works fine.

When I decrypt using Kleopatra on server it does not even ask for pass phrase and results in error, where as from my local it asks for pass phrase and completes successfully.

Any help on the matter is highly appreciated.

Thanks, Saket