Mercurial > trustbridge
changeset 8:c7da699f0310
Add some notes about testfile creation
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 12 Feb 2014 17:17:44 +0000 |
parents | 992c0ec57660 |
children | 2ad9a96518e3 |
files | tests/data/NOTES |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/data/NOTES Wed Feb 12 17:17:44 2014 +0000 @@ -0,0 +1,20 @@ +Testkeys were created with: + openssl genrsa -out testkey-priv.pem 3072 + openssl rsa -in testkey-priv.pem -out testkey-pub.pem -outform PEM -pubout + + +Certificate List was created manually and contains: + PCA-1-Verwaltung-08 + Intevation-Email-CA-2013 + Intevation-Server-CA-2010 + +Signature created with: + + echo S:$(openssl dgst -sha256 -sign testkey-priv.pem < list-valid.txt | base64 -w0) > list-valid-signed.txt + cat list-valid.txt >> list-valid-signed.txt + cp list-valid-signed.txt list-invalid-signed.txt + tail -1 list-valid.txt >> list-invalid-signed.txt + +Random Data generated with: + openssl rand -out random_2MB 2000000 + openssl rand -out random_500k 500000