for signing; selecting a specific private key
folkert
folkert at vanheusden.com
Thu Jun 4 20:59:05 CEST 2015
Hi,
> > In the key ring I have more then 1 private key so I want to select the
> > correct one.
> > This fails with: "Unusable secret key (117440566)".
>
> Tou run into this error:
> /* In this case at least one signatures was not created perhaps
> due to a bad passphrase etc. Thus the entire message is
> broken and should not be used. We add the already created
> signatures to the invalid signers list and thus this case can
> be detected. */
I've created a key both with gnupg and gnupg2 both have the same
problem.
> TRACE_LOG3 ("result: invalid signers: %u, signatures: %u, count: %u",
> inv_signers, signatures, gpgme_signers_count (ctx));
This tracing does not appear in eighter the gpg nor the gpg2 key
version.
> Please enable gpgme debugging at level 3 or higher to get detailed
> information.
> GPGME_DEBUG=4:/foo/bar/gpgme.log ./program
gpg key:
-------
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_debug: level=4
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_check_version: call: 0=(nil), req_version=(null), VERSION=1.5.1
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_check_version_internal: call: 0=(nil), req_version=(null), offset_sig_validity=60
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_set_locale: enter: ctx=(nil), category=0, value=C
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_set_locale: leave
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_set_locale: enter: ctx=(nil), category=5, value=C
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_set_locale: leave
GPGME 2015-06-04 18:57:09 <0x1905> gpgme-dinfo: gpgconf='/usr/bin/gpgconf'
GPGME 2015-06-04 18:57:09 <0x1905> gpgme-dinfo: gpg='/usr/bin/gpg2'
GPGME 2015-06-04 18:57:09 <0x1905> gpgme-dinfo: gpgsm='/usr/bin/gpgsm'
GPGME 2015-06-04 18:57:09 <0x1905> gpgme-dinfo: homedir='/home/folkert/.gnupg'
GPGME 2015-06-04 18:57:09 <0x1905> gpgme-dinfo: agent='/home/folkert/.gnupg/S.gpg-agent'
GPGME 2015-06-04 18:57:09 <0x1905> gpgme-dinfo: uisrv='/home/folkert/.gnupg/S.uiserver'
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_new: enter: r_ctx=0x7ffdf87155a8
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_new: leave: ctx=0x16c8810
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_start: enter: ctx=0x16c8810, pattern=14B7E8E6, secret_only=1
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16c8810, fd 4, dir=1 -> tag=0x16ca6b0
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16c8810, fd 6, dir=1 -> tag=0x16ca800
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c8c10, event 0x7f6a59a9dad0, type 0, type_data (nil)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_start: leave
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_next: enter: ctx=0x16c8810
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca820, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca820, handler (0x16c8c10, 6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = (nil), line = sec:u:1024:1:D2C2514414B7E8E6:1432752075:::u:::scESC::::::
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16ca850, line = fpr:::::::::95C76C5EF83943DA2F322CF4D2C2514414B7E8E6:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16ca850, line = uid:u::::1432752075::8ECF92C774CE2A15116BEB0B2038DE9D3CCA7A9E::testkey2 (testkey2) <test at vanheusden.com>:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16ca850, line = ssb:u:1024:1:2E197B51ED8059EA:1432752075::::::e::::::
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16ca850, line = fpr:::::::::47AE514B363C3E225FD474022E197B51ED8059EA:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16ca850, line = ssb:u:1024:1:7A26564274D6F5C6:1433074279::::::s::::::
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16ca850, line = fpr:::::::::61F756F77290CBBCE30988567A26564274D6F5C6:
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca820, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca820, handler (0x16c8c10, 6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16ca850, line = (null)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c8c10, event 0x7f6a59a9dad0, type 2, type_data 0x16ca850
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16ca800, setting fd 0x6 (item=0x16ca820) done
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_next: leave: key=0x16ca850 (95C76C5EF83943DA2F322CF4D2C2514414B7E8E6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_release: call: ctx=0x16c8810
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16ca6b0, setting fd 0x4 (item=0x16ca6d0) done
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_new: enter: r_ctx=0x7ffdf8715618
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_new: leave: ctx=0x16ca210
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_start: enter: ctx=0x16ca210, pattern=4BE78BDCF3F5352CF624A6DF3AD6F8118300CC02, secret_only=0
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16ca210, fd 4, dir=1 -> tag=0x16c9f50
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16ca210, fd 6, dir=1 -> tag=0x16c9fa0
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c8c10, event 0x7f6a59a9dad0, type 0, type_data (nil)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_start: leave
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_next: enter: ctx=0x16ca210
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16c9fc0, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16c9fc0, handler (0x16c8c10, 6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = (nil), line = tru::0:1433443869:2410285847:3:1:5
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = (nil), line = pub:-:1024:17:3AD6F8118300CC02:1039074767:::-:::scESC::::::
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = 0x16cac20, line = fpr:::::::::4BE78BDCF3F5352CF624A6DF3AD6F8118300CC02:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = 0x16cac20, line = uid:-::::1203999932::275AAD3E991F1962AD510CC96760907BE70FE668::Bla <bla at com>:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = 0x16cac20, line = uid:-::::1203999938::59689891229F1817EF66BFC63D9D0BB2F45F5209::Bla <bla at com>:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = 0x16cac20, line = uid:r::::::8A709552E7AB85B53DDAE18A48C0978E5EBF5547::Bla <bla at com>:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = 0x16cac20, line = sub:-:2048:16:942E547C12A6B1C2:1039075030::::::e::::::
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = 0x16cac20, line = fpr:::::::::E69EF5226BBF7EC14F1D7D96942E547C12A6B1C2:
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16c9f70, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16c9f70, handler (0x16c8c10, 4)
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16c9f50, setting fd 0x4 (item=0x16c9f70) done
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16c9fc0, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16c9fc0, handler (0x16c8c10, 6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16ca210, key = 0x16cac20, line = (null)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c8c10, event 0x7f6a59a9dad0, type 2, type_data 0x16cac20
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16c9fa0, setting fd 0x6 (item=0x16c9fc0) done
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c8c10, event 0x7f6a59a9dad0, type 1, type_data 0x7ffdf8715560
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_next: leave: key=0x16cac20 (4BE78BDCF3F5352CF624A6DF3AD6F8118300CC02)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_release: call: ctx=0x16ca210
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_new: enter: r_ctx=0x7ffdf87155c8
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_new: leave: ctx=0x16ca550
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_set_passphrase_cb: call: ctx=0x16ca550, passphrase_cb=(nil)/(nil)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_set_pinentry_mode: call: ctx=0x16ca550, pinentry_mode=4
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_set_passphrase_cb: call: ctx=0x16ca550, passphrase_cb=0x403420/0x16c8058
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_set_passphrase_cb: call: ctx=0x16ca550, passphrase_cb=0x403420/0x16c8058
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_new: enter: r_ctx=0x7ffdf8715568
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_new: leave: ctx=0x16c8810
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_start: enter: ctx=0x16c8810, pattern=14B7E8E6, secret_only=0
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16c8810, fd 4, dir=1 -> tag=0x16cd080
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16c8810, fd 6, dir=1 -> tag=0x16cd1d0
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c9d50, event 0x7f6a59a9dad0, type 0, type_data (nil)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_start: leave
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_next: enter: ctx=0x16c8810
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16cd1f0, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16cd1f0, handler (0x16c9d50, 6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = (nil), line = tru::0:1433443869:2410285847:3:1:5
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = (nil), line = pub:u:1024:1:D2C2514414B7E8E6:1432752075:::u:::scESC::::::
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16cd220, line = fpr:::::::::95C76C5EF83943DA2F322CF4D2C2514414B7E8E6:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16cd220, line = uid:u::::1432752075::8ECF92C774CE2A15116BEB0B2038DE9D3CCA7A9E::testkey2 (testkey2) <test at vanheusden.com>:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16cd220, line = sub:u:1024:1:2E197B51ED8059EA:1432752075::::::e::::::
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16cd220, line = fpr:::::::::47AE514B363C3E225FD474022E197B51ED8059EA:
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16cd220, line = sub:u:1024:1:7A26564274D6F5C6:1433074279::::::s::::::
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16cd220, line = fpr:::::::::61F756F77290CBBCE30988567A26564274D6F5C6:
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16cd0a0, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16cd0a0, handler (0x16c9d50, 4)
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16cd080, setting fd 0x4 (item=0x16cd0a0) done
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16cd1f0, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16cd1f0, handler (0x16c9d50, 6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:keylist_colon_handler: call: ctx=0x16c8810, key = 0x16cd220, line = (null)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c9d50, event 0x7f6a59a9dad0, type 2, type_data 0x16cd220
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16cd1d0, setting fd 0x6 (item=0x16cd1f0) done
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c9d50, event 0x7f6a59a9dad0, type 1, type_data 0x7ffdf87154c0
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_keylist_next: leave: key=0x16cd220 (95C76C5EF83943DA2F322CF4D2C2514414B7E8E6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_release: call: ctx=0x16c8810
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_signers_clear: call: ctx=0x16ca550
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_signers_add: enter: ctx=0x16ca550, key=0x16ca850 (95C76C5EF83943DA2F322CF4D2C2514414B7E8E6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_signers_add: leave
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_encrypt_sign: enter: ctx=0x16ca550, flags=0x1, plain=0x16caf80, cipher=0x16cbfd0
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_encrypt_sign: check: ctx=0x16ca550, recipient[0] = 0x16cd220 (95C76C5EF83943DA2F322CF4D2C2514414B7E8E6)
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_sig_notation_get: call: ctx=0x16ca550, ctx->sig_notations=(nil)
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16ca550, fd 4, dir=1 -> tag=0x16ca070
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16ca550, fd 8, dir=1 -> tag=0x16ca1c0
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_add_io_cb: call: ctx=0x16ca550, fd 11, dir=0 -> tag=0x16ca210
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c9d50, event 0x7f6a59a9dad0, type 0, type_data (nil)
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca230, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca230, handler (0x16caf80, 11)
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_data_outbound_handler: enter: dh=0x16caf80, fd=0xb
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_data_outbound_handler: leave
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca230, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca230, handler (0x16caf80, 11)
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_data_outbound_handler: enter: dh=0x16caf80, fd=0xb
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16ca210, setting fd 0xb (item=0x16ca230) done
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_data_outbound_handler: leave
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca090, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca090, handler (0x16c9d50, 4)
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca090, need to check
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_run_io_cb: call: item=0x16ca090, handler (0x16c9d50, 4)
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_cancel_with_err: enter: ctx=0x16ca550, ctx_err=117440566, op_err=0
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16ca070, setting fd 0x4 (item=0x16ca090) done
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_remove_io_cb: call: data=0x16ca1c0, setting fd 0x8 (item=0x16ca1e0) done
GPGME 2015-06-04 18:57:09 <0x1905> gpgme:gpg_io_event: call: gpg=0x16c9d50, event 0x7f6a59a9dad0, type 1, type_data 0x7ffdf87154c0
GPGME 2015-06-04 18:57:09 <0x1905> _gpgme_cancel_with_err: leave
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_op_encrypt_sign: error: Unusable secret key <GPGME>
GPGME 2015-06-04 18:57:09 <0x1905> gpgme_release: call: ctx=0x16ca550
gpg2 key:
--------
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_debug: level=4
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_check_version: call: 0=(nil), req_version=(null), VERSION=1.5.1
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_check_version_internal: call: 0=(nil), req_version=(null), offset_sig_validity=60
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_set_locale: enter: ctx=(nil), category=0, value=C
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_set_locale: leave
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_set_locale: enter: ctx=(nil), category=5, value=C
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_set_locale: leave
GPGME 2015-06-04 18:58:16 <0x1927> gpgme-dinfo: gpgconf='/usr/bin/gpgconf'
GPGME 2015-06-04 18:58:16 <0x1927> gpgme-dinfo: gpg='/usr/bin/gpg2'
GPGME 2015-06-04 18:58:16 <0x1927> gpgme-dinfo: gpgsm='/usr/bin/gpgsm'
GPGME 2015-06-04 18:58:16 <0x1927> gpgme-dinfo: homedir='/home/folkert/.gnupg'
GPGME 2015-06-04 18:58:16 <0x1927> gpgme-dinfo: agent='/home/folkert/.gnupg/S.gpg-agent'
GPGME 2015-06-04 18:58:16 <0x1927> gpgme-dinfo: uisrv='/home/folkert/.gnupg/S.uiserver'
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_new: enter: r_ctx=0x7fff5afd07a8
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_new: leave: ctx=0x20c0810
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_start: enter: ctx=0x20c0810, pattern=0BF38589, secret_only=1
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c0810, fd 4, dir=1 -> tag=0x20c26b0
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c0810, fd 6, dir=1 -> tag=0x20c2800
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c0c10, event 0x7fd8b1a20ad0, type 0, type_data (nil)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_start: leave
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_next: enter: ctx=0x20c0810
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2820, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2820, handler (0x20c0c10, 6)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = (nil), line = sec:u:2048:1:CC73A8A60BF38589:1433443717:::u:::scESC::::::
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c2850, line = fpr:::::::::20CD3FF80DA6C1E46CD9F135CC73A8A60BF38589:
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c2850, line = uid:u::::1433443717::9963CFDE0C8920AD077B06A281992C4008E67E4F::testkey3 (testkey3) <test at vanheusden.com>:
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c2850, line = ssb:u:2048:1:22317805D48C1491:1433443717::::::e::::::
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c2850, line = fpr:::::::::FB6FFB7D8BEC710A745DE86C22317805D48C1491:
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c26d0, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c26d0, handler (0x20c0c10, 4)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c26b0, setting fd 0x4 (item=0x20c26d0) done
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2820, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2820, handler (0x20c0c10, 6)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c2850, line = (null)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c0c10, event 0x7fd8b1a20ad0, type 2, type_data 0x20c2850
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c2800, setting fd 0x6 (item=0x20c2820) done
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c0c10, event 0x7fd8b1a20ad0, type 1, type_data 0x7fff5afd0700
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_next: leave: key=0x20c2850 (20CD3FF80DA6C1E46CD9F135CC73A8A60BF38589)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_release: call: ctx=0x20c0810
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_new: enter: r_ctx=0x7fff5afd0818
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_new: leave: ctx=0x20c2210
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_start: enter: ctx=0x20c2210, pattern=4BE78BDCF3F5352CF624A6DF3AD6F8118300CC02, secret_only=0
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c2210, fd 4, dir=1 -> tag=0x20c1f50
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c2210, fd 6, dir=1 -> tag=0x20c1fa0
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c0c10, event 0x7fd8b1a20ad0, type 0, type_data (nil)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_start: leave
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_next: enter: ctx=0x20c2210
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c1fc0, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c1fc0, handler (0x20c0c10, 6)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = (nil), line = tru::0:1433443869:2410285847:3:1:5
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = (nil), line = pub:-:1024:17:3AD6F8118300CC02:1039074767:::-:::scESC::::::
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = 0x20c2b70, line = fpr:::::::::4BE78BDCF3F5352CF624A6DF3AD6F8118300CC02:
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = 0x20c2b70, line = uid:-::::1203999932::275AAD3E991F1962AD510CC96760907BE70FE668::Bla <bla at com>:
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = 0x20c2b70, line = uid:-::::1203999938::59689891229F1817EF66BFC63D9D0BB2F45F5209::Bla <bla at com>:
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = 0x20c2b70, line = uid:r::::::8A709552E7AB85B53DDAE18A48C0978E5EBF5547::Bla <bla at com>:
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = 0x20c2b70, line = sub:-:2048:16:942E547C12A6B1C2:1039075030::::::e::::::
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = 0x20c2b70, line = fpr:::::::::E69EF5226BBF7EC14F1D7D96942E547C12A6B1C2:
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c1f70, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c1f70, handler (0x20c0c10, 4)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c1f50, setting fd 0x4 (item=0x20c1f70) done
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c1fc0, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c1fc0, handler (0x20c0c10, 6)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c2210, key = 0x20c2b70, line = (null)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c0c10, event 0x7fd8b1a20ad0, type 2, type_data 0x20c2b70
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c1fa0, setting fd 0x6 (item=0x20c1fc0) done
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c0c10, event 0x7fd8b1a20ad0, type 1, type_data 0x7fff5afd0760
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_next: leave: key=0x20c2b70 (4BE78BDCF3F5352CF624A6DF3AD6F8118300CC02)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_release: call: ctx=0x20c2210
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_new: enter: r_ctx=0x7fff5afd07c8
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_new: leave: ctx=0x20c2550
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_set_passphrase_cb: call: ctx=0x20c2550, passphrase_cb=(nil)/(nil)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_set_pinentry_mode: call: ctx=0x20c2550, pinentry_mode=4
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_set_passphrase_cb: call: ctx=0x20c2550, passphrase_cb=0x403420/0x20c0058
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_set_passphrase_cb: call: ctx=0x20c2550, passphrase_cb=0x403420/0x20c0058
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_new: enter: r_ctx=0x7fff5afd0768
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_new: leave: ctx=0x20c0810
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_start: enter: ctx=0x20c0810, pattern=0BF38589, secret_only=0
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c0810, fd 4, dir=1 -> tag=0x20c4fd0
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c0810, fd 6, dir=1 -> tag=0x20c5120
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c1d50, event 0x7fd8b1a20ad0, type 0, type_data (nil)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_start: leave
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_next: enter: ctx=0x20c0810
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c5140, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c5140, handler (0x20c1d50, 6)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = (nil), line = tru::0:1433443869:2410285847:3:1:5
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = (nil), line = pub:u:2048:1:CC73A8A60BF38589:1433443717:::u:::scESC::::::
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c5170, line = fpr:::::::::20CD3FF80DA6C1E46CD9F135CC73A8A60BF38589:
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c5170, line = uid:u::::1433443717::9963CFDE0C8920AD077B06A281992C4008E67E4F::testkey3 (testkey3) <test at vanheusden.com>:
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c5170, line = sub:u:2048:1:22317805D48C1491:1433443717::::::e::::::
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c5170, line = fpr:::::::::FB6FFB7D8BEC710A745DE86C22317805D48C1491:
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c4ff0, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c4ff0, handler (0x20c1d50, 4)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c4fd0, setting fd 0x4 (item=0x20c4ff0) done
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c5140, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c5140, handler (0x20c1d50, 6)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:keylist_colon_handler: call: ctx=0x20c0810, key = 0x20c5170, line = (null)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c1d50, event 0x7fd8b1a20ad0, type 2, type_data 0x20c5170
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c5120, setting fd 0x6 (item=0x20c5140) done
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c1d50, event 0x7fd8b1a20ad0, type 1, type_data 0x7fff5afd06c0
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_keylist_next: leave: key=0x20c5170 (20CD3FF80DA6C1E46CD9F135CC73A8A60BF38589)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_release: call: ctx=0x20c0810
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_signers_clear: call: ctx=0x20c2550
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_signers_add: enter: ctx=0x20c2550, key=0x20c2850 (20CD3FF80DA6C1E46CD9F135CC73A8A60BF38589)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_signers_add: leave
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_encrypt_sign: enter: ctx=0x20c2550, flags=0x1, plain=0x20c2ed0, cipher=0x20c3f20
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_encrypt_sign: check: ctx=0x20c2550, recipient[0] = 0x20c5170 (20CD3FF80DA6C1E46CD9F135CC73A8A60BF38589)
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_sig_notation_get: call: ctx=0x20c2550, ctx->sig_notations=(nil)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c2550, fd 4, dir=1 -> tag=0x20c2070
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c2550, fd 8, dir=1 -> tag=0x20c21c0
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_add_io_cb: call: ctx=0x20c2550, fd 11, dir=0 -> tag=0x20c2210
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c1d50, event 0x7fd8b1a20ad0, type 0, type_data (nil)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2230, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2230, handler (0x20c2ed0, 11)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_data_outbound_handler: enter: dh=0x20c2ed0, fd=0xb
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_data_outbound_handler: leave
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2230, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2230, handler (0x20c2ed0, 11)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_data_outbound_handler: enter: dh=0x20c2ed0, fd=0xb
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c2210, setting fd 0xb (item=0x20c2230) done
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_data_outbound_handler: leave
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2090, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2090, handler (0x20c1d50, 4)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2090, need to check
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_run_io_cb: call: item=0x20c2090, handler (0x20c1d50, 4)
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_cancel_with_err: enter: ctx=0x20c2550, ctx_err=117440566, op_err=0
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c2070, setting fd 0x4 (item=0x20c2090) done
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_remove_io_cb: call: data=0x20c21c0, setting fd 0x8 (item=0x20c21e0) done
GPGME 2015-06-04 18:58:16 <0x1927> gpgme:gpg_io_event: call: gpg=0x20c1d50, event 0x7fd8b1a20ad0, type 1, type_data 0x7fff5afd06c0
GPGME 2015-06-04 18:58:16 <0x1927> _gpgme_cancel_with_err: leave
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_op_encrypt_sign: error: Unusable secret key <GPGME>
GPGME 2015-06-04 18:58:16 <0x1927> gpgme_release: call: ctx=0x20c2550
Folkert van Heusden
More information about the Gnupg-devel
mailing list