3 ms·
Edited, original from https://code.google.com/p/keyczar/wiki/CppTutorial https://code.google.com/p/keyczar/wiki/CppTutorial keyczar::Keyczar* crypter = keycz
by im3w1l 13y ago
Edited, original from https://code.google.com/p/keyczar/wiki/CppTutorial https://code.google.com/p/keyczar/wiki/CppTutorial
keyczar::Keyczar* crypter = keyczar::Crypter::Read(location);
if (!crypter)
return;
crypter->set_compression(keyczar::Keyczar::ZLIB);
std::string input = "Hey Alice, here is Eves message: [quote]"+superescape(evemessage)+"[/quote] Your Bob";
std::string ciphertext;
bool result = crypter->Encrypt(input, &ciphertext);
Ooops because, http://arstechnica.com/security/2012/09/many-ways-to-break-ssl-with-crime-attacks-experts-warn/ http://arstechnica.com/security/2012/09/many-ways-to-break-s...
- tptacek 13y agoSure. I think that speaks to my point; the compression side channel was novel enough that trained cryptographers missed it in Keyczar. (Just don't use compression with your encryption and avoid the issue entirely).
- im3w1l 13y agoWell, even if they removed it, our hypothetical library user could do it by themselves if not told not to.