Page MenuHome GnuPG

Kleopatra: Cancel does not kill GnuPG
Closed, DuplicatePublic

Description

I suspect that this has always been the case but I am not sure and have not tested with older versions but with the current Gpg4win-4.2.0 beta I noticed during testing with large files and because we are currently testing cancel that GnuPG is not killed even if the decryption is done in the current way through a Kleopatra output.

So in my tests kleopatra keeps doing the writing and GnuPG the decryption.

Event Timeline

aheinecke triaged this task as Normal priority.Jun 26 2023, 9:07 AM
aheinecke created this task.

Strange though, it appears that it is cancelled before finishing the job, no result file is created. But maybe that is when finalize or something would be called in Kleo.

Argh:

void DecryptVerifyTask::cancel()
{

}

and the same for the other decrypt/verify tasks. No wonder it doesn't work. I didn't expect those methods to be NOPs since SignEncryptTask::cancel() does it's job.