Page MenuHome GnuPG

Kleo crash when pulling card during key generation
Open, NormalPublic

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 triaged this task as Normal priority.Tue, Aug 30, 12:17 PM
werner created this task.
werner created this object with edit policy "Contributor (Project)".