News for hackers. Stuff that matters.
Re:How HTTPS Handshake Happens by djsumdog on Tuesday June 27, 2017 @03:38AM (#14643221)
People who are wanting to get into complex cryptography today have to start somewhere. Showing working models, with huge disclaimers, in blog posts and on github is a great way to lean, if you invite others to show you flaws and break your implementation.
Re:How HTTPS Handshake Happens by tptacek on Tuesday June 27, 2017 @10:37AM (#14645753)
If you want to build complex cryptography, you must either obtain formal training, or learn how to break complex cryptography.

What you can't do is read a book or two about cryptography, the way you would a new programming language, and then bootstrap your own expertise from that. Cryptography is a lot trickier than most other topics in computer science.

Re:How HTTPS Handshake Happens by kasey_junk on Tuesday June 27, 2017 @11:24AM (#14646223)
> Cryptography is a lot trickier than most other topics in computer science.

Is that actually true? Or is it that most software development isn't really about topics in computer science. Like if you wanted to design your own distributed database wouldn't most of what you said above also apply?

Isn't this really a case where "hard topic is hard"?

Re:How HTTPS Handshake Happens by tptacek on Tuesday June 27, 2017 @11:28AM (#14646264)
I thought about that when I wrote that comment and my conclusion is, no: distributed systems protocols are notoriously hard, but they don't have adversaries. Crypto protocol flaws are marginally more complicated than distributed systems flaws, but also, a distributed system with a byzantine fault can be survivable, and a cryptosystem with a subtle flaw won't be.
Re:How HTTPS Handshake Happens by kasey_junk on Tuesday June 27, 2017 @11:42AM (#14646427)
I'd buy that having adversaries is what makes crypto different than other topics. Thats probably a better way to pitch your message as well.
Re:How HTTPS Handshake Happens by Kubuxu on Tuesday June 27, 2017 @10:53AM (#14645913)
There is enormous difference between rolling your own crypto primitives and using existing primitives to create a protocol.
Re:How HTTPS Handshake Happens by tptacek on Tuesday June 27, 2017 @10:59AM (#14645966)
No, there isn't. Most crypto vulnerabilities happen in the joinery between primitives. If you rolled your own block cipher, it's less likely that the cipher would be broken than that your protocol would be broken with a vulnerability that would apply equally well to AES.

Obviously, don't make your own block cipher, either.