view 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 source
#!/bin/bash
cp $2 $3
echo \\r\\nS:$(openssl dgst -sha256 -sign $1 < $2 | base64 -w0) >> $3

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