Home GnuPG
Diffusion GnuPG 2baa00ea1863

gpg: Add property "fpr" for use by --export-filter.

Description

gpg: Add property "fpr" for use by --export-filter.

* g10/export.c (push_export_filters): New.
(pop_export_filters): New.
(export_pubkey_buffer): Add args prefix and prefixlen.  Adjust
callers.
* g10/import.c (impex_filter_getval): Add property "fpr".
* g10/main.h (struct impex_filter_parm_s): Add field hexfpr.

The push and pop feature will help us to use the export filter
internally in gpg. Same for the export_pubkey_buffer change.

  • GnuPG-bug-id: T4856
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 13 2020, 1:17 PM
Parents
rG111ba901f5cf: gpg: Add a new OpenPGP card vendor.
Branches
Unknown
Tags
Unknown
Tasks
T4856: GPG: Key Exchange Put public OpenPGP key into signature