From 2bb4aa53547f2dae07880fa14ed95913cf3d2540 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 2 Jul 2019 13:00:13 +0200 Subject: [PATCH] work around GnuPG being silly with redirects --- .../static-mirroring/vhost/static-vhosts-simple.erb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 96c4ce651..02769feeb 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -222,8 +222,17 @@ + # Legacy GPG versions (including 2.2.12 in buster/Debian 10) get redirections from + # the (not supposed to be default) direct method wrong. + # They ask for https://debian.org/.well-known/openpgpkey/hu/ + # get a redirect to https://openpgpkey.debian.org/.well-known/openpgpkey/debian.org/hu/ + # and then try to fetch https://openpgpkey.debian.org/.well-known/openpgpkey/hu/ + # *sigh* + Alias /.well-known/openpgpkey/hu/ /srv/static.debian.org/mirrors/openpgpkey.debian.org/cur/debian.org/hu/ + Alias /.well-known/openpgpkey/policy /srv/static.debian.org/mirrors/openpgpkey.debian.org/cur/debian.org/policy + + # The draft specified well-known place using the "advanced method" Alias /.well-known/openpgpkey/ /srv/static.debian.org/mirrors/openpgpkey.debian.org/cur/ - Options -Indexes -- 2.20.1