tests: Two new OpenPGP test keys from E2E.
authorWerner Koch <wk@gnupg.org>
Mon, 5 Oct 2015 08:58:00 +0000 (10:58 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 5 Oct 2015 08:58:00 +0000 (10:58 +0200)
--

tests/openpgp/Makefile.am
tests/openpgp/samplekeys/README
tests/openpgp/samplekeys/e2e-p256-1-clr.asc [new file with mode: 0644]
tests/openpgp/samplekeys/e2e-p256-1-prt.asc [new file with mode: 0644]

index 4fdb0a6..95bb92c 100644 (file)
@@ -83,7 +83,9 @@ sample_keys = samplekeys/ecc-sample-1-pub.asc \
              samplekeys/eddsa-sample-1-sec.asc \
              samplekeys/dda252ebb8ebe1af-1.asc \
              samplekeys/dda252ebb8ebe1af-2.asc \
-             samplekeys/whats-new-in-2.1.asc
+             samplekeys/whats-new-in-2.1.asc \
+             samplekeys/e2e-p256-1-clr.asc \
+             samplekeys/e2e-p256-1-prt.asc
 
 EXTRA_DIST = defs.inc pinentry.sh $(TESTS) $(TEST_FILES) ChangeLog-2011 \
             mkdemodirs signdemokey $(priv_keys) $(sample_keys)
index d130fa0..0d9490a 100644 (file)
@@ -11,3 +11,5 @@ eddsa-sample-1-sec.asc Ditto, but as protected secret keyblock.
 dda252ebb8ebe1af-1.asc rsa4096 key 1
 dda252ebb8ebe1af-2.asc rsa4096 key 2 with a long keyid collision.
 whats-new-in-2.1.asc   Collection of sample keys.
+e2e-p256-1-clr.asc     Google End-end-End test key (no protection)
+e2e-p256-1-prt.asc     Ditto, but protected with passphrase "a".
diff --git a/tests/openpgp/samplekeys/e2e-p256-1-clr.asc b/tests/openpgp/samplekeys/e2e-p256-1-clr.asc
new file mode 100644 (file)
index 0000000..2b53091
--- /dev/null
@@ -0,0 +1,37 @@
+pub   nistp256/03288C74F8BE8F0F 1970-01-01
+uid                 [ unknown] <example@another.test>
+sub   nistp256/A6ED196C7C513F1E 1970-01-01
+
+Not protected.
+
+Taken from
+https://github.com/google/end-to-end/issues/326#issuecomment-123585977
+
+-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BDHF5EWguzM+gUTb4xmIdTAJ2w
+GUOnTOoA/RpWuJNKU3kdtnnmqce88//jN8VF1Ho0BONH1b7dRV4izv8AAABWBAAA
+AAASCCqGSM49AwEHAgMEyfb375CDU05C3BXjFY3tGbGEmGrTgNj0lAzdbi7TVm5t
+iHidcNWPHSQPS8aMmygH23OvIkTBmJdCHR38lGID/gMBCAfC/wAAAG0EGBMIAB//
+AAAABYJVrO3L/wAAAAmQAyiMdPi+jw//AAAAApsMAADzwQD/ahaSqogMflSlGJRU
+Z6Qb51EAaYBB5nL/u1ckWLh/CCEBAM83CFzh1qJXzYnl5DJNAPnj4jJgJKtSxOhn
+bvlk62wx
+=Xjs9
+-----END PGP PRIVATE KEY BLOCK-----
diff --git a/tests/openpgp/samplekeys/e2e-p256-1-prt.asc b/tests/openpgp/samplekeys/e2e-p256-1-prt.asc
new file mode 100644 (file)
index 0000000..d30e8c0
--- /dev/null
@@ -0,0 +1,39 @@
+pub   nistp256/03288C74F8BE8F0F 1970-01-01
+uid                 [ unknown] <example@another.test>
+sub   nistp256/A6ED196C7C513F1E 1970-01-01
+
+Passphrase is "a".
+
+Taken from
+https://github.com/google/end-to-end/issues/326#issuecomment-123585977
+
+-----BEGIN PGP PRIVATE KEY BLOCK-----
+Charset: UTF-8
+Version: End-To-End v0.3.1342
+
+xf8AAAClBAAAAAATCCqGSM49AwEHAgMEmUwnXtxBvQY+nXvduAbd626NmYshRVi4
+HULGQ9fAHjKqfld4qWk97o+ggZDAnhQJ/Jm3ljtXr3/SosXUsSh7AP4JAwLJdqYd
+6K+4XWACOPArMgQfaUFtQY54pRS1Vo98N4Jpw7o0iYAr80y40s5DaBIcUD5UuMHM
+p5no4vv8/hVCkIWJvoD/08rIzJDYEc9h2S4Lzf8AAAAWPGV4YW1wbGVAYW5vdGhl
+ci50ZXN0PsL/AAAAjQQQEwgAP/8AAAAFglWs7cv/AAAAAosJ/wAAAAmQAyiMdPi+
+jw//AAAABZUICQoL/wAAAAOWAQL/AAAA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