Page MenuHome GnuPG

Kleopatra crashes while creating a key and aborting pinentry
Closed, ResolvedPublic

Description

Following two user reports from the forums i tried to reproduces the crashing issues with Kleoptra mentioned in the Threads. I was able to reproduce the scenario described in this post, where a user stated, that Kleopatra crashes when he aborts the pinentry upon creating a fresh key.

Steps:

  1. Open Kleopatra
  2. Click in Menu-Bar "Create Key"
  3. Enter options
  4. Click "Next"
  5. Click "Create"
  6. As Pinentry pops up (or under), click "abort"
  7. Crash of Kleopatra

Unfortunately I wasn't able do document the other crash issue with kleoptra, where it crashes even when you enter a passphrase in step 6 and it justs crashes. I was able to recreate it once, but the crash or the issue at all doesn't seem to be reproducable. My hope is, that the issues are somewhat related.

Details

Version
3.0.1

Event Timeline

As a note: The second crash might be related in that the crash could happen on any error. So if the user had a "real" error it might have crashed instead of showing the error.

So if the user had a "real" error it might have crashed instead of showing the error.

Will this issue also be fixed with your commit? Or should we open up another issue for tackling "real" errors while creating a key?

It's also fixed. There was a problem with the error handing. A canceled pinentry is communicated as an error with code operation canceled.