DNSCrypt - Public key in Python Module

Hi,

I am playing with the DNSCrypt support in unbound - seems to be working great.

Can you tell me if its possible to get the public key for the request from within my python module?

Thanks

Nick

Hi Nick,

I have little experience with the python module, but based on how the dnscrypt protocol is made, you could find out which certificate was chosen based on the client magic: https://github.com/jedisct1/dnscrypt-proxy/blob/master/DNSCRYPT-V2-PROTOCOL.txt#L55

Manu