Home GnuPG
Diffusion GPGME 0224408c6332

core: Add cert-notation support and extended-edit

Description

core: Add cert-notation support and extended-edit

* src/context.h (gpgme_context): Add new flag for extended-edit.
* src/engine-gpg.c (append_args_from_sig_notations): Add flags to
control the kind of notations.
(gpg_edit): Respect extended-edit and notations.
(gpg_encrypt_sign, gpg_sign): Update call to
append_args_from_sig_notations.
* src/gpgme.c (gpgme_set_ctx_flag, gpgme_get_ctx_flag): Support
extended-edit.
* NEWS, doc/gpgme.texi: Mention extended-edit.

This provides a way to get the extended key-edit interface without
breaking bad state machines that rely on the current command flow.

A use case for this is to enable multiple local signatures, which
can be used together with annotations for:

Details

Provenance
aheineckeAuthored on Oct 29 2019, 4:11 PM
Parents
rM9d8369881882: cpp: Minor coding style fix
Branches
Unknown
Tags
Unknown
Tasks
T4734: Kleopatra: Use self signature notations as search tags