1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-22 15:57:15 +00:00
borg/scripts/sign-binaries

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
338 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/*