1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-28 21:50:02 +02:00
gnupg/sm
Werner Koch 0cb622d632
gpgsm: Allow parsing of PKCS#12 files with two private keys.
* sm/minip12.c (struct p12_parse_ctx_s): Add privatekey2.
(parse_shrouded_key_bag): Handle a second private key.
(p12_parse_free_kparms): New.

* sm/import.c (parse_p12): Factor some code out to ...
(p12_to_skey): this.
(parse_p12): Use p12_parse_free_kparms.
--

Take care: We allow parsing of a second private key but we are not yet
able to import the second private key.

The whole things is required to at least import the certificates of
current pkcs#12 files as created by the German Elster tax system.  No
test data, sorry.
2024-01-15 09:56:07 +01:00
..
call-agent.c gpg,gpgsm: Hide password in debug output also for asked passwords. 2023-11-14 15:09:27 +01: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: Support ECDSA in de-vs mode. 2023-11-08 17:09:22 +01:00
delete.c sm: Implement delete key in keyboxd mode 2020-09-21 09:20:40 +02:00
encrypt.c gpgsm: Cleanup of legacy variable name use. 2023-11-08 17:09:22 +01:00
export.c sm: Flag Brainpool curves as compliant for all other operations. 2023-10-24 14:54:26 +02:00
fingerprint.c sm: Flag Brainpool curves as compliant for all other operations. 2023-10-24 14:54:26 +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 sm: Flag Brainpool curves as compliant for all other operations. 2023-10-24 14:54: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 gpgsm: Allow parsing of PKCS#12 files with two private keys. 2024-01-15 09:56:07 +01:00
keydb.c keyboxd: Pass lock info back to gpg and gpgsm. 2023-12-18 16:23:19 +01:00
keydb.h sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
keylist.c gpgsm: Set validity flag in keylisting to n for untrusted root cert. 2023-11-27 13:39:45 +01:00
Makefile.am sm: Major rewrite of the PKCS#12 parser 2023-06-28 17:34:19 +02:00
minip12.c gpgsm: Allow parsing of PKCS#12 files with two private keys. 2024-01-15 09:56:07 +01:00
minip12.h gpgsm: Allow parsing of PKCS#12 files with two private keys. 2024-01-15 09:56:07 +01: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: Support ECDSA in de-vs mode. 2023-11-08 17:09:22 +01:00
t-minip12.c gpgsm: Allow parsing of PKCS#12 files with two private keys. 2024-01-15 09:56:07 +01:00
verify.c gpgsm: Improve the status line for --verify errors. 2024-01-15 09:13:46 +01:00