News for hackers. Stuff that matters.
Re:Stateless ZIP library – SLZ by striking on Thursday September 03, 2015 @03:10PM (#10166930)
Absolutely incredible. I had no idea this was even possible. Defeating CRIME while keeping compression? I can hardly believe it.
Re:Stateless ZIP library – SLZ by amluto on Thursday September 03, 2015 @03:19PM (#10166967)
AFAICT this only avoids CRIME if there's never both attacker-controlled data and a secret in the same SLZ compress call.
Re:Stateless ZIP library – SLZ by bonyt on Thursday September 03, 2015 @03:29PM (#10167023)
But I think the idea is that the compress call takes such a small amount of data that it is far less likely for there to be such data in the same call
Re:Stateless ZIP library – SLZ by mikeash on Thursday September 03, 2015 @04:38PM (#10167403)
It goes beyond that, and suggests explicitly dividing up the data into sensitive and potentially attacker-controlled pieces, and processing those pieces separately. In short (and I could be wrong, but this seems to be the basic idea), if you always start a new chunk after you're done sending headers and before you start sending content, you're safe.
Re:Stateless ZIP library – SLZ by striking on Thursday September 03, 2015 @04:00PM (#10167174)
You can separate the calls while keeping the streams intact.