Page MenuHome GnuPG

Kleopatra: Crash when pulling card during key generation
Closed, DuplicatePublic

Description

  1. Insert a smartcard with existing keys
  2. Confirm that you want to delete them
  3. Enter name and start key generation
  4. When the pinentry pops up pull the smartcard
  5. Click on a a pintentry button
  6. Kleopatra crashes.

(point 5 might not be needed; I guess it will also crash on a fresh card)

org.kde.pim.libkleo: sendCommand "READKEY --card --no-data -- OPENPGP.1"
org.kde.pim.libkleo: sendStatusLinesCommand "READKEY --card --no-data -- OPENPGP.1" : got ( )
org.kde.pim.libkleo: sendCommand "READKEY --card --no-data -- OPENPGP.2"
org.kde.pim.libkleo: sendStatusLinesCommand "READKEY --card --no-data -- OPENPGP.2" : got ( )
org.kde.pim.libkleo: sendCommand "READKEY --card --no-data -- OPENPGP.3"
org.kde.pim.libkleo: sendStatusLinesCommand "READKEY --card --no-data -- OPENPGP.3" : got ( )
org.kde.pim.kleopatra: ReaderStatusThread[2nd]: waiting for commands
org.kde.pim.libkleo: Reading config group "Icons"
org.kde.pim.libkleo: "C:/Users/dd9jn/AppData/Roaming/gnupg/reader_0.status"
org.kde.pim.libkleo: "C:/Users/dd9jn/AppData/Roaming/gnupg/reader_0.status"
org.kde.pim.libkleo: "C:/Users/dd9jn/AppData/Roaming/gnupg/reader_0.status"
org.kde.pim.libkleo: "C:/Users/dd9jn/AppData/Roaming/gnupg/reader_0.status"
org.kde.pim.kleopatra: ReaderStatusThread[GUI]::ping()
org.kde.pim.kleopatra: ReaderStatusThread[2nd]: new iteration command= "__update__"  ; nullSlot= true
org.kde.pim.kleopatra: update_cardinfo()
org.kde.pim.libkleo: sendCommand "SCD SERIALNO"
org.kde.pim.libkleo: sendCommand "SCD SERIALNO" failed: No such device (code: 32848, source: SCD)
org.kde.pim.libkleo: sendStatusLinesCommand "SCD SERIALNO" : t == NULL
org.kde.pim.kleopatra: update_cardinfo: No card present
org.kde.pim.kleopatra: ReaderStatusThread: Card "D276000124010304000500009D8A0000" with app "openpgp" was removed
org.kde.pim.kleopatra: ReaderStatusThread[2nd]: waiting for commands

Details

Version
kleopatra 202208291757

Event Timeline

werner created this task.
werner created this object with edit policy "Contributor (Project)".
ikloecker renamed this task from Kleo crash when pulling card during key generation to Kleopatra: Crash when pulling card during key generation.Dec 5 2022, 9:01 AM
ikloecker added a project: Restricted Project.
ikloecker added subscribers: ebo, ikloecker.

@ebo I suspect that we want to fix this crash also for VSD 3.3 (if it is still reproducible). I found this ticket by accident while searching for READKEY.

I cannot reproduce the crash anymore. I guess this was fixed with the fix of T7372: Kleopatra: Crash when unplugging smartcard while operation is in progress. I'll close this ticket as duplicate of T7372.

ebo removed a project: Restricted Project.Thu, Nov 7, 8:31 AM