From 57fc012ec22c4fff9d77482b15291b489340bacb Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Thu, 9 Jun 2022 16:49:25 +0200 Subject: [PATCH] Add a second OpenPGP test key-pair * Add test key-pair with different properties. --- docs/test-keys/Readme.md | 33 +++++++++++++++++++++++------ docs/test-keys/test2_privatekey.asc | 14 ++++++++++++ docs/test-keys/test2_pubkey.asc | 13 ++++++++++++ 3 files changed, 54 insertions(+), 6 deletions(-) create mode 100644 docs/test-keys/test2_privatekey.asc create mode 100644 docs/test-keys/test2_pubkey.asc diff --git a/docs/test-keys/Readme.md b/docs/test-keys/Readme.md index 743a107..5b422fd 100644 --- a/docs/test-keys/Readme.md +++ b/docs/test-keys/Readme.md @@ -1,15 +1,16 @@ -OpenPGP key-pair for testing only. +OpenPGP key-pairs for testing only. -Note: as this keypair is fully public, **do not use it for production**. -Create your own keypair with the security properties and operational -measures you need. +Note: as the keypairs wre fully public, **do not use them for production**. +Create your own keypair(s) with the security properties and operational +security you need. + + +### `test1@example.com` This has been created with: * gpg (GnuPG) 2.2.19 * (linked with) libgcrypt 1.8.5 -### `test1@example.com` - ```bash gpg --full-gen-key RSA (sign only) @@ -25,3 +26,23 @@ gpg --export-secret-key --armor test1 > private.asc gpg --export --armor test1 > public.asc ``` The passphrase for this test OpenPGP key-pair is: `security123` + + + +### `test2@example.org` + +Another key-pair for testing **without passphrase** and using the future +OpenPGP algorithms ed25519 and cv25519. + +```bash +bash +gpg --version | head -2 +gpg (GnuPG) 2.2.27 +libgcrypt 1.8.4 + +export GNUPGHOME=~/tmp/dot-gnupg-20220609 +gpg --batch --passphrase '' --quick-gen-key test2@example.org future-default default never +gpg --armor --export test2@example.org >test2_pubkey.asc +gpg --armor --export-secret-key test2@example.org >test2_privatekey.asc +unset GNUPGHOME +``` diff --git a/docs/test-keys/test2_privatekey.asc b/docs/test-keys/test2_privatekey.asc new file mode 100644 index 0000000..a94a115 --- /dev/null +++ b/docs/test-keys/test2_privatekey.asc @@ -0,0 +1,14 @@ +-----BEGIN PGP PRIVATE KEY BLOCK----- + +lFgEYqIFoxYJKwYBBAHaRw8BAQdAza+GJ4sByVM4aCJPBpz4UroDt2ZmaaQHTKUp +1ifrENsAAQCynVNSt/BwHFm0l+5mGkHm9+4wIc+nH0excsoanvGzRxEDtBF0ZXN0 +MkBleGFtcGxlLm9yZ4iQBBMWCAA4FiEEQ5I57VYIzJorWEAAGlGf1mhjm8sFAmKi +BaMCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQGlGf1mhjm8uqYQD9HOw+ +3ZPPzl7v71+HCjPL6vr1as0HiKfhTA1OTOgHEWoA/1lnzj4d6Z28LaeL/0rbmU2X +C9UZj82Iq7hFS4fFjqMJnF0EYqIFoxIKKwYBBAGXVQEFAQEHQHgLQ3Uez965Lc5S +EqLCq1DCZP6DzujXOsytCyvzx6YTAwEIBwAA/1b4v1edv1neGwpEfJqlOJtQpw+M +1tQ7yzSYqwuNaxPIEISIeAQYFggAIBYhBEOSOe1WCMyaK1hAABpRn9ZoY5vLBQJi +ogWjAhsMAAoJEBpRn9ZoY5vLAqEBAP9RphqZcB8SD2mC89wyu0rsepkVv3sUPbEy +dR7wd+MEAP49prCzfItlyxLWhX1QYSxj7c9ixzQVw4dyuKDsIFMoBA== +=7jER +-----END PGP PRIVATE KEY BLOCK----- diff --git a/docs/test-keys/test2_pubkey.asc b/docs/test-keys/test2_pubkey.asc new file mode 100644 index 0000000..6715fec --- /dev/null +++ b/docs/test-keys/test2_pubkey.asc @@ -0,0 +1,13 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEYqIFoxYJKwYBBAHaRw8BAQdAza+GJ4sByVM4aCJPBpz4UroDt2ZmaaQHTKUp +1ifrENu0EXRlc3QyQGV4YW1wbGUub3JniJAEExYIADgWIQRDkjntVgjMmitYQAAa +UZ/WaGObywUCYqIFowIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRAaUZ/W +aGOby6phAP0c7D7dk8/OXu/vX4cKM8vq+vVqzQeIp+FMDU5M6AcRagD/WWfOPh3p +nbwtp4v/StuZTZcL1RmPzYiruEVLh8WOowm4OARiogWjEgorBgEEAZdVAQUBAQdA +eAtDdR7P3rktzlISosKrUMJk/oPO6Nc6zK0LK/PHphMDAQgHiHgEGBYIACAWIQRD +kjntVgjMmitYQAAaUZ/WaGObywUCYqIFowIbDAAKCRAaUZ/WaGObywKhAQD/UaYa +mXAfEg9pgvPcMrtK7HqZFb97FD2xMnUe8HfjBAD+Paaws3yLZcsS1oV9UGEsY+3P +Ysc0FcOHcrig7CBTKAQ= +=u1ml +-----END PGP PUBLIC KEY BLOCK-----