aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context_qt.cpp
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-08-06 02:19:59 +0000
committerNIIBE Yutaka <[email protected]>2019-08-06 02:19:59 +0000
commitb97434fbf087f3176daf39699ff579d38d265317 (patch)
tree8caf0fb68af5156cc09d2dbf042847ac16d51f66 /lang/cpp/src/context_qt.cpp
parentcore: Fix arg counting in enginge-gpg (diff)
downloadgpgme-b97434fbf087f3176daf39699ff579d38d265317.tar.gz
gpgme-b97434fbf087f3176daf39699ff579d38d265317.zip
json: Fix t-decrypt-verify.out for GnuPG >= 2.3.
* tests/json/t-decrypt-verify.out.json: Remove check with key of 04071FB807287134. -- GnuPG 2.3 changes how public key decryption works; It collects list of PUBKEY_ENC packets and then processes an ENCRYPTED* packet. At the stage of processing an ENCRYPTED* packet, it checks if private keys can decrypt any of PUBKEY_ENC packets. It does not necessarily examine all of PUBKEY_ENC packets. Only when it finds a PUBKEY_ENC packet cannot be decrypted, it reports STATUS_NO_SECKEY with keyid of that packet. GnuPG 2.2 or older tries PUBKEY_ENC packets in order, and the first successful PUBKEY_ENC packet is used. Rest of PUBKEY_ENC packets are not examined, but STATUS_NO_SECKEY with keyid is reported even when there is a valid private key. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'lang/cpp/src/context_qt.cpp')
0 files changed, 0 insertions, 0 deletions