view ui/tests/append-sig.sh @ 1071:fc4e1fe4e4d4

(issue116) Sign binaries with test certificate if RELESE_BUILD option is not used
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 10 Sep 2014 17:52:11 +0200
parents 44fa5de02b52
children 8c829345ecfa
line wrap: on
line source
#!/bin/bash
cp $2 $3
echo -e \\r\\nS:$(openssl dgst -sha256 -sign $1 < $2 | base64 -w0) >> $3

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