summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian PERRIER <bubulle@debian.org>2013-03-20 21:28:01 +0100
committerChristian PERRIER <bubulle@debian.org>2013-03-20 21:28:01 +0100
commit9d2779e3ae177f87067871da00abf198ae91499c (patch)
tree12a960dc31249a5904e81ecb17d72913f7595ded
parentfe975709fa0450e3e3d2335128d3b2a64da3a5c1 (diff)
downloaddebootstrap-9d2779e3ae177f87067871da00abf198ae91499c.tar.gz
* Properly decrypt the InRelease file when downloading from an archive
where InRelease is used. This longstanding bug was masked by former APT behaviour and was revealed only with recent APT versions Closes: #703146 Thanks to Michael Vogt for the analysis and patch
-rw-r--r--debian/changelog11
-rw-r--r--functions3
2 files changed, 13 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 6003126..ce81354 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+debootstrap (1.0.47) UNRELEASED; urgency=low
+
+ * Team upload
+ * Properly decrypt the InRelease file when downloading from an archive
+ where InRelease is used. This longstanding bug was masked by former
+ APT behaviour and was revealed only with recent APT versions
+ Closes: #703146
+ Thanks to Michael Vogt for the analysis and patch
+
+ -- Christian Perrier <bubulle@debian.org> Wed, 20 Mar 2013 21:21:47 +0100
+
debootstrap (1.0.46) unstable; urgency=low
* Team upload.
diff --git a/functions b/functions
index c1e938e..1dc0f87 100644
--- a/functions
+++ b/functions
@@ -530,7 +530,8 @@ download_release_sig () {
warning KEYRING "Cannot check Release signature; keyring file not available %s" "$KEYRING_WANTED"
fi
if [ "$release_file_variant" = "IN" ]; then
- mv "$relsigdest" "$reldest"
+ rm -f $reldest
+ gpg --output "$reldest" --decrypt --keyring "$KEYRING" --ignore-time-conflict "$relsigdest"
fi
}