3 ms·
That would make implementing search quite hard so I'd say - it's pretty likely they don't encrypt it.
by mateuszf 12y ago
That would make implementing search quite hard so I'd say - it's pretty likely they don't encrypt it.
- smt88 12y agoIf anyone from Slack is reading this, the encryption should be an option, even if it means disabling or substantially slowing the search feature.
- NeutronBoy 12y agoIf they encrypted it, Slack would have to hold the key, so that all users in an org can then read existing messages.
- smt88 12y agoNo, it could be a private key shared among users.
- newobj 12y agoThat's not right. There is no need to store text body in order to index it. Furthermore, you can implement an index of token hashes, rather than an index of tokens.
- polyfractal 12y agoIt would remove a lot of nice search features, however. If you just index tokens without positional information, you have a much harder time performing phrase matching. If you include positional information, you can probably crack the encryption because some tokens are statistically more likely to appear next to each other than others. If you index shingles (phrase chunks) instead, you lose out on sloppy phrases...you can only match exact phrases. I imagine you can perform a similar statistical attack too. Hell, just getting the term dictionary would probably allow you to reverse engineer the tokens, since written language follows a very predictable power law. Hashing also removes the ability to highlight search results, which significantly degrades search functionality for an end user. Basically, yes, you can do search with encrypted tokens...but it will be a very poor search experience.
- skatenerd 12y agoThis reminds me of the plot of Silicon Valley
- sukilot 12y agoIf they dont encrypt storage they are highly negligent. Index and search are done in RAM,which is slightly harder to steal than disk data.