Home GnuPG
Diffusion GnuPG dcc4cd838216

gpg: Improve the new parse_subkey_algostr_usagestr fucntion.
dcc4cd838216Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Improve the new parse_subkey_algostr_usagestr fucntion.

* g10/keygen.c (parse_usagestr): Allow "cert".
(generate_subkeypair): Factor expire parsing out to ...
(parse_subkey_algostr_usagestr): here.  Rename to ...
(parse_algo_usage_expire): this.  Add arg 'for_subkey'.  Set CERT for
primary key and check that it is not set for subkeys.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 2 2016, 5:01 PM
Parents
rG8f2a053a0ffa: gpg: New command --quick-addkey.
Branches
Unknown
Tags
Unknown

Event Timeline