GPG automated decryption failing

Sameera Salih s.salih at futurepipe.com
Thu Jun 13 09:58:45 CEST 2019


Hello

I am using the below command for automated decryption of PGP files (GNUPG4WIN / Kleoptatra).
echo mypassphrase|gpg --logger-file "D:\FileShare\PGPScripts\SFTP\gpglog.log"  --pinentry-mode loopback --batch --yes --passphrase-fd 0  --decrypt-files "D:\FileShare\Concur\WIP\*.pgp"


However after a certain time period 4 hours or so, it throws the below error. How can I resolve this? Is there a setting to set the passphrase to never expire

public key decryption failed: Bad passphrase
decryption failed: No secret key



Kind regards,

Sameera Salih
Application Analyst - Business Systems

Work:  +971 4 5124833 Test

DISCLAIMER:
This message contains confidential, privileged information intended solely for the addressee. Please do not read, copy, or disseminate it unless you are the addressee. If you have received this message in error, please notify the sender immediately by e-mail and delete the message from your system. 
This e-mail communication is for informational purposes only. No such communication is intended to constitute either an electronic record or an electronic signature, or to constitute any agreement by the sender to conduct a transaction by electronic means. Any such intention or agreement is hereby expressly disclaimed unless otherwise specifically indicated. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Future Pipe Industries Group. 
The recipient should check this email and any attachments for the presence of viruses. Future Pipe Industries Group accepts no liability for any damage caused by any virus transmitted by this email. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190613/a954e089/attachment.html>


More information about the Gnupg-users mailing list