Live data from Hacker News

At Blind, a security lapse revealed private complaints from tech employees

techcrunch.com

21–30 of 141 posts

Re: At Blind, a security lapse revealed private complaints from tech employees

#21

> The database also contained passwords, which were stored as an MD5 hash !!!

> Kim denied this. “We don’t use MD5 for our passwords to store them,” he said. “The MD5 keys were a log and it does not represent how we are managing data. We use more advanced methods like salted hash and SHA2 on securing users’ data in our database.” !!!!!!

Isn’t SHA2 the standard hashing algorithm? If not, what do people use now?

Re: At Blind, a security lapse revealed private complaints from tech employees

#22
post #21

Earlier quoted context omitted.

> Kim denied this. “We don’t use MD5 for our passwords to store them,” he said. “The MD5 keys were a log and it does not represent how we are managing data. We use more advanced methods like salted hash and SHA2 on securing users’ data in our database.” !!!!!!

Isn’t SHA2 the standard hashing algorithm? If not, what do people use now?

bcrypt is one example: https://auth0.com/blog/hashing-in-action-understanding-bcryp...

Re: At Blind, a security lapse revealed private complaints from tech employees

#23

I'd never checked out Blind before. I just went there and checked out a few of the front page posts & comments. It has some of the most toxic and destructive "advice" I've seen for people asking for help or insight. I'm a bit astounded. Is this typical?

Really typical. It’s worse than reddit and hardly has anything useful. I was an early user when it first started but got turned off by the number of spammed posts that were so toxic.

Re: At Blind, a security lapse revealed private complaints from tech employees

#25
post #21

Earlier quoted context omitted.

> Kim denied this. “We don’t use MD5 for our passwords to store them,” he said. “The MD5 keys were a log and it does not represent how we are managing data. We use more advanced methods like salted hash and SHA2 on securing users’ data in our database.” !!!!!!

Isn’t SHA2 the standard hashing algorithm? If not, what do people use now?

For password hashing, you want the operation to be slow. That way it becomes infeasable for someone to brute force many passwords.

SHA2 is very fast.

Re: At Blind, a security lapse revealed private complaints from tech employees

#26
post #21

Earlier quoted context omitted.

> Kim denied this. “We don’t use MD5 for our passwords to store them,” he said. “The MD5 keys were a log and it does not represent how we are managing data. We use more advanced methods like salted hash and SHA2 on securing users’ data in our database.” !!!!!!

Isn’t SHA2 the standard hashing algorithm? If not, what do people use now?

If I get any of this wrong, I claim Cunningham's Law. :)

From the "Cryptographic Right Answers" [https://latacora.micro.blog/2018/04/03/cryptographic-right-a...]:

> Latacora, 2018: In order of preference, use scrypt, argon2, bcrypt, and then if nothing else is available PBKDF2.

> Avoid: SHA-3, naked SHA-2, SHA-1, MD5.

SHA2 is a decent cryptographic hashing algorithm, that is true. But a cryptographic hashing algorithm isn't what you want when storing passwords, at least, not on its own.

Some of the problems with just using a hash algorithm: same passwords have the same hash; hash algos are typically fast, so brute forcing can make many attempts quickly, and they can be pre-computed into rainbow tables. There are ways to fix this (salts, work factors), but generally you shouldn't "do it yourself."; functions like those named in the quote from Cryptographic Right Answers put all that together in a nice package. scrypt, I believe, even uses SHA-2 in its construction, but also solves the aforementioned problems.

The "Purpose and operation" part of the Wikipedia article for PBKDF2 (also mentioned above) goes into some of this, as well (even if it is only recommended as a last resort, I think this paragraph is educational w.r.t. the problems around passwords): https://en.wikipedia.org/wiki/PBKDF2#Purpose_and_operation

Re: At Blind, a security lapse revealed private complaints from tech employees

#27
post #6

Sounds like they don’t give a shit and only reacted when TC was going to write a story about it. Surprising given that user trust is at the core of their business, and without it they have nothing.

Their inaction on being notified is quite damning.

Re: At Blind, a security lapse revealed private complaints from tech employees

#28
post #21

Earlier quoted context omitted.

> Kim denied this. “We don’t use MD5 for our passwords to store them,” he said. “The MD5 keys were a log and it does not represent how we are managing data. We use more advanced methods like salted hash and SHA2 on securing users’ data in our database.” !!!!!!

Isn’t SHA2 the standard hashing algorithm? If not, what do people use now?

SHA2 is fine for guaranteeing integrity. But that's different from coming up with a way to store a password that can't be brute forced in a small amount of time.

The goal is to make the hashing function expensive. That is a different goal than making it reliable or authentic.

Re: At Blind, a security lapse revealed private complaints from tech employees

#29

I'd never checked out Blind before. I just went there and checked out a few of the front page posts & comments. It has some of the most toxic and destructive "advice" I've seen for people asking for help or insight. I'm a bit astounded. Is this typical?

The state of our industry?
Post reply on HN