News for hackers. Stuff that matters.
Re:Telegram - secure, free messaging by userulluipeste on Monday December 16, 2013 @06:21AM (#6914069)
"Oh good, a bunch of randoms have rolled their own crypto. I stopped reading at this point."

An ad-hominem attack. This is Hacker News and their work is open, how about making a statement after researching the actual code instead?

Re:Telegram - secure, free messaging by micheljansen on Monday December 16, 2013 @06:34AM (#6914122)
In this case, even if you remove the ad-hominem attack (a bunch of randoms), a valid point remains: implementing crypto is already notoriously difficult, let alone designing cryptographic protocols.
Re:Telegram - secure, free messaging by TelegramApp on Monday December 16, 2013 @07:21AM (#6914294)
Still, there are sometimes valid reasons for not re-using existing solutions.

In our case, we needed something that is both secure and competitive in comparison to mass market solutions in terms of speed, working on weak connections and usability.

Disclaimer: I work for Telegram.

Re:Telegram - secure, free messaging by ge0rg on Monday December 16, 2013 @07:42AM (#6914364)
It is a really bad idea to compromise security for speed and connection stability. Processing power is a question of scaling the hardware, communication speed is hardly affected by a proper encryption scheme, neither is reliability of the application-layer protocol.

Usability, however, is a different beast. You must compromise security to make a chat application appeal to "regular" users. Still, this is a trade-off that can be clearly communicated to the user and to developers, and does not require a custom crypto protocol. You can achieve the same effects with using existing and tested libraries.

Edit: Disclaimer: I am the developer of the yaxim Android XMPP client and the operator of the public yax.im XMPP server (both available at http://yax.im).

Re:Telegram - secure, free messaging by e12e on Monday December 16, 2013 @08:25AM (#6914534)
Thank you for the plug for yaxim. I've been searching around for a "good enough" jabber client for android, and while yaxim isn't there yet (for me: no otr support, single server) it looks like it's headed in the right direction!
Re:Telegram - secure, free messaging by finnn on Monday December 16, 2013 @01:28PM (#6916730)
Have you looked at ChatSecure? It has OTR, multiple servers, all that good stuff. It's not wonderful but it ain't bad (curious to hear what others have to say, I haven't really used much else)
Re:Telegram - secure, free messaging by e12e on Monday December 16, 2013 @07:58PM (#6919007)
I have it installed, but not really looked at it. My last "burst" use of xmpp was via facebook -- as most of my contacts don't use "plain" jabber right now. Before that I used it a bit for work -- but then rarely on my phone.

Now that google is killing talk in favour of proprietary hangouts, I predict it'll be a while before I'm a serious xmpp user again.

Sadly it's very hard to push process changes when one are in the minority in a group... Thanks for the reminder though, it does look like it full-fills most of my needs (and fixes annoyances I've encountered with other android clients).

Re:Telegram - secure, free messaging by TelegramApp on Monday December 16, 2013 @11:35AM (#6915810)
MTProto still uses RSA, AES + DH. So I would disagree that what we have here means 'compromising security for speed and stability'. It is rather optimizing for speed and stability, while staying secure.
Re:Telegram - secure, free messaging by ska on Monday December 16, 2013 @05:00PM (#6918138)
Often in the crypto world, these are exactly the good intentions with which the road to hell(pwnage?) is paved.

Knowing this, I hope you can appreciate why the burden of proof on your unproven team and approach is fairly high.

Re:Telegram - secure, free messaging by micheljansen on Monday December 16, 2013 @04:17PM (#6917858)
Absolutely, just trying to point out that the original poster raised some valid points that didn't deserved to be dismissed as "ad hominem". I haven't had a chance to dissect your work (but appreciate that you have made that possible in the first place) and I believe extraordinary claims require extraordinary scrutiny :)
Re:Telegram - secure, free messaging by e12e on Monday December 16, 2013 @08:27AM (#6914542)
How do you improve on OTR?
Re:Telegram - secure, free messaging by DanBC on Monday December 16, 2013 @11:37AM (#6915821)
Why bother reviewing the code? It's almost certainly a waste of time to do so.

We know that writing crypto is hard and experienced crypto programmers make mistakes.

The possibility of a naive programmer creating a sturdy piece of crypto software with no previous experience is vanishingly small.

Re:Telegram - secure, free messaging by Morgawr on Monday December 16, 2013 @07:25AM (#6914313)
If there is one place where an appeal to authority argument can hold place and not be seen as a fallacy is security. (it's not ad hominem btw)

When you're rolling out a secure system + implementation you want to use algorithms that have been proven, tested and certified as correct. It's a delicate field that can't be approached like your standard software development field. Yes, being a "random" and developing your own encryption algorithm out of the box is bad. Never trust anything like that. Period.

Re:Telegram - secure, free messaging by richo on Monday December 16, 2013 @06:36AM (#6914124)
You're assuming that the average HN is in a position to audit crypto code.

We use well audited crypto primitives with formal proofs because they're known safe, or at least orders of magnitude safer than whatever these fools cooked up.

tl;dr provide proof or gtfo. We're not here to audit you.