I found T4820 as a report of a past failure for t-json but I've no idea if it's the same. Originally reported downstream in Gentoo at https://bugs.gentoo.org/924386.
Please let me know how I can grab more useful information, as I fear I haven't got much to give yet.
gpgme-1.23.2's t-json test fails like:
Running t-decrypt... failed FAIL: t-json stopping gpg-agent PASS: final.test ======================================= 1 of 3 tests failed Please report to https://bugs.gnupg.org ======================================= make[5]: *** [Makefile:627: check-TESTS] Error 1 `
In the Gentoo bug linked, Dustin added some debugging prints and managed to extract this from the test:
Response: {"type":"error","msg":"Decryption failed: No secret key","code":117440529,"op":"decrypt"} Expected: { "dec_info": { "wrong_key_usage": false, "is_de_vs": false, "is_mime": false, "legacy_cipher_nomdc": false, "recipients": [{ "pubkey_algo_name": "ELG-E", "status_string": "Success", "status_code": 0 }] }, "type": "plaintext", "base64": false, "data": "Hello\n" }