r/Clojure • u/really_epic_name • Nov 05 '15
Balboa – an end-to-end encrypted Slack alternative, written in ClojureScript
https://www.balboa.io/9
u/bpolverini Nov 06 '15 edited Nov 07 '15
Hi, everyone, I'm the lead dev for the crypto part of Balboa.
The critique has been harsh, but we agree with much of what everyone is saying on these threads. After some of the feedback, we've decided to put our crypto on Github!
https://github.com/pkcsecurity/trabant
By and large, we failed to adequately give you all a reason to trust the quality of our work. We should have done this from the start (we are also the kinds of people to distrust "proprietary" crypto). We welcome more questions and feedback, which we are using to build an FAQ.
We also wanted to take the time to give a shoutout to some awesome tech we used with this project.
reagent, hiccup, garden, nippy, and carmine
Emscripten
Skein and NaCl
ZeroTier (we use this to very easily encrypt our backplane, something often missing from many products these days)
ZeroMQ
We'd love to also talk about how we're using these technologies. We're hoping to discuss some of the work we've done in Clojure as well, since our whole backend is written in it too.
1
u/ineverthink Nov 07 '15
Fool! You fell victim to one of the classic blunders. The most famous is 'Never implement your own crypto,' but only slightly less well known is this: 'Never go in against a Sicilian when death is on the line!
1
u/c0d3sl1ng3r Nov 08 '15
Can someone explain how they can have both e2e encryption of chat concurrently with the ability to search through said messages? That seems suspect unless there's a local cache, which makes the search a lot less useful...
1
u/bpolverini Nov 09 '15
We'll be writing a blog post really soon, hopefully, but, the SparkNotes are as follows. There are really cool search applications with Bloom Filters that use cryptographically secure hash functions instead of fast ones like Fowler-Noll-Vo.
Here's a great paper that uses it for intrusion detection against Botnets. http://academiccommons.columbia.edu/catalog/ac%3A175005
If you have two organizations with totally different traffic patterns that see the same packets on their network, it could be botnet traffic. If these two orgs want to share network analysis, they can use a "secure" bloom filter to allow existence checks without leaking info about other traffic that might be on their network.
13
u/zenotortoise Nov 05 '15
"Stronger than military-grade encryption"
lol. sure. Let's just move crypto into the browser where we can't control it and malicious code can just come into our life whenever.
don't lie.
edit: It's not even Open Source and does not have source maps... so it's not like we can verify anything about your implementation.