diff 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
line wrap: on
line diff
--- a/ui/tests/data/NOTES	Fri Mar 14 09:48:02 2014 +0000
+++ b/ui/tests/data/NOTES	Fri Mar 14 09:48:56 2014 +0000
@@ -8,13 +8,19 @@
     Intevation-Email-CA-2013
     Intevation-Server-CA-2010
 
-Signature created with:
+Test files created with:
 
     echo -e S:$(openssl dgst -sha256 -sign testkey-priv.pem < list-valid.txt | base64 -w0)\\r > list-valid-signed.txt
     cat list-valid.txt >> list-valid-signed.txt
+    echo -e S:$(openssl dgst -sha256 -sign testkey-other.pem < list-valid.txt | base64 -w0)\\r > list-valid-other-signature.txt
+    cat list-valid.txt >> list-valid-other-signature.txt
+    echo -e S:$(openssl dgst -sha1 -sign testkey-other.pem < list-valid.txt | base64 -w0)\\r > list-valid-sha1-signature.txt
+    cat list-valid.txt >> list-valid-sha1-signature.txt
     cp list-valid-signed.txt list-invalid-signed.txt
     tail -1 list-valid.txt >> list-invalid-signed.txt
 
+# List with 0 created manually by placing a \0 in the signature
+
 Random Data generated with:
     openssl rand -out random_2MB 2000000
     openssl rand -out random_500k 500000

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