mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Add a second OpenPGP test key-pair
* Add test key-pair with different properties.
This commit is contained in:
parent
922e468d99
commit
57fc012ec2
3 changed files with 54 additions and 6 deletions
|
|
@ -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**.
|
Note: as the keypairs wre fully public, **do not use them for production**.
|
||||||
Create your own keypair with the security properties and operational
|
Create your own keypair(s) with the security properties and operational
|
||||||
measures you need.
|
security you need.
|
||||||
|
|
||||||
|
|
||||||
|
### `test1@example.com`
|
||||||
|
|
||||||
This has been created with:
|
This has been created with:
|
||||||
* gpg (GnuPG) 2.2.19
|
* gpg (GnuPG) 2.2.19
|
||||||
* (linked with) libgcrypt 1.8.5
|
* (linked with) libgcrypt 1.8.5
|
||||||
|
|
||||||
### `test1@example.com`
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gpg --full-gen-key
|
gpg --full-gen-key
|
||||||
RSA (sign only)
|
RSA (sign only)
|
||||||
|
|
@ -25,3 +26,23 @@ gpg --export-secret-key --armor test1 > private.asc
|
||||||
gpg --export --armor test1 > public.asc
|
gpg --export --armor test1 > public.asc
|
||||||
```
|
```
|
||||||
The passphrase for this test OpenPGP key-pair is: `security123`
|
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
|
||||||
|
```
|
||||||
|
|
|
||||||
14
docs/test-keys/test2_privatekey.asc
Normal file
14
docs/test-keys/test2_privatekey.asc
Normal file
|
|
@ -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-----
|
||||||
13
docs/test-keys/test2_pubkey.asc
Normal file
13
docs/test-keys/test2_pubkey.asc
Normal file
|
|
@ -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-----
|
||||||
Loading…
Add table
Add a link
Reference in a new issue