We have our program running the gpg.exe command line utility and it has been working fine.
Recently and randomly it produces the following error message.
We are running
gnupg
2.2.17
In Windows 10 (sysinfo attached)
Error message in our programs log file:
173310: Encryption command = "C:\Program Files (x86)\GnuPG\bin\gpg.exe" --compress-algo 1 --cipher-algo cast5 --armor --recipient 78A9B300 --local-user Intellisafe --trust-model always --output KFC_19072019173310793.csv.enc -se KFC_19072019173310793.csv
173334: Encryption result: failed
173334: Encryption failed. Err = Unknown error (run command externally to get more information)
If I then run the command the next day manually from the command line it completes fine with no errors.
Any ideas what this error may be?