Created attachment 194839 [details] Kleopatra/GnuPG successfully decrypts a file but does not create the output file when using the standard decrypt function. Product: Kleopatra (Gpg4win 5.1.0) Operating System: Windows Issue: Kleopatra reports successful decryption but no output file is created after clicking "Save All". Expected behaviour: - Decrypt .gpg file - Create decrypted .RPT file in selected output folder Actual behaviour: - Kleopatra displays: "Decrypted and verified '<filename>.gpg' as '<filename>.RPT'" - Clicking "Save All" closes the dialog - No .RPT file is created - No error message is displayed Additional information: - This workflow has been used successfully every business day for over 2years. - The issue started recently after an update. The same behaviour occurs with both new files and historical encrypted files that previously decrypted successfully. The same behaviour occurs when saving to: - Network share folders - Local folder C:\Temp - Verified write permissions by manually creating files in the destination folder. - Audit log does not report decryption failure. - Audit log contains: "gpg: Can't check signature: No public key" but decryption is reported as successful. Example message shown by Kleopatra: "Decrypted and verified '<filename>.gpg' as '<filename>.RPT'" No output file is present after Save All completes.
Setting the product to kleopatra
Please check whether, after decryption but before saving, the decrypted file exists in the folder %LOCALAPPDATA%/Temp/kleopatra-XXXXXX with some random letters XXXXXX.
(In reply to Ingo Klöcker from comment #2) > Please check whether, after decryption but before saving, the decrypted file > exists in the folder %LOCALAPPDATA%/Temp/kleopatra-XXXXXX with some random > letters XXXXXX. Hi, Checked the folder path as mentioned above and NO the decrypted file doesn't exist in the folder.
Thanks for checking. Meanwhile we have been able to confirm to problem. See https://dev.gnupg.org/T8399 for progress. As workaround for the problem you can add the line compatibility-flags no-partial-file-guard to the file %APPDATA%/gnupg/gpg.conf . If the file doesn't exist then create it. This should fix the problem.
Thank you. We have implemented a workaround using a batch/PowerShell decryption script and are able to continue processing files using this for now. Could you please let me know when a permanent fix for this issue is available? Also, I was unable to access the bug-tracking link that was provided. Would you be able to advise how I can monitor the progress of this bug or receive updates on it? Thanks
(In reply to Neha from comment #5) > Thank you. We have implemented a workaround using a batch/PowerShell > decryption script and are able to continue processing files using this for > now. > > Could you please let me know when a permanent fix for this issue is > available? > > Also, I was unable to access the bug-tracking link that was provided. Would > you be able to advise how I can monitor the progress of this bug or receive > updates on it? Thanks
Hi Team, do you have an update on this? The file is still not saving anywhere after decrypting it.
The problem has been fixed but there hasn't been a new release of Gpg4win including this fix yet.
*** Bug 525113 has been marked as a duplicate of this bug. ***
Hi Team, Can you please confirm when the new version of Gpg4win is going to release? Thanks
I cannot tell you when the new version of Gpg4win is going to be released. Gpg4win is not released by KDE but by g10 Code GmbH. You'll have to watch gpg4win.org for a new release.