Home GnuPG
Diffusion GnuPG de9b2340153d

gpg: Add --encrypt-to-default-key.
de9b2340153dUnpublished

Unpublished Commit ยท Learn More

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

Description

gpg: Add --encrypt-to-default-key.

* g10/getkey.c (parse_def_secret_key): Drop the static qualifier and
export the function.
* g10/gpg.c (enum cmd_and_opt_values): Add value oEncryptToDefaultKey.
(opts): Handle oEncryptToDefaultKey.
(main): Likewise.
* g10/options.h (opt): Add field encrypt_to_default_key.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>
  • GnuPG-bug-id: T807

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 3 2015, 11:39 PM
Parents
rGe16d7168c54e: gpg: Allow multiple --default-key options. Take the last available key.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGde9b2340153d: gpg: Add --encrypt-to-default-key. (authored by Neal H. Walfield <neal@g10code.com>).Nov 4 2015, 1:19 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:08 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:31 PM