News for hackers. Stuff that matters.
Re:MongoDB Releases Queryable Encryption Preview by blintz on Tuesday June 07, 2022 @03:14PM (#31658817)
These things are indeed possible while maintaining fully semantically secure encryption. Recent, mostly theoretical work shows that this is possible using fully homomorphic encryption. The basic idea is, the client can encrypt its query, the server can process the encrypted query and produce an encrypted result, and send this back to the client. It sounds impossible, but it isn’t! Very cool stuff. There are actually also some practical implementations that work… so it’s gradually exiting the “theoretical only” stage.

MongoDB is very short on details, and I suspect they do something worse than homomorphic encryption, that does indeed make some kind of compromise between privacy and convenience.

Re:MongoDB Releases Queryable Encryption Preview by dweinus on Tuesday June 07, 2022 @04:36PM (#31659755)
Yeah, they contrast their method with homomorphic encryption, which makes me share your suspicion
Re:MongoDB Releases Queryable Encryption Preview by it_was_cool on Wednesday June 08, 2022 @11:50AM (#31669179)
Searchable encryption trades privacy for efficiency. However, the privacy loss can be tuned. For example, SE constructions will specify whether they leak search-pattern (how many of the same queries a client makes), access-pattern (the frequencies with which different items are accessed) or other things. Usually, a client can pay in storage/bandwidth to mitigate these leakages.
Re:MongoDB Releases Queryable Encryption Preview by VenetianSnares on Tuesday June 07, 2022 @04:44PM (#31659832)
Yeah, I've been looking for more information and I can't really see any indication as to how they are planning on implementing it. The whole thing seems more like marketing than actual innovation: searching encrypted data isn't that complicated if you are always dealing with the entire ciphertext, it's just another string in that use case.
Re:MongoDB Releases Queryable Encryption Preview by bawolff on Tuesday June 07, 2022 @11:43PM (#31662949)
> searching encrypted data isn't that complicated if you are always dealing with the entire ciphertext, it's just another string in that use case.

This isn't really true because there are multiple ciphertexts that can decode to the same plaintext in any modern encryption algorithm. If you skip that property you weaken the encryption. (Chosen plaintext attacks)

Re:MongoDB Releases Queryable Encryption Preview by tapeloop on Wednesday June 08, 2022 @04:13AM (#31664630)
it's not complicated if they are using deterministic encryption - which brings it's own issues