Bug 523837 - Kleopatra decrypts successfully but Save All does not create output file
Summary: Kleopatra decrypts successfully but Save All does not create output file
Status: CONFIRMED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (other bugs)
Version First Reported In: Gpg4win-5.1.0
Platform: Other Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Ingo Klöcker
URL:
Keywords:
: 525113 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-08-04 03:44 UTC by Neha
Modified: 2026-09-24 14:46 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Kleopatra/GnuPG successfully decrypts a file but does not create the output file when using the standard decrypt function. (47.67 KB, image/png)
2026-08-04 03:44 UTC, Neha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neha 2026-08-04 03:44:33 UTC
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.
Comment 1 TraceyC 2026-08-04 20:59:47 UTC
Setting the product to kleopatra
Comment 2 Ingo Klöcker 2026-08-05 07:26:20 UTC
Please check whether, after decryption but before saving, the decrypted file exists in the folder %LOCALAPPDATA%/Temp/kleopatra-XXXXXX with some random letters XXXXXX.
Comment 3 Neha 2026-08-05 21:30:27 UTC
(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.
Comment 4 Ingo Klöcker 2026-08-06 07:20:44 UTC
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.
Comment 5 Neha 2026-08-06 22:59:17 UTC
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
Comment 6 Neha 2026-08-31 01:15:13 UTC
(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
Comment 7 Neha 2026-08-31 01:16:48 UTC
Hi Team, do you have an update on this? The file is still not saving anywhere after decrypting it.
Comment 8 Ingo Klöcker 2026-08-31 07:16:27 UTC
The problem has been fixed but there hasn't been a new release of Gpg4win including this fix yet.
Comment 9 Ingo Klöcker 2026-09-02 10:39:21 UTC
*** Bug 525113 has been marked as a duplicate of this bug. ***
Comment 10 Neha 2026-09-16 19:43:35 UTC
Hi Team, 

Can you please confirm when the new version of Gpg4win is going to release? Thanks
Comment 11 Ingo Klöcker 2026-09-24 14:46:04 UTC
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.