diff options
author | Andre Heinecke <[email protected]> | 2019-10-29 15:11:54 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2019-10-29 15:11:54 +0000 |
commit | 0224408c6332648461bdbba562f1a61c947c8ed3 (patch) | |
tree | a2a057e151cb4b0c563ddb796b8b7835d6a42750 /doc | |
parent | cpp: Minor coding style fix (diff) | |
download | gpgme-0224408c6332648461bdbba562f1a61c947c8ed3.tar.gz gpgme-0224408c6332648461bdbba562f1a61c947c8ed3.zip |
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:
GnuPG-Bug-Id: T4734
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpgme.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 52abd4a7..36c2b32b 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -3150,6 +3150,10 @@ trust-model changes the default trust-model for future operations. A change in the trust-model also can have unintended side effects, like rebuilding the trust-db. +@item "extended-edit" +This flag passes the option @option{--expert} to gpg key edit. This +can be used to get additional callbacks in @code{gpgme_op_edit}. + @end table This function returns @code{0} on success. |