mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-21 23:33:07 +00:00
20 lines
338 B
Bash
Executable file
20 lines
338 B
Bash
Executable file
#!/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
|
|
|
|
for file in dist/borg-*; do
|
|
$GPG --local-user "Thomas Waldmann" --armor --detach-sign --output "$file.asc" "$file"
|
|
done
|
|
|
|
touch -t "$D" dist/*
|