Mercurial > trustbridge
comparison tests/data/NOTES @ 8:c7da699f0310
Add some notes about testfile creation
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 12 Feb 2014 17:17:44 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
7:992c0ec57660 | 8:c7da699f0310 |
---|---|
1 Testkeys were created with: | |
2 openssl genrsa -out testkey-priv.pem 3072 | |
3 openssl rsa -in testkey-priv.pem -out testkey-pub.pem -outform PEM -pubout | |
4 | |
5 | |
6 Certificate List was created manually and contains: | |
7 PCA-1-Verwaltung-08 | |
8 Intevation-Email-CA-2013 | |
9 Intevation-Server-CA-2010 | |
10 | |
11 Signature created with: | |
12 | |
13 echo S:$(openssl dgst -sha256 -sign testkey-priv.pem < list-valid.txt | base64 -w0) > list-valid-signed.txt | |
14 cat list-valid.txt >> list-valid-signed.txt | |
15 cp list-valid-signed.txt list-invalid-signed.txt | |
16 tail -1 list-valid.txt >> list-invalid-signed.txt | |
17 | |
18 Random Data generated with: | |
19 openssl rand -out random_2MB 2000000 | |
20 openssl rand -out random_500k 500000 |