diff options
author | Christian PERRIER <bubulle@debian.org> | 2013-03-20 20:28:01 (GMT) |
---|---|---|
committer | Christian PERRIER <bubulle@debian.org> | 2013-03-20 20:28:01 (GMT) |
commit | 9d2779e3ae177f87067871da00abf198ae91499c (patch) | |
tree | 12a960dc31249a5904e81ecb17d72913f7595ded /functions | |
parent | fe975709fa0450e3e3d2335128d3b2a64da3a5c1 (diff) | |
download | debootstrap-9d2779e3ae177f87067871da00abf198ae91499c.zip debootstrap-9d2779e3ae177f87067871da00abf198ae91499c.tar.gz debootstrap-9d2779e3ae177f87067871da00abf198ae91499c.tar.bz2 |
* 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
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |