From 627d752501b42326b9016271de33a6cb0fa2dc8c Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Wed, 25 May 2011 18:01:16 -0700 Subject: 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/gnupg-secret-key.NOTE | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/gnupg-secret-key.NOTE (limited to 'test/gnupg-secret-key.NOTE') 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) -- cgit v1.2.3