aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/releasekey/templates/sign_checksums
blob: 9483a1c9e0ce4e5bdbfda70c40c26c4c2b9309c9 (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 *.sha3 *.sha512; do
	gpg --homedir "<%= sign_keydir %>" --yes --sign "$chksum"
done