Ya know what'd be great ?
An HTML/HTTP extension for encrypted (at rest) resources. Exact same thing as subresource integrity except instead of checking a hash, it decrypts.
As it stands, everyone's forced to choose between letting their TLS be MiTM'd or having no caching and exposure to DDoS.
Not as useful as it initially sounds, but with per-file key for files available only to authenticated users, it'd make sense.
Being able to encrypt form posts and key-stretch passwords on the client would also be great. Of course these things are possible now with js, but it would be nice if they were standards...
I thought POSTs bypass cache anyway, and you're supposed to serve your cdn-MITMed content on a separate domain, right?
Unfortunately, DDoS is such a reality right now that if you're hosting anything even marginally controversial, you need to either use a massive hosting provider (OVH, Amazon, Google), hide your IPs behind CF, or ideally both.
@cjd ok, but if the POST goes through the MITM, then so does the GET for the toplevel document, and the MITMer learns all the keys, making the whole exercise moot
@Wolf480pl For forum posts, the key should be asymmetric
@cjd ok, but what's the point of encrypting subresources then?
The toplevel document needs to provide keys with which the browser can decrypt the subresources, but since the DDoS protection company MITMs the toplevel document, it necessarily gets those keys as well, and can decrypt the subresources as well.
And why does DDoS protection require MITMing TLS anyway?
Oh indeed (silly me)... so I guess it should be a key in the URL itself so that href tags can contain it as well...
Argh, that reference makes me cringe because novaking and I used it first in ezcrypt but @sebsauvage was better at making it known... BTW Seb, did you know about ezcrypt when you did zerobin?
But anyway no, it would be better for the browser to do the decryption so you don't have to trust the js.
According to the git history, it looks like they were created within days of eachother. Just my memory was after we had the idea of doing that and we got ezcrypt up and working, suddenly there was a newspaper article about zerobin. Anyway, CryptPad took the technology another great step forward.
I heard of ezcrypt after I created ZeroBin.
For the crypto key in the fragment part of the URL, I was inspired by FreeNet (which is a decentralized P2P client with a rather heavy Java client).
I was wondering if it would be possible to do the same without a specific client.
Originally, ZeroBin was juste a POC, for fun.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!