1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 10:18:12 +00:00
borg/scripts/sign-binaries

21 lines
332 B
Text
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/*