Home GnuPG
Diffusion GnuPG 256a280c51f9

dirmngr: Prepare for updated WKD specs with ?l= param

Description

dirmngr: Prepare for updated WKD specs with ?l= param

* dirmngr/server.c (proc_wkd_get): Tack the raw local address to the
request.

We append the raw non-canonicalized local address part to the hash.
Servers who serve the requests from static files will ignore the
parameters and a test with posteo shows that also services using a
database ignore the parameter. The general idea is that service
providers may use their own canonicalization rules. The problem is
that we currently filter the returned key for the full mail address
and thus we will never see a key if the service did a different
canonicalization than we. So consider this to be an experiment.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 22 2018, 8:13 PM
Parents
rG68b8096b6617: agent: Fix build regression for Windows.
Branches
Unknown
Tags
Unknown