borg/scripts/sign-binaries

21 lines
332 B
Plaintext
Raw Normal View History

2016-07-07 17:02:50 +00:00
#!/bin/bash
D=$1
if [ "$D" = "" ]; then
echo "Usage: sign-binaries 201912312359"
exit
fi
if [ "$QUBES_GPG_DOMAIN" = "" ]; then
GPG=gpg
else
GPG=qubes-gpg-client-wrapper
fi
2016-07-07 17:02:50 +00:00
for file in dist/borg-*; do
$GPG --local-user "Thomas Waldmann" --armor --detach-sign --output $file.asc $file
2016-07-07 17:02:50 +00:00
done
touch -t $D dist/*