Re:Single random bit flip causes error in certificate transp...
by tptacek on Sunday July 04, 2021 @01:44PM
(#27731347)
Not handling corrupted data is kind of the point of cryptographic authentication systems. Informally and generally, the first test of a MAC or a signature of any sort is to see if it fails on arbitrary random single bit flips and shifts.
The protocol here seems to have done what it was designed to do. The corrupted shard has simply been removed from service, and would be replaced if there was any need. The ecosystem of CT logs foresaw this and designed for it.
Re:Single random bit flip causes error in certificate transp...
by ajross on Sunday July 04, 2021 @09:32PM
(#27733976)
So... Yeti isn't broken then? Seems like the protocol does handle it? Seems like there's some confusion on this point in this thread.
Re:Single random bit flip causes error in certificate transp...
by detaro on Monday July 05, 2021 @04:05AM
(#27735611)
The Yeti2022 log is corrupted due to the random event. This has been correctly detected, and is by design and policy not fixable, since logs are not allowed to rewrite their history (ensuring that they don't is very much the point of CT). That the log broke is annoying but not critical, and the consequences are very much CT working as intended.
You can argue if the software running the log should have verified that it calculated the correct thing before publishing it, but that's not a protocol concern.
Re:Single random bit flip causes error in certificate transp...
by tptacek on Monday July 05, 2021 @01:41AM
(#27734928)
I think Yeti2022 is just the name for one instance of the global CT log? Nick Lamb could probably say more about this; I understand CT mostly in the abstract, and as the total feed of CT records you surveil for stuff.
Re:Single random bit flip causes error in certificate transp...
by detaro on Monday July 05, 2021 @03:59AM
(#27735583)
Yeti is one of the CT logs (and Yeti2022 the 2022 shard of it, containing certs that expire in 2022). CT logs are independent of each other, there is not really a "global log", although the monitoring/search sites aggregate the data from all logs. Each certificate is added to multiple logs, so the loss of one doesn't cause a problem for the certs in it. (Maybe it's also possible to still trust Yeti2022 for the parts of the log that are well-formed, which would decrease the number of impacted certs even more, not familiar enough with the implementations for that)
If Yeti can't handle corrupt data and falls down like this, Yeti seems pretty broken to me.