gnupg/sm
Werner Koch a4e04375e8
sm: Rework the PKCS#12 parser to support DFN issued keys.
* sm/minip12.c (struct p12_parse_ctx_s): New.  Use this instead of
passing several parameters to most functions.
(parse_pag_data): Factor things out to  ...
parse_shrouded_key_bag): new.
(parse_cert_bag): New.
(parse_bag_data): New.
(p12_parse): Setup the parse context.
--

To support newer pkcs#12 files like those issued by the DFN we need to
support another ordering of data elements.  This rework reflects the
P12 data structure a bit better than our old ad-hoc hacks.  Tests could
only be done with the certificate parts and not the encrypted private
keys.

GnuPG-bug-id: 6037
2022-06-20 16:47:41 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am build: Fix "ksba.h not found" problem 2021-09-08 15:18:38 +02:00
call-agent.c agent: New flag "qual" for the trustlist.txt. 2022-02-27 12:26:38 +01:00
call-dirmngr.c sm: Print diagnostic about CRL problems due to Tor mode. 2022-04-11 17:57:14 +02:00
certchain.c agent: New flag "qual" for the trustlist.txt. 2022-02-27 12:26:38 +01:00
certcheck.c sm: Avoid memory leaks and double double-free 2021-05-20 13:51:47 +02:00
certdump.c sm: Add LotW support to the key listing 2021-09-09 13:30:22 +02:00
certlist.c gpgsm: New option --compatibility-flags. 2022-06-13 17:50: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
decrypt.c gpgsm: New option --require-compliance 2022-03-08 19:28:16 +01:00
delete.c sm: Implement delete key in keyboxd mode 2020-09-21 09:20:40 +02:00
encrypt.c gpgsm: New option --require-compliance 2022-03-08 19:28:16 +01:00
export.c sm: Ask for the password for password based decryption (pwri) 2021-05-17 15:42:27 +02:00
fingerprint.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c gpgsm: New option --compatibility-flags. 2022-06-13 17:50:26 +02:00
gpgsm.h gpgsm: New option --compatibility-flags. 2022-06-13 17:50:26 +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 sm,w32: Fix Unicode problem on key box creation. 2021-07-29 11:51:25 +02:00
keydb.h sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
keylist.c gpgsm: New option --compatibility-flags. 2022-06-13 17:50:26 +02:00
minip12.c sm: Rework the PKCS#12 parser to support DFN issued keys. 2022-06-20 16:47:41 +02:00
minip12.h sm: Silence some output on --quiet 2021-02-24 08:40:06 +01:00
misc.c sm: Print diagnostic about CRL problems due to Tor mode. 2022-04-11 17:57:14 +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 Replace most of the remaining stdio calls by estream calls. 2020-10-20 12:15:56 +02:00
server.c Remove remaining support for WindowsCE 2022-06-03 10:08:21 +02:00
sign.c sm: Fix use of value NONE in gnupg_isotime_t type. 2022-02-18 11:11:12 +09:00
t-minip12.c sm: Add support to export ECC private keys. 2020-04-27 19:54:39 +02:00
verify.c sm: Use gpg_err_code() instead of -1 2022-04-25 12:09:50 +02:00