1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-13 00:09:51 +02:00
gnupg/sm
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 969abcf40c
also includes some changes taken from
commit a759fa963a
(sm: Improve readability of the data verification output.)

Signed-off-by: Werner Koch <wk@gnupg.org>
2020-07-03 17:08:58 +02:00
..
call-agent.c sm: Show the usage flags when generating a key from a card. 2019-08-21 13:59:17 +02:00
call-dirmngr.c sm: Lookup missing issuers first using authorityInfoAccess. 2020-04-16 18:05:44 +02:00
certchain.c sm: Always allow authorityInfoAccess lookup if CRLs are also enabled. 2020-04-16 19:07:36 +02:00
certcheck.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02:00
certdump.c sm: Print the serial number of a cert also in decimal. 2020-06-26 15:27:51 +02:00
certlist.c sm: Avoid confusing diagnostic for the default key. 2019-05-27 15:48:41 +02:00
certreqgen-ui.c sm: Show the usage flags when generating a key from a card. 2019-08-21 13:59:17 +02:00
certreqgen.c sm: Fix possible NULL deref in error messages of --gen-key. 2020-03-30 17:32:42 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
decrypt.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02:00
delete.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
encrypt.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02:00
export.c sm: Fix minor memory leak in --export-p12. 2018-02-14 14:54:51 +01:00
fingerprint.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c sm: Consider certificates w/o CRL DP as valid. 2020-03-27 21:20:13 +01:00
gpgsm.h sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02:00
import.c common: Change argument order of log_printhex. 2020-05-12 18:51:47 +02:00
keydb.c sm, w32: Fix initial keybox creation 2017-11-14 12:26:29 +01:00
keydb.h gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
keylist.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
minip12.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01: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: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02: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 Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
server.c Return better error code for some getinfo IPC commands. 2019-06-03 16:33:50 +02:00
sign.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02:00
verify.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 17:08:58 +02:00