Re:ArchiveTeam Warrior backing up Reddit
by kiwidrew on Thursday December 16, 2021 @10:23PM
(#29587298)
Unfortunately it's not possible, because TLS negotiates a symmetric key which is then used to encrypt and authenticate the rest of the session. If you post the transcript of a TLS session in an attempt to "prove" that you retrieved a specific document, a third party can verify that you did in fact negotiate a symmetric key with the correct server; but since it's a symmetric key, anyone with knowledge of the key can arbitrarily modify the transcript of the session [well, the part of the session where the HTTP request and response happen]. This obviously includes the original prover, and so a TLS transcript proves nothing at all.
Re:ArchiveTeam Warrior backing up Reddit
by ajsfoux234 on Thursday December 16, 2021 @08:52PM
(#29586785)
TLSNotary tries to solve this problem:
https://tlsnotary.org/
It was posted here a while ago: https://news.ycombinator.com/item?id=29090604
Re:ArchiveTeam Warrior backing up Reddit
by paxys on Thursday December 16, 2021 @08:24PM
(#29586538)
The problem is when you are trying to verify the data down the line the original certificate (up to and including the root cert or even the authority itself) will have expired, so it won’t be possible to trust it.
Re:ArchiveTeam Warrior backing up Reddit
by duskwuff on Thursday December 16, 2021 @08:31PM
(#29586596)
You can still verify a signature from an expired certificate. With certificate transparency, you can even verify the issuance of that certificate.
Re:ArchiveTeam Warrior backing up Reddit
by rentnorove on Thursday December 16, 2021 @08:29PM
(#29586578)
Wouldn't you want to validate it for the time at which it was served? In which case you'd just an archive of the CA roots at the time.
Re:ArchiveTeam Warrior backing up Reddit
by paxys on Thursday December 16, 2021 @08:33PM
(#29586623)
And how do you verify that the CA roots are authentic?
Re:ArchiveTeam Warrior backing up Reddit
by notriddle on Thursday December 16, 2021 @08:50PM
(#29586763)
The Hg history from Mozilla-Central?
Re:ArchiveTeam Warrior backing up Reddit
by paxys on Thursday December 16, 2021 @09:41PM
(#29587045)
Sure but that's still a third party dependency. And then you have to verify that the Firefox source is authentic. My point is there's no way to have a fully self verifying archive.
Not sure if this is entirely what you're after, but check out https://github.com/WICG/webpackage
In other words, is it possible to get any HTTPS website to give you what is essentially a digitally signed copy of content you want to prove originated with that site? And is it true that that digital signature is easily verified to belong to the original website?