1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-14 00:19:50 +02:00
gnupg/sm
Werner Koch 24b3a5a579
sm: Support more HMAC algos in the pkcs#12 parser.
* sm/minip12.c (oid_hmacWithSHA1): New.  Also for the SHA-2 algos.
(digest_algo_from_oid): New.
(set_key_iv_pbes2): Add arg digest_algo.
(crypt_block): Ditto.
(decrypt_block): Ditto.
(parse_bag_encrypted_data): Parse the optional prf part and get the
hmac algorithm.
(parse_shrouded_key_bag): Ditto.
(p12_build): Pass SHA1 for digest_algo.

* sm/t-minip12.c (run_one_test): Print failed values in verbose mode.

* tests/cms/samplekeys/nistp256-openssl-self-signed.p12: New.
* tests/cms/samplekeys/Description-p12: Add this one.
* tests/cms/Makefile.am (EXTRA_DIST): Ditto.
--

This supports the modern algorithms, i.e. using SHA256 for the KDF
which is the default in openssl unless the -legacy option is used.

GnuPG-bug-id: 6536
2023-10-06 11:02:19 +02:00
..
call-agent.c agent: Add trustlist flag "de-vs". 2023-04-03 14:10:33 +02:00
call-dirmngr.c gpgsm: Support SENDCERT_SKI for --call-dirmngr 2023-06-19 14:05:22 +02:00
certchain.c gpgsm: Add --always-trust feature. 2023-08-31 12:30:26 +02:00
certcheck.c sm: Avoid memory leaks and double double-free 2021-05-20 13:51:47 +02:00
certdump.c gpgsm: New option --no-pretty-dn 2023-03-16 09:46:05 +01:00
certlist.c gpgsm: Add --always-trust feature. 2023-08-31 12:30:26 +02:00
certreqgen-ui.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
certreqgen.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
decrypt.c gpgsm: New option --input-size-hint. 2023-06-15 12:28:55 +02:00
delete.c sm: Implement delete key in keyboxd mode 2020-09-21 09:20:40 +02:00
encrypt.c gpgsm: New option --input-size-hint. 2023-06-15 12:28:55 +02:00
export.c sm: Ask for the password for password based decryption (pwri) 2021-05-17 15:42:27 +02:00
fingerprint.c gpgsm: Allow ECC encryption keys with just keyAgreement specified. 2022-10-25 11:57:23 +02:00
gpgsm-w32info.rc w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:06:37 +02:00
gpgsm.c gpgsm: Add --always-trust feature. 2023-08-31 12:30:26 +02:00
gpgsm.h gpgsm: Add --always-trust feature. 2023-08-31 12:30:26 +02:00
gpgsm.w32-manifest.in w32: Add missing supportedOS Ids for Windows-10 2023-05-24 14:16:10 +02:00
import.c sm: Fix use of value NONE in gnupg_isotime_t type. 2022-02-18 11:11:12 +09:00
keydb.c kbx: Add extra flags to fopen for use by Windows. 2023-05-04 14:37:48 +02:00
keydb.h sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
keylist.c gpgsm: Print revocation date and reason in cert listings. 2022-12-05 16:42:08 +01:00
Makefile.am sm: Major rewrite of the PKCS#12 parser 2023-06-28 17:34:19 +02:00
minip12.c sm: Support more HMAC algos in the pkcs#12 parser. 2023-10-06 11:02:19 +02:00
minip12.h sm: Major rewrite of the PKCS#12 parser 2023-06-28 17:34:19 +02:00
misc.c sm: Print diagnostic about CRL problems due to Tor mode. 2022-04-11 17:57:14 +02:00
passphrase.c gpg,common,scd,sm: Function prototype fixes for modern compiler. 2022-09-13 16:34:00 +09:00
passphrase.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
qualified.c Replace most of the remaining stdio calls by estream calls. 2020-10-20 12:15:56 +02:00
server.c gpgsm: Add --always-trust feature. 2023-08-31 12:30:26 +02:00
sign.c gpgsm: New option --input-size-hint. 2023-06-15 12:28:55 +02:00
t-minip12.c sm: Support more HMAC algos in the pkcs#12 parser. 2023-10-06 11:02:19 +02:00
verify.c gpgsm: New option --input-size-hint. 2023-06-15 12:28:55 +02:00