diff options
author | Werner Koch <[email protected]> | 2021-03-11 10:49:07 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-03-11 10:49:07 +0000 |
commit | 0821e2b1495e8944a5a1b5ba20ad5f403dde0dd0 (patch) | |
tree | ccffdc5d0b2166a0b17d34199a1783502400f24e /doc | |
parent | qt: Add method for getting config entries for components by entry name (diff) | |
download | gpgme-0821e2b1495e8944a5a1b5ba20ad5f403dde0dd0.tar.gz gpgme-0821e2b1495e8944a5a1b5ba20ad5f403dde0dd0.zip |
core: New flag GPGME_KEYSIGN_FORCE.
* src/gpgme.h.in (GPGME_KEYSIGN_FORCE): New.
* src/engine-gpg.c (gpg_keysign): Implement.
* tests/run-keysign.c (show_usage): Add option --force
--
GnuPG-bug-id: 4584
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpgme.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 99a228b3..11147862 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -4699,6 +4699,11 @@ separated user IDs. Force the creation of a key signature without an expiration date. This overrides @var{expire} and any local configuration of the engine. +@item GPGME_KEYSIGN_FORCE +Force the creation of a new signature even if one already exists. +This flag has an effect only if the gpg version is at least 2.2.28 but +won't return an error with older versions. + @end table The function returns zero on success, @code{GPG_ERR_NOT_SUPPORTED} if |