Bug 354766

Summary: Export Private Keys does not overwrite existing file
Product: [Applications] kleopatra Reporter: scienceteacher34
Component: generalAssignee: Andre Heinecke <aheinecke>
Status: REPORTED ---    
Severity: normal CC: kdepim-bugs, mutz
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description scienceteacher34 2015-11-03 00:42:27 UTC
Kleopatra's Export Secret Keys to a ascii armor file does not overwrite an existing file of the same name.

Reproducible: Always

Steps to Reproduce:
1. Export Secret Keys for a certificate
2. Save as file.asc
3. Export Secret Keys for a different certificate
4. Save as file.asc


Actual Results:  
Observe file.asc does not have its contents changed/altered in step 4 although message says it has successfully written to file.

Expected Results:  
File should be written to with secret key in step 3.

Strangely, Exporting Certificates does overwrite a file!
Comment 1 Justin Zobel 2021-03-10 00:15:38 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.