Version: unspecified (using Devel) OS: Linux It is not possible to add new UID if secret key is stored on a smartcard. Reproducible: Always Steps to Reproduce: 1. Right-click on a key, click add UID 2. Fill data to fields and press OK. 3. Enter smartcard PIN requested by pinentry Actual Results: UID is not added Expected Results: new UID is to be added status messages log: KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GET_LINE keygen.name" kgpg(13178) KGpgTransactionPrivate::write: "Test3 " kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GOT_IT" kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GET_LINE keygen.email" kgpg(13178) KGpgTransactionPrivate::write: "Test3@Test3_____.com " kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GOT_IT" kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GET_LINE keygen.comment" kgpg(13178) KGpgTransactionPrivate::write: " " kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GOT_IT" kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] CARDCTRL 3 " kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GET_LINE keyedit.prompt" kgpg(13178) KGpgTransactionPrivate::write: "quit " kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GOT_IT" kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GET_BOOL keyedit.save.okay" kgpg(13178) KGpgTransactionPrivate::slotReadReady: unexpected GnuPG request "[GNUPG:] GET_BOOL keyedit.save.okay" kgpg(13178) KGpgTransactionPrivate::write: "quit " kgpg(13178) KGpgTransactionPrivate::slotReadReady: "[GNUPG:] GOT_IT"
Created attachment 50871 [details] handle prompt when adding uids
Works correctly with this patch.
SVN commit 1167158 by dakon: handle prompt when adding UIDs This fixes adding uids when the key is stored on a smartcard. CCBUG:248833 M +2 -0 kgpgadduid.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1167158
SVN commit 1167162 by dakon: backport the fixes to allow KGpg working with keys stored on smartcards backport of 1167158, 1167159 and 1167161 BUGS:139965,248598,248833 M +2 -0 kgpgadduid.cpp M +3 -5 kgpgsignkey.cpp M +2 -0 kgpgtransaction.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1167162