Home GnuPG
Diffusion GnuPG f1304ee9b21e

gpg: Do not use a fixed string for --gpgconf-list:default_pubkey_algo.
f1304ee9b21eUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Do not use a fixed string for --gpgconf-list:default_pubkey_algo.

* g10/keygen.c (get_default_pubkey_algo): New.
(parse_key_parameter_string): Use it.
* g10/gpg.c (gpgconf_list): Take value from new function.

Note that consumers of that gpgconf-list value may need to be adjusted
to that new value. It should anyway only be used to display the
default algorithm.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 12 2016, 10:50 AM
Parents
rG522e6f798db9: gpg: Fix algo string parsing of --quick-addkey.
Branches
Unknown
Tags
Unknown

Event Timeline