gpgme/tests/json/t-decrypt-verify.out.json
Andre Heinecke dd4b80a5f6
tests,json: Add the bulk of tests
* t-json.c (tests): Register new tests.
* t-createkey.in.json,
  t-createkey.out.json,
  t-decrypt-verify.in.json,
  t-decrypt-verify.out.json,
  t-decrypt.in.json,
  t-decrypt.out.json,
  t-delete.in.json,
  t-delete.out.json,
  t-encrypt-sign.in.json,
  t-encrypt-sign.out.json,
  t-encrypt.in.json,
  t-encrypt.out.json,
  t-export-secret-info.in.json,
  t-export-secret-info.out.json,
  t-export.in.json,
  t-export.out.json,
  t-json.c,
  t-keylist-secret.in.json,
  t-keylist-secret.out.json,
  t-keylist.in.json,
  t-keylist.out.json,
  t-verify.in.json,
  t-verify.out.json,
  t-version.in.json,
  t-version.out.json: New.

--
Except for help and getmore there is now a test for each command.
2018-11-14 15:15:21 +01:00

57 lines
1.8 KiB
JSON

{
"dec_info": {
"symkey_algo": "TWOFISH.CFB",
"wrong_key_usage": false,
"is_de_vs": false,
"is_mime": false,
"legacy_cipher_nomdc": false,
"recipients": [{
"keyid": "6AE6D7EE46A871F8",
"pubkey_algo_name": "ELG-E",
"status_string": "Success",
"status_code": 0
}, {
"keyid": "04071FB807287134",
"pubkey_algo_name": "ELG-E",
"status_string": "No secret key",
"status_code": 117440529
}]
},
"info": {
"is_mime": false,
"signatures": [{
"summary": {
"sigsum": [],
"valid": false,
"green": false,
"red": false,
"revoked": false,
"key-expired": false,
"sig-expired": false,
"key-missing": false,
"crl-missing": false,
"crl-too-old": false,
"bad-policy": false,
"sys-error": false
},
"wrong_key_usage": false,
"chain_model": false,
"is_de_vs": false,
"status_string": "Success",
"fingerprint": "A0FF4590BB6122EDEF6E3C542D727CC768697734",
"validity_string": "unknown",
"pubkey_algo_name": "DSA",
"hash_algo_name": "RIPEMD160",
"status_code": 0,
"timestamp": 1542200353,
"exp_timestamp": 0,
"pka_trust": 0,
"validity": 0,
"validity_reason": 0
}]
},
"type": "plaintext",
"base64": false,
"data": "Hello world"
}