This is a really neat technology, but I don't understand it's use case. I've worked in HealthTech and currently in the compliance space. I'm skeptical of Mongo's claims (and their familiarity with compliance laws). Kind of feels like a solution in search of a problem. "In use" implies that you have a need to process that data. It doesn't matter if the end client is submitting queries in plain text (protected in trans…
MongoDB Releases Queryable Encryption Preview
11–20 of 69 posts
Re: MongoDB Releases Queryable Encryption Preview
#12Re: MongoDB Releases Queryable Encryption Preview
#13seriously did not think we would see homomorphic encryption productized for a few more years. pretty impressive!
If they are able to do this without decrypting the data then I think you could describe this as a somewhat week encryption that exposes some data attributes as queryable. You could not implement this with strong encryption without at least decrypting for indexing.
Re: MongoDB Releases Queryable Encryption Preview
#14seriously did not think we would see homomorphic encryption productized for a few more years. pretty impressive!
> Some of the existing tools, such as homomorphic encryption or secure enclaves have performance unsuited to scalable encrypted search, require proprietary hardware, or have uncertain security properties. I don't think this is exactly homomorphic. I hope they put out a whitepaper so researchers can properly evaluate its security.
Re: MongoDB Releases Queryable Encryption Preview
#15I didn't know this was a thing. The article mentions it can do equality, range, prefix, suffix and substring queries. Does this mean that the encryption scheme creates sortable 1:1 mapped results after encryption? Kind of like a shift cipher?
"Queryable Encryption was designed by MongoDB’s Advanced Cryptography Research Group, headed by Seny Kamara and Tarik Moataz"
Some related papers with those two as authors:
Re: MongoDB Releases Queryable Encryption Preview
#16Is this actually possible? Couldn't you make many repeated queries and slowly decrypt the text by e.g. slowly narrowing the range?
It's also difficult to see how this could work on the server side without exposing some information about the encrypted fields. For example, if all documents have a value that begins with "a", then there must exist a prefix query that matches all those documents. I would expect it to be possible to figure out whether such a query is possible or not, only given access to the encrypted data, but even if that's not possible, the simple fact that a prefix query was issued that matched all documents gives away that information.
Re: MongoDB Releases Queryable Encryption Preview
#17This is a really neat technology, but I don't understand it's use case. I've worked in HealthTech and currently in the compliance space. I'm skeptical of Mongo's claims (and their familiarity with compliance laws). Kind of feels like a solution in search of a problem. "In use" implies that you have a need to process that data. It doesn't matter if the end client is submitting queries in plain text (protected in trans…
In the most extreme cases, the unencrypted values never leave the client. The database can concentrate on delivering storage and fast query answers without paying much attention to issues of security. Clients don't need to trust the database because they control the encryption.
Re: MongoDB Releases Queryable Encryption Preview
#18CipherStash works with any Database and also supports Range queries and sorting/ordering. We do it in the application layer. Only supports Ruby so far but C#, Java, Python, Rust are in the works.
Re: MongoDB Releases Queryable Encryption Preview
#19This looks really cool. Albeit feels that it is actually a feature implemented in the driver (client side) so my initial impression is that is not a meanignfull innovation on the server side. This can be implemented with any Database, even with current MongoDBs
> This can be implemented with any Database, even with current MongoDBs Is it really all client side? How could they do things like substring matching without sending the entire index back and forth to the client? The graphic seems to show the query being executed solely on the server (although graphics often lie).
Then it's just a matter of counting matching trigrams/chunks. The server doesn't need to know how to read the trigrams.
Re: MongoDB Releases Queryable Encryption Preview
#20seriously did not think we would see homomorphic encryption productized for a few more years. pretty impressive!