comparison ui/tests/data/NOTES @ 42:6e7ef7e95031

Some more tests and some more test data
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Mar 2014 09:48:56 +0000
parents 381558ff6f26
children 5910bf9016cd
comparison
equal deleted inserted replaced
41:7055a79abe02 42:6e7ef7e95031
6 Certificate List was created manually and contains: 6 Certificate List was created manually and contains:
7 PCA-1-Verwaltung-08 7 PCA-1-Verwaltung-08
8 Intevation-Email-CA-2013 8 Intevation-Email-CA-2013
9 Intevation-Server-CA-2010 9 Intevation-Server-CA-2010
10 10
11 Signature created with: 11 Test files created with:
12 12
13 echo -e S:$(openssl dgst -sha256 -sign testkey-priv.pem < list-valid.txt | base64 -w0)\\r > list-valid-signed.txt 13 echo -e S:$(openssl dgst -sha256 -sign testkey-priv.pem < list-valid.txt | base64 -w0)\\r > list-valid-signed.txt
14 cat list-valid.txt >> list-valid-signed.txt 14 cat list-valid.txt >> list-valid-signed.txt
15 echo -e S:$(openssl dgst -sha256 -sign testkey-other.pem < list-valid.txt | base64 -w0)\\r > list-valid-other-signature.txt
16 cat list-valid.txt >> list-valid-other-signature.txt
17 echo -e S:$(openssl dgst -sha1 -sign testkey-other.pem < list-valid.txt | base64 -w0)\\r > list-valid-sha1-signature.txt
18 cat list-valid.txt >> list-valid-sha1-signature.txt
15 cp list-valid-signed.txt list-invalid-signed.txt 19 cp list-valid-signed.txt list-invalid-signed.txt
16 tail -1 list-valid.txt >> list-invalid-signed.txt 20 tail -1 list-valid.txt >> list-invalid-signed.txt
21
22 # List with 0 created manually by placing a \0 in the signature
17 23
18 Random Data generated with: 24 Random Data generated with:
19 openssl rand -out random_2MB 2000000 25 openssl rand -out random_2MB 2000000
20 openssl rand -out random_500k 500000 26 openssl rand -out random_500k 500000

http://wald.intevation.org/projects/trustbridge/