News for hackers. Stuff that matters.
Re:How Signal Beats WhatsApp by vonklaus on Saturday June 25, 2016 @07:08PM (#11978461)
do you have any resources for building a secure chat application, or maybe more accurately, implementing secure chat as a feature of an application?
Re:How Signal Beats WhatsApp by CiPHPerCoder on Saturday June 25, 2016 @07:26PM (#11978549)
That's not an undertaking that should be taken lightly. At minimum, you should have a team wherein one of the people making the final design decisions is a cryptography expert.

And I don't mean "I learned how to do textbook RSA in college", I mean more of, "Can tease a previously undiscovered cache-timing side-channel out of a crypto library". (For example, the recent libgcrypt advisories.)

If the words "padding oracle" or acronyms like AEAD sound strange and foreign, that person is not qualified to fill that role.

I would wager most developers lack the background to make a messaging service that is actually secure. (To anyone reading this: Please don't let this fact magnify any sense of impostor syndrome you may have. You're far from alone. Even the experts won't embark on this endeavor without peer review.)

Re:How Signal Beats WhatsApp by vonklaus on Saturday June 25, 2016 @07:29PM (#11978566)
to be clear, I was hoping to build it casually on top of a protocol or library. I would not be planning on rolling my own crypto or anything like that. I want a feature of my application to be encrypted chat which given the large availability or apps & libraries, I was hoping could be more of an integration than a build out.
Re:How Signal Beats WhatsApp by CiPHPerCoder on Saturday June 25, 2016 @07:29PM (#11978572)
In that case, the Signal protocol is open source.

https://github.com/WhisperSystems/libsignal-protocol-c

https://github.com/WhisperSystems/libsignal-protocol-java

More generally (i.e. not for messaging apps), libsodium is great for application-layer cryptography:

https://download.libsodium.org/doc/bindings_for_other_langua...

Re:How Signal Beats WhatsApp by vonklaus on Saturday June 25, 2016 @07:33PM (#11978589)
thanks, I did a cursory look a little while ago and have been thinking of signal. Thanks for the resources. Will check out.