Home GnuPG
Diffusion GnuPG 891ab23411b7

gpg: Make --export-options work with --export-secret-keys.
891ab23411b7Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Make --export-options work with --export-secret-keys.

* g10/export.c (export_seckeys): Add arg OPTIONS and pass it to
do_export.
(export_secsubkeys): Ditto.
* g10/gpg.c (main): Pass opt.export_options to export_seckeys and
export_secsubkeys

Back in the old days we did not used the export options for secret
keys export because of a lot of duplicated code and that the old
secring.gpg was anyway smaller that the pubring.gpg. With 2.1 it was
pretty easy to enable it.

  • Reported-by: Peter Lebbing
  • GnuPG-bug-id: T2973

Details

Provenance
wernerAuthored on Mar 1 2017, 2:41 PM
Parents
rG2bbdeb8ee87a: gpg: Allow creating keys using an existing ECC key.
Branches
Unknown
Tags
Unknown

Event Timeline