gemato icon indicating copy to clipboard operation
gemato copied to clipboard

openpgp: implement WKD advanced lookup

Open robbat2 opened this issue 2 years ago • 3 comments

Signed-off-by: Robin H. Johnson [email protected]

robbat2 avatar Feb 06 '23 06:02 robbat2

It's not perfect yet, I couldn't figure out how how to mock socket.getaddrinfo for testing

robbat2 avatar Feb 06 '23 06:02 robbat2

My first concern is that this bypasses proxy.

mgorny avatar Feb 15 '23 10:02 mgorny

Hmm, the spec does say to do the advanced/direct switch depending if the hostname exists. How do we make that determination behind a proxy? Do we trust that the HTTPS request via the proxy returns a meaningful 404 vs actual data?

robbat2 avatar Feb 16 '23 06:02 robbat2