Werner Koch
4a36adaa64
sm: Exclude rsaPSS from de-vs compliance mode.
...
* common/compliance.h (PK_ALGO_FLAG_RSAPSS): New.
* common/compliance.c (gnupg_pk_is_compliant): Add arg alog_flags and
test rsaPSS. Adjust all callers.
* common/util.c (pubkey_algo_to_string): New.
(gnupg_pk_is_allowed): Ditto.
* sm/misc.c (gpgsm_ksba_cms_get_sig_val): New wrapper function.
(gpgsm_get_hash_algo_from_sigval): New.
* sm/certcheck.c (gpgsm_check_cms_signature): Change type of sigval
arg. Add arg pkalgoflags. Use the PK_ALGO_FLAG_RSAPSS.
* sm/verify.c (gpgsm_verify): Use the new wrapper and new fucntion to
also get the algo flags. Pass algo flags along. Change some of the
info output to be more like current master.
--
Signed-off-by: Werner Koch <wk@gnupg.org>
This backport from master
commit 969abcf40cdfc65f3ee859c5e62889e1a8ccde91
also includes some changes taken from
commit a759fa963a42e0652134130029217270b6d5d00b
(sm: Improve readability of the data verification output.)
Signed-off-by: Werner Koch <wk@gnupg.org>
2020-07-03 17:08:58 +02:00
..
2018-03-23 08:37:14 +01:00
2017-05-11 18:12:37 +02:00
2020-03-19 15:48:12 +01:00
2017-07-18 18:08:25 +02:00
2018-02-14 12:21:44 +01:00
2018-08-28 16:47:38 +02:00
2018-02-14 12:21:44 +01:00
2020-03-27 21:20:13 +01:00
2016-11-05 12:02:19 +01:00
2017-05-10 11:13:12 +09:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-10-28 10:20:17 +01:00
2017-04-28 10:06:33 +09:00
2015-04-24 16:42:28 +02:00
2016-11-05 12:02:19 +01:00
2020-07-03 17:08:58 +02:00
2020-07-03 17:08:58 +02:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2011-02-04 12:57:53 +01:00
2019-02-19 15:49:55 +09:00
2018-05-02 14:07:39 +02:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2011-02-04 12:57:53 +01:00
2016-11-05 12:02:19 +01:00
2014-03-12 18:35:36 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-11-01 18:35:29 +01:00
2016-11-05 12:02:19 +01:00
2013-05-07 21:35:48 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2020-01-17 14:28:13 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-11-17 12:50:22 +01:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2020-02-10 16:37:34 +01:00
2020-02-10 16:37:34 +01:00
2015-12-14 16:21:19 +01:00
2016-11-05 12:02:19 +01:00
2020-02-17 11:38:23 +01:00
2017-02-16 17:21:05 +01:00
2017-03-07 10:42:46 +09:00
2020-05-12 18:51:47 +02:00
2020-05-12 18:51:47 +02:00
2019-04-16 13:27:44 +09:00
2016-11-05 12:02:19 +01:00
2018-07-29 18:39:32 +02:00
2018-07-29 18:39:32 +02:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2018-05-02 19:03:07 +02:00
2018-12-05 08:23:57 +01:00
2018-12-05 08:23:57 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2019-04-16 13:27:44 +09:00
2019-08-12 10:46:26 +09:00
2016-11-05 12:02:19 +01:00
2019-01-29 20:17:29 +01:00
2020-04-16 08:25:55 +02:00
2020-04-15 15:31:56 +02:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2019-02-11 10:59:34 +01:00
2019-02-11 10:59:34 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2020-07-03 17:08:58 +02:00
2018-03-23 08:37:14 +01:00
2016-11-05 12:02:19 +01:00
2018-10-24 20:30:17 +02:00
2017-04-28 10:06:33 +09:00
2018-09-06 11:46:20 +09:00
2017-05-24 17:01:48 +02:00
2016-11-05 12:02:19 +01:00
2017-06-23 12:01:20 +02:00
2019-02-11 10:59:34 +01:00
2019-02-11 10:59:34 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2018-10-02 14:31:56 +09:00
2017-07-25 12:43:37 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-12-20 18:39:30 +01:00
2017-01-12 10:39:19 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 13:29:18 +01:00
2016-11-05 12:02:19 +01:00
2018-07-29 18:39:32 +02:00
2016-11-05 12:02:19 +01:00
2019-01-29 20:17:29 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2017-05-24 17:07:13 +02:00
2017-07-17 15:53:16 +02:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2017-01-05 20:43:40 +01:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2017-01-17 10:19:06 +01:00
2017-02-24 13:48:28 +01:00
2019-05-27 11:41:35 +02:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2020-07-03 17:08:58 +02:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2019-02-12 16:30:31 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00