r/programming • • Nov 24 '16

Let's Encrypt Everything

https://blog.codinghorror.com/lets-encrypt-everything/
3.5k Upvotes

508 comments sorted by

View all comments

Show parent comments

1

u/alex_w Nov 24 '16

When I check the connection info for the tab I have Google open in it's using AES128GCM. So 128bit block encoder.

As I understand it that means the tail end of the request is going to be padded to the nearest 128bit block, 16 uint8s. I don't see how that could be helpful in working out what I typed.

Am I missing something (I don't have time to read the 16 page .pdf, sorry).

2

u/pfg1 Nov 24 '16

Disclaimer: I haven't read the whole thing either.

AIUI, most of their findings were reproduced with stream ciphers (RC4, though I guess it's similar with newer ones like ChaCha20?):

We checked 22 important HTTPS websites in Appendix B. All of them use RC4 stream cipher, except two: VeriSign, which uses AES128 block cipher for some communications and RC4 for others, and GEICO, which uses Triple-DES block cipher (64 bits). No AES256 traffic was observed on any website.

However, they also state:

Note that we simply state the fact that most websites today have absolutely no side-channel protection at the HTTPS layer, not advocating block ciphers as a cure. We will show later that for most application features, the rounding-effects of block ciphers offer very marginal or no mitigation at all because the traffic distinctions are often too large to hide.

I guess it might be good enough to defeat the search term side-channel.