News for hackers. Stuff that matters.
Re:Encryption is less secure than we thought by nialo on Wednesday August 14, 2013 @11:13AM (#6211982)
This is the obvious intuitive response, but it turns out that it's broken: Compressing data before encryption can give attackers a new side channel to recover the plaintext, by just watching the message length, and seeing when the compression is more or less effective. See, for example, the CRIME attack on TLS.
Re:Encryption is less secure than we thought by Tloewald on Thursday August 15, 2013 @10:22AM (#6217904)
Seems to me that the inherent problem here was that you could get the sender to send messages of your choosing, which is always going to be a vulnerability. Consider that this entire line of discussion is redundant if (a) the encryption key is public (as stated above) or (b) you know what the plaintext looks like for some encrypted examples.
Re:Encryption is less secure than we thought by p0ckets on Wednesday August 14, 2013 @01:41PM (#6213005)
Obvious next step: compress and pad to original length.
Re:Encryption is less secure than we thought by rmidthun on Wednesday August 14, 2013 @02:05PM (#6213160)
Obvious? Didn't that word already cause enough trouble?

What are you going to pad it with? Random values? In that case, I'll just make two requests for the same information and clip it where they differ. Some sort of value based on the message? That also has issues, see link below. So far it doesn't seem like there are any obvious crypto ideas that are not also wrong.

http://en.wikipedia.org/wiki/Padding_oracle_attack

Re:Encryption is less secure than we thought by nknighthb on Wednesday August 14, 2013 @09:48PM (#6215679)
> I'll just make two requests for the same information and clip it where they differ.

So, byte 0? You're not really using ECB, are you?

Re:Encryption is less secure than we thought by rmidthun on Thursday August 15, 2013 @01:32PM (#6219381)
D'oh. Good point.

At least I can point to it as another example of someone not expert in the field making a stupid statement about crypto...

I think the general problem of padding with random values resulting in non-determinism would still matter in some cases, but IANAC.