summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-03-20 09:16:46 +0100
committerWerner Koch <wk@gnupg.org>2019-03-20 09:18:11 +0100
commit0b0104ce472047118c2e7c72f29a092d9ecd8b76 (patch)
tree507b9f025ad355d64d252ba113633bc7d5bc90b5 /tests
parentspeedo: Fix installer build with NSIS-3 (diff)
downloadgnupg2-0b0104ce472047118c2e7c72f29a092d9ecd8b76.tar.xz
gnupg2-0b0104ce472047118c2e7c72f29a092d9ecd8b76.zip
tests: Add a first v5 sample key
--
Diffstat (limited to 'tests')
-rw-r--r--tests/openpgp/samplekeys/README2
-rw-r--r--tests/openpgp/samplekeys/v5-sample-1-pub.asc19
-rw-r--r--tests/openpgp/samplekeys/v5-sample-1-sec.asc21
3 files changed, 42 insertions, 0 deletions
diff --git a/tests/openpgp/samplekeys/README b/tests/openpgp/samplekeys/README
index f8a7e9ed7..74635c702 100644
--- a/tests/openpgp/samplekeys/README
+++ b/tests/openpgp/samplekeys/README
@@ -20,6 +20,8 @@ ed25519-cv25519-sample-1.asc Ed25519+CV25519 sample key (no passphrase)
silent-running.asc Collection of sample secret keys (no passphrases)
rsa-primary-auth-only.pub.asc rsa2408 primary only, usage: cert,auth
rsa-primary-auth-only.sec.asc Ditto but the secret keyblock.
+v5-sample-1-pub.asc A version 5 key (ed25519/cert,sign,v5+cv25519/v5)
+v5-sample-1-sec.asc Ditto, but the secret keyblock (unprotected).
Notes:
diff --git a/tests/openpgp/samplekeys/v5-sample-1-pub.asc b/tests/openpgp/samplekeys/v5-sample-1-pub.asc
new file mode 100644
index 000000000..9f7147130
--- /dev/null
+++ b/tests/openpgp/samplekeys/v5-sample-1-pub.asc
@@ -0,0 +1,19 @@
+pub ed25519 2019-03-20 [SC]
+ 19347BC9872464025F99DF3EC2E0000ED9884892E1F7B3EA4C94009159569B54
+uid emma.goldman@example.net
+sub cv25519 2019-03-20 [E]
+ E4557C2B02FFBF4B04F87401EC336AF7133D0F85BE7FD09BAEFD9CAEB8C93965
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mDcFXJH05BYAAAAtCSsGAQQB2kcPAQEHQFhZlVcVVtwf+21xNQPX+ecMJJBL0MPd
+fj75iux+my8QtBhlbW1hLmdvbGRtYW5AZXhhbXBsZS5uZXSIlgUTFggASCIhBRk0
+e8mHJGQCX5nfPsLgAA7ZiEiS4fez6kyUAJFZVptUBQJckfTkAhsDBQsJCAcCAyIC
+AQYVCgkICwIEFgIDAQIeBwIXgAAA9cAA/jiR3yMsZMeEQ40u6uzEoXa6UXeV/S3w
+wJAXRJy9M8s0AP9vuL/7AyTfFXwwzSjDnYmzS0qAhbLDQ643N+MXGBJ2Bbg8BVyR
+9OQSAAAAMgorBgEEAZdVAQUBAQdA+nysrzml2UCweAqtpDuncSPlvrcBWKU0yfU0
+YvYWWAoDAQgHiHoFGBYIACwiIQUZNHvJhyRkAl+Z3z7C4AAO2YhIkuH3s+pMlACR
+WVabVAUCXJH05AIbDAAAOSQBAP4BOOIR/sGLNMOfeb5fPs/02QMieoiSjIBnijho
+b2U5AQC+RtOHCHx7TcIYl5/Uyoi+FOvPLcNw4hOv2nwUzSSVAw==
+=WYfO
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/tests/openpgp/samplekeys/v5-sample-1-sec.asc b/tests/openpgp/samplekeys/v5-sample-1-sec.asc
new file mode 100644
index 000000000..b5463c93f
--- /dev/null
+++ b/tests/openpgp/samplekeys/v5-sample-1-sec.asc
@@ -0,0 +1,21 @@
+sec ed25519 2019-03-20 [SC]
+ 19347BC9872464025F99DF3EC2E0000ED9884892E1F7B3EA4C94009159569B54
+uid emma.goldman@example.net
+ssb cv25519 2019-03-20 [E]
+ E4557C2B02FFBF4B04F87401EC336AF7133D0F85BE7FD09BAEFD9CAEB8C93965
+
+-----BEGIN PGP PRIVATE KEY BLOCK-----
+
+lGEFXJH05BYAAAAtCSsGAQQB2kcPAQEHQFhZlVcVVtwf+21xNQPX+ecMJJBL0MPd
+fj75iux+my8QAAAAAAAiAQCHZ1SnSUmWqxEsoI6facIVZQu6mph3cBFzzTvcm5lA
+Ng5ctBhlbW1hLmdvbGRtYW5AZXhhbXBsZS5uZXSIlgUTFggASCIhBRk0e8mHJGQC
+X5nfPsLgAA7ZiEiS4fez6kyUAJFZVptUBQJckfTkAhsDBQsJCAcCAyICAQYVCgkI
+CwIEFgIDAQIeBwIXgAAA9cAA/jiR3yMsZMeEQ40u6uzEoXa6UXeV/S3wwJAXRJy9
+M8s0AP9vuL/7AyTfFXwwzSjDnYmzS0qAhbLDQ643N+MXGBJ2BZxmBVyR9OQSAAAA
+MgorBgEEAZdVAQUBAQdA+nysrzml2UCweAqtpDuncSPlvrcBWKU0yfU0YvYWWAoD
+AQgHAAAAAAAiAP9OdAPppjU1WwpqjIItkxr+VPQRT8Zm/Riw7U3F6v3OiBFHiHoF
+GBYIACwiIQUZNHvJhyRkAl+Z3z7C4AAO2YhIkuH3s+pMlACRWVabVAUCXJH05AIb
+DAAAOSQBAP4BOOIR/sGLNMOfeb5fPs/02QMieoiSjIBnijhob2U5AQC+RtOHCHx7
+TcIYl5/Uyoi+FOvPLcNw4hOv2nwUzSSVAw==
+=IiS2
+-----END PGP PRIVATE KEY BLOCK-----