aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/releasekey/templates/sign_checksums
blob: 5edf7e57ae3bf1392a969b07a716c309bd121607 (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