gnupg/sm
Werner Koch 9bf650db02
sm: Print a better diagnostic for encryption certificate selection.
* sm/certlist.c (gpgsm_add_to_certlist): Add diagnostic and fold two
similar branches.
--

Without this patch gpgsm printed:

 gpgsm[23045]: DBG: chan_6 <- RECIPIENT edward.tester@demo.gnupg.com
 gpgsm[23045]: certificate is not usable for encryption
 gpgsm[23045]: certificate is good

with this patch a

 gpgsm[23045]: looking for another certificate

is inserted into the log.

Signed-off-by: Werner Koch <wk@gnupg.org>
2019-06-04 09:24:03 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
call-agent.c scd: New standard attributes $ENCRKEYID and $SIGNKEYID. 2019-04-03 13:16:22 +02:00
call-dirmngr.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
certchain.c all: fix more spelling errors 2018-10-25 16:53:05 -04:00
certcheck.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
certdump.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
certlist.c sm: Print a better diagnostic for encryption certificate selection. 2019-06-04 09:24:03 +02:00
certreqgen-ui.c common: Extend function pubkey_algo_string. 2019-04-02 18:50:55 +02:00
certreqgen.c sm: Fix certificate creation with key on card. 2019-02-21 17:32:39 +01:00
decrypt.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
delete.c sm: Change keydb code to use the keybox locking. 2019-05-14 13:36:08 +02:00
encrypt.c gpg,sm: String changes for compliance diagnostics. 2017-07-28 17:46:43 +02:00
export.c kbx: Unify the fingerprint search modes. 2019-03-14 14:55:06 +01:00
fingerprint.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c sm: Add a couple of debug calls to the keydb module. 2019-05-15 08:52:21 +02:00
gpgsm.h sm: Avoid confusing diagnostic for the default key. 2019-05-27 15:44:16 +02:00
import.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
keydb.c sm: Add a couple of debug calls to the keydb module. 2019-05-15 08:52:21 +02:00
keydb.h sm: Add a couple of debug calls to the keydb module. 2019-05-15 08:52:21 +02:00
keylist.c sm: Add a couple of debug calls to the keydb module. 2019-05-15 08:52:21 +02:00
minip12.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
minip12.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
misc.c sm: Prepare algo mapping to handle values > 255. 2019-02-21 08:51:50 +01:00
passphrase.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
passphrase.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
qualified.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
server.c Return better error code for some getinfo IPC commands. 2019-06-03 16:33:10 +02:00
sign.c sm: Avoid confusing diagnostic for the default key. 2019-05-27 15:44:16 +02:00
verify.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00