Home GnuPG
Diffusion GnuPG 159e801043de

gpgsm: Allow unattended PKCS#12 export without passphrase.

Description

gpgsm: Allow unattended PKCS#12 export without passphrase.

* sm/gpgsm.c (oNoProtection): New.
(opts): Add "--no-protection".
(main): PArse it.
* sm/gpgsm.h (struct server_control_s): Add field no_protection.
* sm/server.c (option_handler): Add option "no-protection".
(reset_notify): Clear option.
* sm/export.c (export_p12): Use empty passphrase if option is set.

Details

Provenance
wernerAuthored on Wed, Jan 29, 6:06 PM
Parents
rG89055f24f4d3: gpgsm: Allow CSR generation with an unprotected key.
Branches
Unknown
Tags
Unknown