Bug 330922 - "Send email" works fine, "Sign and mail user id" has no effect
Summary: "Send email" works fine, "Sign and mail user id" has no effect
Status: RESOLVED FIXED
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: 2.11
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-08 17:01 UTC by Toralf Förster
Modified: 2014-03-21 18:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.12.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster 2014-02-08 17:01:50 UTC
Right click to sign it and send the signed key does not to work. I'm ask how carefully I checked the key but then nothing else happens.

Right click to just email a key works == the KDE configuration itself is fine, or ?

I added all *gpg* to kdebugdialog (both "2100 kgpg" and just "kgpg" and "5154 kgpgconf") - found however nothing in .xsession-errors


Reproducible: Always
Comment 1 Toralf Förster 2014-02-08 17:03:10 UTC
Wait, this I get in the Konsole :

$ kgpg
kgpg(14560) GnupgBinary::setBinary: checking version of GnuPG executable "gpg"
kgpg(14560) GnupgBinary::setBinary: version is "2.0.22" 131094
kgpg(14560) KStatusBar::changeItem: KStatusBar::changeItem: bad item id:  0
tfoerste@n22 ~ $ kgpg(14560) KGpgCaffPrivate::abortOperation: transaction KGpgSignUid(0xa1b7050) failed, result 2
kgpg(14560) KGpgCaffPrivate::abortOperation: transaction KGpgImport(0xa18b990) failed, result -1
Comment 2 Rolf Eike Beer 2014-02-08 17:09:48 UTC
Error 2 is "sequence error", i.e. almost surely the reply from GnuPG is unexpected. Please rebuild with cmake -D KGPG_DEBUG_TRANSACTIONS=On and paste the console output of that run.

You do not need debug area 5154, KGpg always uses 2100.

What GnuPG version are you using?
Comment 3 Toralf Förster 2014-02-08 17:15:36 UTC
(In reply to comment #2)
> Error 2 is "sequence error", i.e. almost surely the reply from GnuPG is
> unexpected. Please rebuild with cmake -D KGPG_DEBUG_TRANSACTIONS=On and
> paste the console output of that run.
will do that soon

> You do not need debug area 5154, KGpg always uses 2100.
ok, and why is their a plain "kgpg" entyr too ?
 
> What GnuPG version are you using?
2.0.22
Comment 4 Toralf Förster 2014-02-08 17:41:59 UTC
(In reply to comment #2)
Please rebuild with cmake -D KGPG_DEBUG_TRANSACTIONS=On and
> paste the console output of that run.
tfoerste@n22 ~ $ kgpg(28616) KGpgTransaction::setSuccess: old 0 new 0
kgpg(28616) KGpgTransaction::setSuccess: old 0 new 0
kgpg(28616) KGpgTransaction::setSuccess: old 0 new 0
kgpg(28616) KGpgTransaction::start: KGpgExport(0x98a7948) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--options", "/home/tfoerste/.gnupg/gpg.conf", "--debug-level", "none", "--export", "--armor", "--export-options", "export-clean,export-attribute", "C4EACDDE0076E94E", "872AE5087DB69DA3")
kgpg(28616) KGpgTransaction::start: KGpgImport(0x9b1c1c8) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgCSPwgH/", "--debug-level", "none", "--status-fd=1", "--import", "--allow-secret-key-import")
kgpg(28616) KGpgTransactionPrivate::processDone: 0x9883ef0 result: 0
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] KEYEXPIRED 1388507538"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] SIGEXPIRED"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] IMPORTED 872AE5087DB69DA3 Toralf Förster <toralf.foerster@gmx.de>"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] IMPORT_OK 1 7B1A07F4EC820F90D4C28936872AE5087DB69DA3"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] IMPORTED C4EACDDE0076E94E Toralf Förster (my 2nd key) <toralf.foerster@gmx.de>"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] IMPORT_OK 1 1A376F994A9D026F13E24DCFC4EACDDE0076E94E"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] IMPORT_RES 2 0 2 0 0 0 0 0 0 0 0 0 0 0"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] KEYEXPIRED 1388507538"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] SIGEXPIRED"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] KEYEXPIRED 1388507538"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9b1c1c8) "[GNUPG:] SIGEXPIRED"
kgpg(28616) KGpgTransaction::setSuccess: old 0 new 0
kgpg(28616) KGpgTransaction::setSuccess: old 0 new 2
kgpg(28616) KGpgTransaction::start: KGpgSignUid(0x9aa62c0) ("gpg", "--secret-keyring", "/home/tfoerste/.gnupg", "-u", "C4EACDDE0076E94E", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgCSPwgH/", "--debug-level", "none", "--status-fd=1", "--command-fd=0", "--edit-key", "872AE5087DB69DA3", "uid", "1", "sign", "save")
kgpg(28616) KGpgTransactionPrivate::processDone: 0x9b29978 result: 0
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x9aa62c0) "[GNUPG:] KEYEXPIRED 1388507538"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x9aa62c0) "[GNUPG:] SIGEXPIRED"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x9aa62c0) "[GNUPG:] INV_SGNR 9 C4EACDDE0076E94E"
kgpg(28616) KGpgCaffPrivate::abortOperation: transaction KGpgSignUid(0x9aa62c0) failed, result 2
Comment 5 Toralf Förster 2014-02-08 17:43:10 UTC
and this line came too:


kgpg(28616) KGpgTransactionPrivate::processDone: 0x9b310a8 result: 2

FWIW the space between D and KGPG is wrong - I remove dit
Comment 6 Toralf Förster 2014-02-08 17:45:41 UTC
And here for my current key the other was already expired) :

tfoerste@n22 ~ $ kgpg(28616) KGpgTransaction::setSuccess: old 0 new 0
kgpg(28616) KGpgTransaction::setSuccess: old 0 new 0
kgpg(28616) KGpgTransaction::setSuccess: old 0 new 0
kgpg(28616) KGpgTransaction::start: KGpgExport(0x9b473d8) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--options", "/home/tfoerste/.gnupg/gpg.conf", "--debug-level", "none", "--export", "--armor", "--export-options", "export-clean,export-attribute", "C4EACDDE0076E94E", "C4EACDDE0076E94E")
kgpg(28616) KGpgTransaction::start: KGpgImport(0x9a99458) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpg4gpnd0/", "--debug-level", "none", "--status-fd=1", "--import", "--allow-secret-key-import")
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9a99458) "[GNUPG:] IMPORTED C4EACDDE0076E94E Toralf Förster (my 2nd key) <toralf.foerster@gmx.de>"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9a99458) "[GNUPG:] IMPORT_OK 1 1A376F994A9D026F13E24DCFC4EACDDE0076E94E"
kgpg(28616) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9a99458) "[GNUPG:] IMPORT_RES 1 0 1 0 0 0 0 0 0 0 0 0 0 0"
kgpg(28616) KGpgTransactionPrivate::processDone: 0x9b6ac40 result: 0
kgpg(28616) KGpgCaffPrivate::abortOperation: transaction KGpgImport(0x9a99458) failed, result -1
kgpg(28616) KGpgTransactionPrivate::processDone: 0x9b5ed98 result: 0
Comment 7 Rolf Eike Beer 2014-03-20 14:57:43 UTC
Found the bug, fix will be in KDE SC 4.12.4 and 4.13.
Comment 8 Rolf Eike Beer 2014-03-20 17:28:33 UTC
Git commit bc57d43ec9b75a2690f3db1d4cd9089d1fe3fad3 by Rolf Eike Beer.
Committed on 20/03/2014 at 17:04.
Pushed by dakon into branch 'KDE/4.12'.

CAFF: fix missing filename for secret keyring

M  +2    -2    caff.cpp

http://commits.kde.org/kgpg/bc57d43ec9b75a2690f3db1d4cd9089d1fe3fad3
Comment 9 Rolf Eike Beer 2014-03-20 17:30:09 UTC
See bug 332368 for the problem that nothing shows up in the composer window.
Comment 10 Toralf Förster 2014-03-20 18:02:08 UTC
(In reply to comment #8)
> Git commit bc57d43ec9b75a2690f3db1d4cd9089d1fe3fad3 by Rolf Eike Beer.
> Committed on 20/03/2014 at 17:04.
> Pushed by dakon into branch 'KDE/4.12'.
> 
> CAFF: fix missing filename for secret keyring
> 
> M  +2    -2    caff.cpp
> 
> http://commits.kde.org/kgpg/bc57d43ec9b75a2690f3db1d4cd9089d1fe3fad3
Well, applying this here onto my Gentoo Linxu I do now get:
$ kgpg(17589) KGpgTransaction::setSuccess: old 0 new 0
kgpg(17589) KGpgTransaction::setSuccess: old 0 new 0
kgpg(17589) KGpgTransaction::setSuccess: old 0 new 0
kgpg(17589) KGpgTransaction::start: KGpgExport(0x875b0c0) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--options", "/home/tfoerste/.gnupg/gpg.conf", "--debug-level", "none", "--export", "--armor", "--export-options", "export-clean,export-attribute", "C4EACDDE0076E94E", "E61DB828F5F3B583")
kgpg(17589) KGpgTransaction::start: KGpgImport(0x8a09040) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgUVILnp/", "--debug-level", "none", "--status-fd=1", "--import", "--allow-secret-key-import")
kgpg(17589) KGpgTransactionPrivate::processDone: 0x8743118 result: 0
kgpg(17589) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x8a09040) "[GNUPG:] IMPORTED C4EACDDE0076E94E Toralf Förster (my 2nd key) <toralf.foerster@gmx.de>"
kgpg(17589) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x8a09040) "[GNUPG:] IMPORT_OK 1 1A376F994A9D026F13E24DCFC4EACDDE0076E94E"
kgpg(17589) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x8a09040) "[GNUPG:] IMPORTED E61DB828F5F3B583 Herr Grendelsen <webmaster@xn--grndl-hrac.de>"
kgpg(17589) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x8a09040) "[GNUPG:] IMPORT_OK 1 BA661F72A6EF71E866ACAB35E61DB828F5F3B583"
kgpg(17589) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x8a09040) "[GNUPG:] IMPORT_RES 2 0 2 1 0 0 0 0 0 0 0 0 0 0"
kgpg(17589) KGpgTransaction::setSuccess: old 0 new 0
kgpg(17589) KGpgTransaction::setSuccess: old 0 new 2
kgpg(17589) KGpgTransaction::start: KGpgSignUid(0x8996d88) ("gpg", "--secret-keyring", "/home/tfoerste/.gnupg/secring.gpg", "-u", "C4EACDDE0076E94E", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgUVILnp/", "--debug-level", "none", "--status-fd=1", "--command-fd=0", "--edit-key", "E61DB828F5F3B583", "uid", "1", "sign", "save")
kgpg(17589) KGpgTransactionPrivate::processDone: 0x8980638 result: 0
kgpg(17589) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x8996d88) "[GNUPG:] ALREADY_SIGNED C4EACDDE0076E94E"
kgpg(17589) KGpgTransaction::setSuccess: old 2 new 101
kgpg(17589) KGpgCaffPrivate::abortOperation: transaction KGpgSignUid(0x8996d88) failed, result 101
kgpg(17589) KGpgTransactionPrivate::processDone: 0x877bd00 result: 101

---> it would be nice to have a popup window telling "ALREADY_SIGNED" or so ;-)
Comment 11 Toralf Förster 2014-03-20 18:03:12 UTC
(In reply to comment #9)
> See bug 332368 for the problem that nothing shows up in the composer window.

Is this a comment for bug 332364 ?
Comment 12 Toralf Förster 2014-03-20 18:21:05 UTC
(In reply to comment #8)
> Git commit bc57d43ec9b75a2690f3db1d4cd9089d1fe3fad3 by Rolf Eike Beer.
> Committed on 20/03/2014 at 17:04.
> Pushed by dakon into branch 'KDE/4.12'.
> 
> CAFF: fix missing filename for secret keyring
> 
> M  +2    -2    caff.cpp
> 
> http://commits.kde.org/kgpg/bc57d43ec9b75a2690f3db1d4cd9089d1fe3fad3

Well, and testing the patch with an unsigend key (from the TAILS devs) now gives the next bug (probably just hidden by the previous one) :


tfoerste@n22 ~ $ pkill kgpg
tfoerste@n22 ~ $ kgpg
kgpg(19721) GnupgBinary::setBinary: checking version of GnuPG executable "gpg"
kgpg(19721) GnupgBinary::setBinary: version is "2.0.22" 131094
tfoerste@n22 ~ $ kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::start: KGpgExport(0x9ce00c0) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--options", "/home/tfoerste/.gnupg/gpg.conf", "--debug-level", "none", "--export", "--armor", "--export-options", "export-clean,export-attribute", "C4EACDDE0076E94E", "1202821CBE2CD9C1")
kgpg(19721) KGpgTransaction::start: KGpgImport(0x9f93fd0) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgmcM5qV/", "--debug-level", "none", "--status-fd=1", "--import", "--allow-secret-key-import")
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9f93fd0) "[GNUPG:] IMPORTED 1202821CBE2CD9C1 Tails developers (signing key) <tails@boum.org>"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9f93fd0) "[GNUPG:] IMPORT_OK 1 0D24B36AA9A2A651787876451202821CBE2CD9C1"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9f93fd0) "[GNUPG:] IMPORTED C4EACDDE0076E94E Toralf Förster (my 2nd key) <toralf.foerster@gmx.de>"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9f93fd0) "[GNUPG:] IMPORT_OK 1 1A376F994A9D026F13E24DCFC4EACDDE0076E94E"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgImport(0x9f93fd0) "[GNUPG:] IMPORT_RES 2 0 2 1 0 0 0 0 0 0 0 0 0 0"
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 2
kgpg(19721) KGpgTransaction::start: KGpgSignUid(0x9f802e0) ("gpg", "--secret-keyring", "/home/tfoerste/.gnupg/secring.gpg", "-u", "C4EACDDE0076E94E", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgmcM5qV/", "--debug-level", "none", "--status-fd=1", "--command-fd=0", "--edit-key", "1202821CBE2CD9C1", "uid", "1", "sign", "save")
kgpg(19721) KGpgTransactionPrivate::processDone: 0x9ef33d0 result: 0
kgpg(19721) KGpgTransactionPrivate::processDone: 0x9cc8118 result: 0
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x9f802e0) "[GNUPG:] GET_BOOL sign_uid.okay"
kgpg(19721) KGpgTransactionPrivate::write: KGpgSignUid(0x9f802e0) "YES
"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x9f802e0) "[GNUPG:] GOT_IT"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x9f802e0) "[GNUPG:] USERID_HINT C4EACDDE0076E94E Toralf Förster (my 2nd key) <toralf.foerster@gmx.de>"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x9f802e0) "[GNUPG:] NEED_PASSPHRASE C4EACDDE0076E94E C4EACDDE0076E94E 17 0"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgSignUid(0x9f802e0) "[GNUPG:] GOOD_PASSPHRASE"
kgpg(19721) KGpgTransaction::setSuccess: old 2 new 0
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::start: KGpgDelUid(0x9e8cac8) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgmcM5qV/", "--debug-level", "none", "--status-fd=1", "--command-fd=0", "--edit-key", "1202821CBE2CD9C1", "uid", "2", "deluid")
kgpg(19721) KGpgTransactionPrivate::processDone: 0x9ce0258 result: 0
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgDelUid(0x9e8cac8) "[GNUPG:] GET_BOOL keyedit.remove.uid.okay"
kgpg(19721) KGpgTransactionPrivate::write: KGpgDelUid(0x9e8cac8) "YES
"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgDelUid(0x9e8cac8) "[GNUPG:] GOT_IT"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgDelUid(0x9e8cac8) "[GNUPG:] GET_LINE keyedit.prompt"
kgpg(19721) KGpgTransactionPrivate::write: KGpgDelUid(0x9e8cac8) "save
"
kgpg(19721) KGpgTransactionPrivate::write: KGpgDelUid(0x9e8cac8) "quit
"
kgpg(19721) KGpgTransactionPrivate::sendQuit: sending quit
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgDelUid(0x9e8cac8) "[GNUPG:] GOT_IT"
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::start: KGpgExport(0x9c9c748) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgmcM5qV/", "--debug-level", "none", "--export", "--armor", "--export-options", "export-attribute", "1202821CBE2CD9C1")
kgpg(19721) KGpgTransactionPrivate::processDone: 0x9d021d0 result: 0
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "-----BEGIN PGP PUBLIC KEY BLOCK-----"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "Version: GnuPG v2.0.22 (GNU/Linux)"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) ""
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "mQINBEytkvQBEAC3G9iFTjfGpkZmD7NtcPlrKArTqoIzdwBaRgY9xoUYWmj4Mj3S"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "7DLJzumQMWQYjvlmShg+Le5fcv4pmx/LgTz0qIe8ytKQ5nCEWZ30A1Au51w5hL4M"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "w0f7bqWkw5UYQd2PTrtWqQIvAw8eUqy9g3eIuf/3F0bGxNw0YqtuRJ/ME0PjSmkz"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "mSn3d2wHzMa4l5zr5a3P87XzlcULbIvgYlbGBw615rXgZvZmaKmLR/HpTbuCFAFE"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "RO5ziKj+fA7PzPei6nQFo4jBB48sN04S1slc/GqhizNq70UA/MsqyY+fnCuIBbJP"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "Zd7bgNQMuBSIxJted5z85Teg1GJieTFjRrifJxpdsnp/Xl414QGXhI7Clh3jaTqv"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "9lP0Lx4G7aLtSLkOpSKboeOHjySCPv17wNR66tN3i84O8aQ3THpxF5WRWP6j7qIa"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "fihTRuy0LVQRiSaP70ND6ZUwDSbfQJIUbYlgHS9vtvLh5TTZu6YweIqO07iGEdcx"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "jNzPOjv131duHu2Nj7fuXrl1g+9Rl0iQOxHTYiLgMMOKiEau5e4iKxsE+MMbQs6L"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "9YCuyhrwOS8PMOvn5WV+J6p9w9DK8M/ptCIHOz1POBIDeKDuRCeSXvaYAqYisxJz"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "bid/a1b3Y99aadpTugEPw7ato0mrqp4A7RKV3FR1ncSQQZbx5qzrwfRaMQARAQAB"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "tC9UYWlscyBkZXZlbG9wZXJzIChzaWduaW5nIGtleSkgPHRhaWxzQGJvdW0ub3Jn"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "PokCQAQTAQgAKgIbAwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAIZAQUCUDyJ8gUJ"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "CCWfRwAKCRASAoIcvizZwSsuEACKo3bCX29SqhZBaUGDakMyHgMwhlpuEZob0JMi"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "hGIu9qx7WD+oLU2AFLWk2dhHQUrsvBJ05lr8ezQLnjAQud2C1sZmHAIJ3EXq8+ys"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "reZYwjGS5gwvf7Yfu61dpVlsnVNvY1YLNpcvacy8RScde057pPtrJsoeNUu/Hlxo"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "3cv5U4kX+f7oxJRQR6ERdDpEIG5keDzAc4pvJ6lu9mCzprdEOWy6rxi23/LCMYgp"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "8s3UL4UbmFV/Z1QXjeovKj+xycj20wUJf7VAoKa1M2Nlp+aqBXw6R29Pi2ZXR+aE"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "yFVbY155l4hziGiAN0igDcMTb1WIDuQkMDU57M4P79K66K77X7Lz7SzhabCe6s+P"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "hb8Bco3PmHUS67dCB661WMmdxgc0XYmBT/B8/dpFt0QdDTGeIz1UvVwgn7U5G+iC"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "tFLK73+HE4hqpgI/ldBzuwSAMVcnyH/g4ljUA35SpKLUU+u6+M6PX7DlUCJgNnty"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "H+cXzIufFZ6AyRiEoHa/ekm3C4PAosDBIQevehScgYmgOtd+woJvrmCdzsRCwvmr"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "vlWDagJgQDYm3Gi4+MrxHy3qP6MYFLx/KFEybtt5KHyHwkP7wxubwo3vr4mVftNP"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "4ZRCqmzIwi4Ipo2dUFuC+1jyM+vKOmEOhyCcAonheJ5GeIvo+WbyjZa8BYsrAm3j"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "ozsXI4heBBARCAAGBQJTKzC3AAoJEMTqzd4AdulOGm0A/ibVdoDBkdT7ihZqk8CD"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "DTgkN5mCQLcO4+SqMkX20mKqAQCCjcGXYzEBphJljHbC5eTs6GxXKgWBg8Rv6eZA"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "P1oH1g=="
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "=NwTd"
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgExport(0x9c9c748) "-----END PGP PUBLIC KEY BLOCK-----"
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::start: KGpgEncrypt(0x9fb7e18) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgmcM5qV/", "--debug-level", "none", "--status-fd=1", "--trust-model", "always", "--armor", "--recipient", "1202821CBE2CD9C1", "--encrypt")
kgpg(19721) KGpgTransactionPrivate::processDone: 0x9cfaf00 result: 0
kgpg(19721) KGpgTransactionPrivate::slotReadReady: KGpgEncrypt(0x9fb7e18) "[GNUPG:] INV_RECP 0 1202821CBE2CD9C1"
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 2
kgpg(19721) KGpgCaffPrivate::abortOperation: transaction KGpgEncrypt(0x9fb7e18) failed, result 2
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::setSuccess: old 0 new 0
kgpg(19721) KGpgTransaction::start: KGpgExport(0x9fb4cd0) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--options", "/home/tfoerste/.gnupg/gpg.conf", "--debug-level", "none", "--export", "--armor", "--export-options", "export-clean,export-attribute", "C4EACDDE0076E94E", "1202821CBE2CD9C1")
kgpg(19721) KGpgTransaction::start: KGpgImport(0x9efaf00) ("gpg", "--no-secmem-warning", "--no-tty", "--no-greeting", "--homedir", "/tmp/kde-tfoerste/kgpgVjqzhi/", "--debug-level", "none", "--status-fd=1", "--import", "--allow-secret-key-import")
kgpg(19721) KGpgTransactionPrivate::processDone: 0x9fb3df0 result: 2
QProcess: Destroyed while process is still running.
QProcess: Destroyed while process is still running.


so I'm now asked for my private password but after that no (thunderbird) email winow poped up.
Comment 13 Rolf Eike Beer 2014-03-20 20:58:46 UTC
This is just another case of "KGpg should tell you what is wrong". That key is a sign-only key, you can't encrypt a message for them.
Comment 14 Toralf Förster 2014-03-20 21:08:15 UTC
(In reply to comment #13)
> This is just another case of "KGpg should tell you what is wrong". That key
> is a sign-only key, you can't encrypt a message for them.

Right, testing just another arbitrary key now shows, that the feature "sign and email" works - thx.
Comment 15 Rolf Eike Beer 2014-03-21 17:14:55 UTC
Git commit 24f3d4d7fbbdf795486bd72744c382fbd15f80fa by Rolf Eike Beer.
Committed on 21/03/2014 at 16:49.
Pushed by dakon into branch 'master'.

CAFF: do not encrypt user ids for keys that do not have encryption capability

Instead give the user a message about why they were skipped.

M  +37   -2    caff.cpp
M  +1    -0    caff_p.h

http://commits.kde.org/kgpg/24f3d4d7fbbdf795486bd72744c382fbd15f80fa
Comment 16 Rolf Eike Beer 2014-03-21 17:14:55 UTC
Git commit 809b78d53be20bbecb340deebebe14515b9bd18f by Rolf Eike Beer.
Committed on 21/03/2014 at 17:04.
Pushed by dakon into branch 'master'.

CAFF: do not abort for user ids that are already signed

Instead give the user a message that they were skipped.

M  +20   -1    caff.cpp
M  +1    -0    caff_p.h
M  +1    -1    keysmanager.cpp

http://commits.kde.org/kgpg/809b78d53be20bbecb340deebebe14515b9bd18f
Comment 17 Toralf Förster 2014-03-21 18:16:16 UTC
thx - both works fine here applied to 4.12.3