mirror of
git://git.gnupg.org/gnupg.git
synced 2024-09-25 15:41:41 +02:00
ce29272e24
* common/openpgp-oid.c (openpgp_is_curve_supported): Add optional arg R_ALGO and change all callers. * common/util.h (GPG_ERR_UNKNOWN_FLAG): New error code. * g10/options.h (struct opt): Add field DEF_NEW_KEY_ALGO. * g10/gpg.c (oDefaultNewKeyAlgo): New enum. (opts): New option "--default-new-key-algo". (main): Set the option. * g10/keygen.c: Remove DEFAULT_STD_ FUTURE_STD_ constants and replace them by ... (DEFAULT_STD_KEY_PARAM, FUTURE_STD_KEY_PARAM): new string constants. (get_keysize_range): Remove arg R_DEF and return that value instead. Change all callers. (gen_rsa): Use get_keysize_range instead of the removed DEFAULT_STD_KEYSIZE. (parse_key_parameter_part): New function. (parse_key_parameter_string): New function. (quick_generate_keypair): Refactor using parse_key_parameter_string. (generate_keypair): Ditto. (parse_algo_usage_expire): Ditto. -- This new option is intended to be used in the forthcoming --set-profile command of gpgconf. It allows to provide a gpg configuration with custom defaults for a new key using the simple commands which use the default algorithm set. Signed-off-by: Werner Koch <wk@gnupg.org> |
||
---|---|---|
.. | ||
apdu.c | ||
apdu.h | ||
app-common.h | ||
app-dinsig.c | ||
app-geldkarte.c | ||
app-help.c | ||
app-nks.c | ||
app-openpgp.c | ||
app-p15.c | ||
app-sc-hsm.c | ||
app.c | ||
atr.c | ||
atr.h | ||
ccid-driver.c | ||
ccid-driver.h | ||
ChangeLog-2011 | ||
command.c | ||
iso7816.c | ||
iso7816.h | ||
Makefile.am | ||
scdaemon-w32info.rc | ||
scdaemon.c | ||
scdaemon.h |