summaryrefslogtreecommitdiffstats
path: root/files/reprepro/snapshots
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-12-20 12:05:47 +0000
committerintrigeri <intrigeri@boum.org>2016-12-20 12:05:47 +0000
commitb71ca82478a75b2c0c38f1ecd3b66db7e14e8536 (patch)
treef29e48b656ff10d9e66e57e5f09aa8b9ac690e9b /files/reprepro/snapshots
parent3400009291e4712a5d1c876577dee15e6f02727b (diff)
tails-bump-apt-snapshot-valid-until: use cert-digest-algo SHA512.
Since 1.4~beta1, APT rejects signatures made with SHA1.
Diffstat (limited to 'files/reprepro/snapshots')
-rwxr-xr-xfiles/reprepro/snapshots/time_based/tails-bump-apt-snapshot-valid-until4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/reprepro/snapshots/time_based/tails-bump-apt-snapshot-valid-until b/files/reprepro/snapshots/time_based/tails-bump-apt-snapshot-valid-until
index 6642886..b3ca71d 100755
--- a/files/reprepro/snapshots/time_based/tails-bump-apt-snapshot-valid-until
+++ b/files/reprepro/snapshots/time_based/tails-bump-apt-snapshot-valid-until
@@ -43,10 +43,10 @@ for release in $release_files; do
# Generate inline signature:
inrelease="${release%%Release}InRelease"
rm -f "$inrelease"
- gpg --output "$inrelease" --clearsign "$release"
+ gpg --cert-digest-algo SHA512 --output "$inrelease" --clearsign "$release"
# Generate detached signature:
gpgrelease="${release}.gpg"
rm -f "$gpgrelease"
- gpg --armor --output "$gpgrelease" --detach-sign "$release"
+ gpg --cert-digest-algo SHA512 --armor --output "$gpgrelease" --detach-sign "$release"
done