News for hackers. Stuff that matters.
Re:You are dangerously bad at cryptography by alinajaf on Monday May 27, 2013 @01:07PM (#5775416)
Hi, author here. I would have liked to have made useful suggestions, but having made so many errors with cryptography in the past, I don't really feel qualified to do so.

I do however recommend getting in touch with tptacek and co and doing the crypto challenges. I mentioned this at the bottom of the post.

Edit: re: timing attacks, it helps if you're in the same data centre. I've never personally implemented a timing attack, so I'm hesitant to make any assertions further than that either way.

Re:You are dangerously bad at cryptography by bazzargh on Monday May 27, 2013 @01:30PM (#5775600)
btw: isn't the scheme you posted vulnerable to replay attacks too? Much easier than the timing attack.

edited to add: don't mean this as a nitpick. I've seen that very mistake made by two S&P 500 companies that had 'homebrew' SSO we had to integrate with.

Re:You are dangerously bad at cryptography by alinajaf on Monday May 27, 2013 @01:39PM (#5775645)
> btw: isn't the scheme you posted vulnerable to replay attacks too? Much easier than the timing attack.

Yep, probably. In fact now that I look at it definitely, I should have gone with that instead!

I forget who said this but basically any feature that exists in TLS that doesn't exist in your hand-rolled authentication scheme is a vulnerability.

Re:You are dangerously bad at cryptography by mcintyre1994 on Monday May 27, 2013 @07:28PM (#5777144)
Does peer review count as a feature?
Re:You are dangerously bad at cryptography by GhotiFish on Monday May 27, 2013 @01:29PM (#5775589)
I am doing this. It looks fun.