News for hackers. Stuff that matters.
Re:Reddit DMs will not reach their destination if they conta... by sotojuan on Saturday June 09, 2018 @11:42PM (#17276345)
From that thread:

> Reddit's new "private" chat system is powered by send bird without any additional end to end encryption.

> This means send bird provides a searchable plaintext database of all of these "private" chats.

> https://sendbird.com/features

> I like the (public) chat feature but to introduce "private" chats a feature that is clearly intended to increase interactivity and thus use of the feature without making this clear is just wrong IMO.

Re:Reddit DMs will not reach their destination if they conta... by beefhash on Sunday June 10, 2018 @12:19AM (#17276487)
I think that's backwards. You cannot assume that a "private" message is actually private unless end-to-end encryption is advertised. You still cannot safely assume so unless you've checked the code yourself. Privacy is never the default.

Hence the move to call things "direct" messages, rather than "private" as it used to be.

Re:Reddit DMs will not reach their destination if they conta... by Ninn on Sunday June 10, 2018 @05:54AM (#17277389)
You cant even be sure when you have checked the source code of the project -- whos to say that is actually what is deployed?
Re:Reddit DMs will not reach their destination if they conta... by Boulth on Sunday June 10, 2018 @06:55AM (#17277545)
Reproducible builds.
Re:Reddit DMs will not reach their destination if they conta... by aserafini on Sunday June 10, 2018 @07:35AM (#17277641)
But how do you know that the build you verified yourself is the one that is running on their server? It would be amazing to solve this problem - are there any solutions?
Re:Reddit DMs will not reach their destination if they conta... by megous on Sunday June 10, 2018 @07:44AM (#17277658)
End-to-end yousually means client to client. So all you need to verify is client code.
Re:Reddit DMs will not reach their destination if they conta... by Boulth on Sunday June 10, 2018 @08:30AM (#17277805)
Intel SGX, if you trust Intel. But the amount of code that runs on SGX is limited so usually you'd run only critical parts there.

A practical example: https://signal.org/blog/private-contact-discovery/

Re:Reddit DMs will not reach their destination if they conta... by spinsser on Monday June 11, 2018 @07:30AM (#17283396)
Wow! That is an interesting issue.

I was thinking of having a third-party trusted services that compares the hash of the deployed application to the one they independently compiled themselves.

But the complexity is nontrivial and there is enough variations between the output of the same source code across different build environments that would make hashes useless.

Another possibility is having trusted compilers that would send link the source code to the build in a trusted repository.

Re:Reddit DMs will not reach their destination if they conta... by cryptonector on Sunday June 10, 2018 @02:07AM (#17276834)
You also need an agreement from the recipient to keep it private.
Re:Reddit DMs will not reach their destination if they conta... by rando444 on Sunday June 10, 2018 @03:39PM (#17279823)
End-to-end encryption is for client-client communication.

When the sender and recipient are connected directly to the same system, there are no endpoints.

Re:Reddit DMs will not reach their destination if they conta... by DecayingOrganic on Sunday June 10, 2018 @01:53AM (#17276786)
From sendbird:

"Customers can choose to further encrypt the messages prior to sending and after receiving for end- to-end encryption as needed (but this will cause moderation tools and search features to malfunction)."

Reddit may prefer to not provide end-to-end encryption due to reasons, say, keyword marketing.

Re:Reddit DMs will not reach their destination if they conta... by maxbond on Sunday June 10, 2018 @01:57AM (#17276795)
I read this as saying that sendbird doesn't provide these features but you can use copy-paste to wedge them in if you're so moved.

https://help.sendbird.com/hc/en-us/articles/235854108-Are-yo...

Re:Reddit DMs will not reach their destination if they conta... by aurorabbit on Sunday June 10, 2018 @02:34AM (#17276898)
I began work on a project for exactly this 2 months ago.

https://aurorabbit.github.io/emojicrypt.com/

It encrypts messages with a passphrase using scrypt, AES-GCM, and sha256 for an HMAC.

Each v1 protocol message includes a salt/iv, scrypt N&r, HMAC, and whether or not to lower-case the password. All messages encrypted with the proof-of-concept will be decrypt-able by all future clients, as there's room for 13 more protocol versions.

The code is in complete disarray, and I wouldn't want anyone to sift through it in it's current state[1], but the proof-of-concept is finished, and life came up, so it's been sitting since.

I have a list of features[2] I want to add in the issues tracker :)

[1] if you do want to sift through it don't miss https://github.com/aurorabbit/libemojicrypt. I separated the repos without following through on that reorganization.

[2] https://github.com/aurorabbit/emojicrypt.com/issues

Re:Reddit DMs will not reach their destination if they conta... by netheril96 on Sunday June 10, 2018 @05:08AM (#17277271)
What's the point of HMAC when you already authenticate with GCM?
Re:Reddit DMs will not reach their destination if they conta... by scient on Sunday June 10, 2018 @09:41AM (#17278060)
More buzzwords.
Re:Reddit DMs will not reach their destination if they conta... by DecayingOrganic on Sunday June 10, 2018 @02:01AM (#17276807)
It appears to me that I simply misread, thank you for your assistance. I've edited it now.
Re:Reddit DMs will not reach their destination if they conta... by Uristqwerty on Sunday June 10, 2018 @08:55AM (#17277880)
The user who posted that has a strong history of looking for, and loudly proclaiming, malice in many decisions reddit makes. They're not necessarily wrong, though, just slightly more deserving of fact-checking than the average reddit user.
Re:Reddit DMs will not reach their destination if they conta... by SomeRandomDev on Sunday June 10, 2018 @01:10PM (#17279007)
Whoever made the call to implement this third-party service as their private messaging system made a terrible call.