3 ms·
The author recommends TOFU as an alternative. TOFU is great until it isn't. Web servers do get hacked all the time (mostly thanks to Wordpress), and when they d
by rollcat 3y ago
The author recommends TOFU as an alternative. TOFU is great until it isn't. Web servers do get hacked all the time (mostly thanks to Wordpress), and when they do, rotating any and all private keys is high on your action list (preferably through nuking the machine from the orbit).
The short expiration date on the certificate is specifically meant to address this problem. CRLs don't work, not even by principle - how often are you meant to refresh them? Who's volunteering to handle the load?
Which circles us back to the underpinning of the fundamental problem: DNS is insecure. If DNSSEC was to be the answer, where is it, 20 years in? Can we pretty please adopt DNSCurve instead already?
- lolinder 3y agoExactly. GitHub recently illustrated why TOFU is non-optimal when they had to rotate their keys [0]. For weeks, everyone was re-trusting GitHub's keys and most of the advice out there just said to scrub the remembered key and re-trust whatever came up. If that's how the technical users of GitHub were reacting, why would we try to make regular people keep track of trusted keys? [0] https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/ https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-k...