diff options
| author | Andre Heinecke <[email protected]> | 2018-11-14 15:15:21 +0100 |
|---|---|---|
| committer | Andre Heinecke <[email protected]> | 2018-11-14 15:15:21 +0100 |
| commit | dd4b80a5f640232bb44eb825ff5a74ec295fad10 (patch) | |
| tree | bc0be5ea4e6064aecea3070841b3d1345bb42814 /tests/json/t-verify.in.json | |
| parent | tests,json: Add wildcard string matching (diff) | |
| download | gpgme-dd4b80a5f640232bb44eb825ff5a74ec295fad10.tar.gz gpgme-dd4b80a5f640232bb44eb825ff5a74ec295fad10.zip | |
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.
Diffstat (limited to 'tests/json/t-verify.in.json')
| -rw-r--r-- | tests/json/t-verify.in.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/json/t-verify.in.json b/tests/json/t-verify.in.json new file mode 100644 index 00000000..1aa16399 --- /dev/null +++ b/tests/json/t-verify.in.json @@ -0,0 +1,5 @@ +{ + "op": "verify", + "data": "Hello world", + "signature": "-----BEGIN PGP SIGNATURE-----\n\niHAEABECADAWIQSg/0WQu2Ei7e9uPFQtcnzHaGl3NAUCW+we3RIcYWxwaGFAZXhh\nbXBsZS5uZXQACgkQLXJ8x2hpdzSwIgCfdfk+n6SsYwa9SYfBwr/o4FmWsa8Anj3V\n8p3ahr3rxNbK7cDbSk/p1zD0\n=oS5d\n-----END PGP SIGNATURE-----" +} |
