diff ui/tests/append-sig.sh @ 768:3f290ea49d45

Add helper script for signature creation to avoid cmake escaping hell
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Jul 2014 19:10:23 +0200
parents
children 44fa5de02b52
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/append-sig.sh	Thu Jul 10 19:10:23 2014 +0200
@@ -0,0 +1,3 @@
+#!/bin/bash
+cp $2 $3
+echo \\r\\nS:$(openssl dgst -sha256 -sign $1 < $2 | base64 -w0) >> $3

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