diff options
author | Werner Koch <[email protected]> | 2014-09-27 13:14:13 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-09-27 13:14:13 +0000 |
commit | f3625bb018fa8d5bc754f982996f8788386f0a9d (patch) | |
tree | 113515152d04891d29180ef1ecab459b27a2a1c1 /common/t-http.c | |
parent | doc: Update the file OpenPGP (diff) | |
download | gnupg-f3625bb018fa8d5bc754f982996f8788386f0a9d.tar.gz gnupg-f3625bb018fa8d5bc754f982996f8788386f0a9d.zip |
gpg: Simplify command --gen-key and add --full-gen-key.
* g10/gpg.c (aFullKeygen): New.
(opts): Add command --full-key-gen.
(main): Implement it.
* g10/keygen.c (DEFAULT_STD_ALGO): Replace wrong GCRY_PK_RSA although
the value is identical.
(DEFAULT_STD_CURVE): New.
(DEFAULT_STD_SUBALGO): New.
(DEFAULT_STD_SUBKEYSIZE): New.
(DEFAULT_STD_SUBCURVE): New.
(quick_generate_keypair): Use new macros here.
(generate_keypair): Add arg "full" and fix call callers. Do not ask
for keysize in non-full node.
(ask_user_id): Add arg "full" and simplify for non-full mode.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions