Home GnuPG
Diffusion GPGME a0cc6e01a890

g10: Add new delete operations that allow more flags.

Description

g10: Add new delete operations that allow more flags.

* NEWS: Document new interfaces.
* doc/gpgme.texi: Document new interfaces.
* src/gpgme.h.in (GPGME_DELETE_ALLOW_SECRET, GPGME_DELETE_FORCE,
gpgme_op_delete_ext_start, gpgme_op_delete_ext): New.
* src/delete.c (delete_start): Change allow_secret argument to flags.
(gpgme_op_delete_ext, gpgme_op_delete_ext_start): New functions.
* src/engine-backend.h (delete): Change allow_secret argument to flags.
* src/engine.c (_gpgme_engine_op_delete): Likewise.
* src/engine.h (_gpgme_engine_op_delete): Likewise (for prototype).
* src/engine-gpgsm.c (gpgsm_delete): Likewise.
* src/engine-gpg.c (gpg_delete): Likewise.  Implement GPGME_DELETE_FORCE.
* src/gpgme.def (gpgme_op_delete_ext, gpgme_op_delete_ext_start): New.
* src/libgpgme.vers (gpgme_op_delete_ext, gpgme_op_delete_ext_start): New.
  • Signed-off-by: Marcus Brinkmann <mb@g10code.com>
  • GnuPG-bug-id: T2916

Details

Provenance
marcusAuthored on Aug 11 2017, 7:13 PM
Parents
rMdfb3ca856805: doc: Clarify import keys operation.
Branches
Unknown
Tags
Unknown
Tasks
T2916: GPGME should have a way to suppress delete key prompts