aboutsummaryrefslogtreecommitdiff
path: root/test/gnupg-secret-key.NOTE
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2011-05-25 18:01:16 -0700
committerCarl Worth <cworth@cworth.org>2011-05-27 16:22:00 -0700
commit627d752501b42326b9016271de33a6cb0fa2dc8c (patch)
tree0fb20d089b6debef1f79ae120573f23662b4baff /test/gnupg-secret-key.NOTE
parent18967ef7506566c3b7b5332893a3876da051ca5d (diff)
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.
Diffstat (limited to 'test/gnupg-secret-key.NOTE')
-rw-r--r--test/gnupg-secret-key.NOTE9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/gnupg-secret-key.NOTE b/test/gnupg-secret-key.NOTE
new file mode 100644
index 0000000..604496c
--- /dev/null
+++ b/test/gnupg-secret-key.NOTE
@@ -0,0 +1,9 @@
+How the crypto test gnupg secret was generated:
+
+GNUPGHOME=gnupghome gpg --quick-random --gen-key
+kind: 1 (RSA/RSA)
+size: 1024
+expire: 0
+name: Notmuch Test Suite
+email: test_suite@notmuchmail.org
+(no passphrase)