aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/releasekey/templates/sign_checksums
blob: 973c387c18cce228178323b1ad1d02eea4e07bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [ $# -lt 1 ]; then
	echo "Usage: $0 <directory>"
fi

directory=$1
cd "$directory"
for chksum in *.md5 *.sha1 *.sha512; do
	gpg --homedir "<%= sign_keydir %>" --yes --sign "$chksum"
done