annotate ui/tests/append-sig.sh @ 773:2c69298b4188

WIP start with tests for Linux binary verification
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Jul 2014 19:16:21 +0200
parents 3f290ea49d45
children 44fa5de02b52
rev   line source
768
3f290ea49d45 Add helper script for signature creation to avoid cmake escaping hell
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
1 #!/bin/bash
3f290ea49d45 Add helper script for signature creation to avoid cmake escaping hell
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
2 cp $2 $3
3f290ea49d45 Add helper script for signature creation to avoid cmake escaping hell
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
3 echo \\r\\nS:$(openssl dgst -sha256 -sign $1 < $2 | base64 -w0) >> $3

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