gpgme/lang
Ingo Klöcker 1698eec2ae
cpp: Return successful verification for signed but not encrypted data
* lang/cpp/src/context.cpp (Context::decrypt): Use decryptionResult().
(Context::verifyDetachedSignature, Context::verifyOpaqueSignature):
Use verificationResult().
(Context::verificationResult): Ignore "no data" error for signed but
not encrypted data.
(Context::decryptAndVerify): Use decryptionResult() and
verificationResult().
--

gpgme's decrypt operations set the error to GPG_ERR_NO_DATA if no
encrypted data was found. It makes sense to use this error for the
encryption result, but it doesn't make sense to use it also for the
verfication result if signed data was found.
This way using the combined decrypt-verify operations on data that
may be encrypted and/or signed doesn't produce confusing results.

GnuPG-bug-id: 6342
2023-02-02 12:11:29 +01:00
..
cl Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
cpp cpp: Return successful verification for signed but not encrypted data 2023-02-02 12:11:29 +01:00
js js: improve connection check 2019-07-03 16:19:44 +02:00
python doc:python: Replace gpgme-config to pkg-config. 2022-12-14 15:12:41 +09:00
qt qt: Add job for extracting encrypted and signed archives 2023-02-02 12:11:29 +01:00
Makefile.am Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
README js: Initial commit for JavaScript Native Messaging API 2018-04-10 18:47:59 +02:00

Language Support for GPGME
--------------------------

This directory contains support for other languages than C.

Please note that language support components may be under a different
license than GPGME itself.  You can find more information in each
sub-directory.

Directory	Language

cl		Common Lisp
cpp		C++
qt		Qt-Framework API
python		Python 2 and 3 (module name: gpg)
js              Native messaging client for the gpgme-json server.