Page MenuHome GnuPG

Kleopatra: Crash when unplugging smartcard while operation is in progress
Testing, NormalPublic

Description

How to reproduce:

  • Insert a smartcard and open the Smartcard view
  • Open menu for a slot and choose Generate New Key
  • Proceed to the algorithm selection but don't click OK
  • Unplug card and re-plug it
  • Now click OK in the algorithm selection window

-> You get an error that the card was not found.

  • Click OK

-> crash

Note: Re-plugging the card isn't required to provoke the crash.