core: New convenience constant GPGME_KEYLIST_MODE_LOCATE.
* src/gpgme.h.in (GPGME_KEYLIST_MODE_LOCATE): New. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
e5273fc443
commit
55e9a94680
41
NEWS
41
NEWS
@ -1,7 +1,45 @@
|
|||||||
Noteworthy changes in version 1.10.1 (unreleased)
|
Noteworthy changes in version 1.10.1 (unreleased)
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
||||||
* New context flag "no-symkey-cache".
|
* New encryption API to support direct key specification including
|
||||||
|
hidden recipients option and taking keys from a file. This also
|
||||||
|
allows to enforce the use of a subkey.
|
||||||
|
|
||||||
|
* New encryption flag for the new API to enforce the use of plain
|
||||||
|
mail address (addr-spec).
|
||||||
|
|
||||||
|
* The import API can now tell whether v3 keys are skipped. These old
|
||||||
|
and basically broken keys are not anymore supported by GnuPG 2.1.
|
||||||
|
|
||||||
|
* The decrypt and verify API will now return the MIME flag as
|
||||||
|
specified by RFC-4880bis.
|
||||||
|
|
||||||
|
* The offline mode now has an effect on gpg by disabling all network
|
||||||
|
access. [#3831]
|
||||||
|
|
||||||
|
* A failed OpenPGP verification how returns the fingerprint of the
|
||||||
|
intended key if a recent gpg version was used for signature
|
||||||
|
creation.
|
||||||
|
|
||||||
|
* New tool gpgme-json as native messaging server for web browsers.
|
||||||
|
As of now public key encryption and decryption is supported.
|
||||||
|
Requires Libgpg-error 1.29.
|
||||||
|
|
||||||
|
* New context flag "request-origin" which has an effect when used
|
||||||
|
with GnuPG 2.2.6 or later.
|
||||||
|
|
||||||
|
* New context flag "no-symkey-cache" which has an effect when used
|
||||||
|
with GnuPG 2.2.7 or later.
|
||||||
|
|
||||||
|
* New convenience constant GPGME_KEYLIST_MODE_LOCATE.
|
||||||
|
|
||||||
|
* Improved the Python documentation.
|
||||||
|
|
||||||
|
* Fixed a potential regression with GnuPG 2.2.6 or later.
|
||||||
|
|
||||||
|
* Fixed a crash in the Python bindings on 32 bit platforms. [#3892]
|
||||||
|
|
||||||
|
* Various minor fixes.
|
||||||
|
|
||||||
* Interface changes relative to the 1.10.0 release:
|
* Interface changes relative to the 1.10.0 release:
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -10,6 +48,7 @@ Noteworthy changes in version 1.10.1 (unreleased)
|
|||||||
gpgme_op_encrypt_sign_ext NEW.
|
gpgme_op_encrypt_sign_ext NEW.
|
||||||
gpgme_op_encrypt_sign_ext_start NEW.
|
gpgme_op_encrypt_sign_ext_start NEW.
|
||||||
GPGME_ENCRYPT_WANT_ADDRESS NEW.
|
GPGME_ENCRYPT_WANT_ADDRESS NEW.
|
||||||
|
GPGME_KEYLIST_MODE_LOCATE NEW.
|
||||||
gpgme_import_result_t EXTENDED: New field 'skipped_v3_keys'.
|
gpgme_import_result_t EXTENDED: New field 'skipped_v3_keys'.
|
||||||
gpgme_decrypt_result_t EXTENDED: New field 'symkey_algo'.
|
gpgme_decrypt_result_t EXTENDED: New field 'symkey_algo'.
|
||||||
gpgme_decrypt_result_t EXTENDED: New field 'is_mime'.
|
gpgme_decrypt_result_t EXTENDED: New field 'is_mime'.
|
||||||
|
@ -2769,6 +2769,11 @@ type of external source is dependent on the crypto engine used and
|
|||||||
whether it is combined with @code{GPGME_KEYLIST_MODE_LOCAL}. For
|
whether it is combined with @code{GPGME_KEYLIST_MODE_LOCAL}. For
|
||||||
example, it can be a remote keyserver or LDAP certificate server.
|
example, it can be a remote keyserver or LDAP certificate server.
|
||||||
|
|
||||||
|
@item GPGME_KEYLIST_MODE_LOCATE
|
||||||
|
This is a shortcut for the combination of
|
||||||
|
@code{GPGME_KEYLIST_MODE_LOCAL} and @code{GPGME_KEYLIST_MODE_EXTERN}
|
||||||
|
and convenient when the --locate-key feature of OpenPGP is desired.
|
||||||
|
|
||||||
@item GPGME_KEYLIST_MODE_SIGS
|
@item GPGME_KEYLIST_MODE_SIGS
|
||||||
The @code{GPGME_KEYLIST_MODE_SIGS} symbol specifies that the key
|
The @code{GPGME_KEYLIST_MODE_SIGS} symbol specifies that the key
|
||||||
signatures should be included in the listed keys.
|
signatures should be included in the listed keys.
|
||||||
|
@ -20,8 +20,7 @@
|
|||||||
|
|
||||||
/* This is tool implements the Native Messaging protocol of web
|
/* This is tool implements the Native Messaging protocol of web
|
||||||
* browsers and provides the server part of it. A Javascript based
|
* browsers and provides the server part of it. A Javascript based
|
||||||
* client can be found in lang/javascript. The used data format is
|
* client can be found in lang/javascript.
|
||||||
* similar to the API of openpgpjs.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
@ -373,6 +373,8 @@ gpgme_protocol_t;
|
|||||||
#define GPGME_KEYLIST_MODE_EPHEMERAL 128
|
#define GPGME_KEYLIST_MODE_EPHEMERAL 128
|
||||||
#define GPGME_KEYLIST_MODE_VALIDATE 256
|
#define GPGME_KEYLIST_MODE_VALIDATE 256
|
||||||
|
|
||||||
|
#define GPGME_KEYLIST_MODE_LOCATE (1|2)
|
||||||
|
|
||||||
typedef unsigned int gpgme_keylist_mode_t;
|
typedef unsigned int gpgme_keylist_mode_t;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user