Home GnuPG
Diffusion GnuPG 01285f909e43

gpg: Extend the --quick-gen-key command.
01285f909e43Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Extend the --quick-gen-key command.

* g10/keygen.c (quickgen_set_para): Add arg 'use'.
(quick_generate_keypair): Add args 'algostr', 'usagestr', and
'expirestr'.  Implement primary only key mode.
(parse_algo_usage_expire): Set NBITS for the default algo.
* g10/gpg.c (main): Extend --quick-gen-key command.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 2 2016, 6:38 PM
Parents
rGdcc4cd838216: gpg: Improve the new parse_subkey_algostr_usagestr fucntion.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG01285f909e43: gpg: Extend the --quick-gen-key command. (authored by Werner Koch <wk@gnupg.org>).Jun 2 2016, 6:38 PM