gpgme/tests/json
NIIBE Yutaka b97434fbf0 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 <gniibe@fsij.org>
2019-08-06 11:19:59 +09:00
..
final.test tests,json: Add missing files and chunking test 2018-11-14 15:55:02 +01:00
initial.test tests,json: Add missing files and chunking test 2018-11-14 15:55:02 +01:00
Makefile.am build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. 2019-01-16 10:59:25 +09:00
t-chunking.in.json tests,json: Add missing files and chunking test 2018-11-14 15:55:02 +01:00
t-chunking.out.json tests,json: Add missing files and chunking test 2018-11-14 15:55:02 +01:00
t-config-opt.in.json tests,json: Add more tests 2018-11-14 17:05:25 +01:00
t-config-opt.out.json tests,json: Add more tests 2018-11-14 17:05:25 +01:00
t-config.in.json tests,json: Suffix .json to test pattern 2018-11-14 14:53:28 +01:00
t-config.out.json tests,json: Suffix .json to test pattern 2018-11-14 14:53:28 +01:00
t-createkey.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-createkey.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-decrypt-verify.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-decrypt-verify.out.json json: Fix t-decrypt-verify.out for GnuPG >= 2.3. 2019-08-06 11:19:59 +09:00
t-decrypt.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-decrypt.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-delete.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-delete.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-encrypt-sign.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-encrypt-sign.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-encrypt.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-encrypt.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-export-secret-info.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-export-secret-info.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-export.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-export.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-import.in.json tests,json: Add more tests 2018-11-14 17:05:25 +01:00
t-import.out.json tests,json: Add more tests 2018-11-14 17:05:25 +01:00
t-json.c tests, json: Make them run on debian stable 2018-11-28 10:45:27 +01:00
t-keylist-secret.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-keylist-secret.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-keylist.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-keylist.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-sig-notations.in.json tests,json: Add sig-notations test 2018-11-14 17:56:23 +01:00
t-sig-notations.out.json tests,json: Add sig-notations test 2018-11-14 17:56:23 +01:00
t-sign.in.json tests,json: Add more tests 2018-11-14 17:05:25 +01:00
t-sign.out.json tests,json: Add more tests 2018-11-14 17:05:25 +01:00
t-verify.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-verify.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-version.in.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00
t-version.out.json tests,json: Add the bulk of tests 2018-11-14 15:15:21 +01:00