johanix / tdns

Authoritative nameserver + tools. Intended for experiments and testing new things.
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Design a private key distribution infrastructure for TDNS #83

Open johanix opened 1 month ago

johanix commented 1 month ago

A number of TDNS features depend on being able to modify the zone data and therefore also be able to re-sign the zone data (for DNSSEC to work). The obvious drawback is that we then need the private keys at the edge.

It is also worth pointing out that all the commercial DNS services now provide support for key distribution to the edge, so while TLD zones are unlikely to use this (given external anycast providers), for other zones this is becoming the new normal.

Manual distribution of private keys from server to server is bound to end in tears. Automation is needed. So what is needed as a start is essentially:

johanix commented 3 weeks ago

After listening in on the JOSE WG during the IETF I learnt a bit about HPKE, which is a rather new framework that ought to fit this purpose quite nicely.

Once we get to this I think we should take a careful look at HPKE, and in particular the Cloudflare implementation on github.