test: add crypto tests for signature verification and decryption
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 26 May 2011 01:01:16 +0000 (18:01 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 27 May 2011 23:22:00 +0000 (16:22 -0700)
commit627d752501b42326b9016271de33a6cb0fa2dc8c
tree0fb20d089b6debef1f79ae120573f23662b4baff
parent18967ef7506566c3b7b5332893a3876da051ca5d
test: add crypto tests for signature verification and decryption

This adds a new "crypto" test script to the test suite to test
PGP/MIME signature verification and message decryption.  Included here
is a test GNUPGHOME with a test secret key (passwordless), and test
for:

  * signing/verification
  * signing/verification with full owner trust
  * verification with signer key unavailable
  * encryption/decryption
  * decryption failure with missing key
  * encryption/decryption + signing/verfifying
  * reply to encrypted message
  * verification of signature from revoked key

These tests are not expected to pass now, but will as crypto
functionality is included.
test/basic
test/crypto [new file with mode: 0755]
test/gnupg-secret-key.NOTE [new file with mode: 0644]
test/gnupg-secret-key.asc [new file with mode: 0644]
test/notmuch-test
test/test-lib.sh