diff options
author | Werner Koch <[email protected]> | 2025-01-29 17:06:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-01-29 17:06:15 +0000 |
commit | 159e801043de479d9899fccb07a79fbbcc76e751 (patch) | |
tree | cc86421520a3efe5d37925aee1682ea5bfd33aa8 /g10/revoke.c | |
parent | gpgsm: Allow CSR generation with an unprotected key. (diff) | |
download | gnupg-159e801043de479d9899fccb07a79fbbcc76e751.tar.gz gnupg-159e801043de479d9899fccb07a79fbbcc76e751.zip |
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.
Diffstat (limited to 'g10/revoke.c')
0 files changed, 0 insertions, 0 deletions