Live data from Hacker News

Yahoo discloses hack of 1B accounts

yahoo.tumblr.com

321–330 of 596 posts

Re: Yahoo discloses hack of 1B accounts

#321
post #313
post #307

Earlier quoted context omitted.

race is a bogus concept anyway, "racism" is the everyday term for xenophobia. give it a break.

Race is not a bogus concept. It may be cultural but it's still real. Offshore is not a race. That's just xenophobia.

There is actually no such thing as different human races (in the biological sense of the word). People who believe that are... you guessed it... called racists.

Re: Yahoo discloses hack of 1B accounts

#322
post #36

Earlier quoted context omitted.

How do you invalidate a JWT server-side without the user interacting with the server ?

The client can hold onto the token indefinitely, the server doesn't care. But next time a request comes in with that token it will be expired. The server validates the timestamp which is part of the encrypted payload that only the server can decrypt; instant validation and no DB lookup.

[deleted]

Re: Yahoo discloses hack of 1B accounts

#323
post #36

Earlier quoted context omitted.

Web tokens, for example, don't necessarily include just a session ID. Some include the full session details within its payload. This can be quite useful, actually, because it offloads session-lookup onto the client.

How do you invalidate a JWT server-side without the user interacting with the server ?

Tokens have in-built expiry dates (cryptographically signed by the server upon issuance). Once that date has passed the token becomes useless.

If you meant "how can you prematurely invalidate a specific user's JWT without needing a server side lookup", you can't.

I think the best you can do is issue different classes of JWT to a user based on what actions you wish to grant them. This lets you reduce load going to backend lookups to only a subset of JWTs where the ability to invalidate them earlier than planned on a per user basis is necessary/desired.

For JWTs that aren't tied to backend lookups the only solution if one or more users are accessing resources they no longer should be via one of these tokens is to invalidate all of them.

Re: Yahoo discloses hack of 1B accounts

#325
post #303
post #244

Earlier quoted context omitted.

I don't download my email. I have a webmail for a reason - I don't want a mail client with all its attendant files gumming up my PC. I moved off Netscape Communicator to webmail because it took up over 40% of my drive, and I've never regretted the decision. And I don't like 2FA either. It's a hassle and never, ever, worth my time or energy. There was one gaming service (I think it was an MMO) that demanded 2FA or bus…

> I don't like 2FA either That seems to be a rather dangerous position to hold these days. I personally dislike that googles 2FA is SMS based (unless there's a way to use e.g. Authy with it that I'm unaware of), but still seems that the only way to be reasonably safe is a strong password and 2FA. I'll add that The authy app on the Apple Watch has made 2FA for services that support it rather painless.

Google also allows you to use google authenticator, but I don't believe they allow third party services.

Re: Yahoo discloses hack of 1B accounts

#326
post #136

Earlier quoted context omitted.

I thought the whole point of the MD5 vulnerability was that the limit was 2^128 and as such there are more inputs that possible output hashes, meaning more possible input collisions.

All hashing algorithms that I am aware of have more inputs than outputs. By the pigeon hole principle, there will always be collisions. MD5 is weak, but it still isn't trivial to find an input that hashes to the same thing as a high entropy password.

[deleted]

Re: Yahoo discloses hack of 1B accounts

#327
post #104

What value does Yahoo have for Verizon now, the brand is so tainted?

I'm not sure Average Joe really associates these hacks with incompetence or negligence. Those nasty hackers are making victims of poor Yahoo.

That's why Yahoo made the point of blaming a "state-sponsored actor". You would expect a giant tech company to be able to defend itself against random hackers, but what if it was the government of Russia?? That's why Sony Pictures blamed North Korea for what was, in the opinions of security experts, the work of an insider.

Re: Yahoo discloses hack of 1B accounts

#328

Earlier quoted context omitted.

if the password is stored properly, (i.e. bcrypt), the number of characters shouldn't matter at all, be it 50 or 5000.

If the password is stored properly, (i.e. bcrypt) then there does need to be some length limit or it becomes too easy to DoS a service by sending it hundreds of megabytes of password to bcrypt. There's no reason for that length limit to be less than 100 characters though.

Yep, people who've run marginally popular sites have dealt with this before. Give someone a text box and watch them try to stuff 4GB of content in it. There has to be a cutoff somewhere, but as you note, it should be well outside of the realm of reasonable password lengths (hundreds of characters).

Re: Yahoo discloses hack of 1B accounts

#329
post #36

Earlier quoted context omitted.

How do you invalidate a JWT server-side without the user interacting with the server ?

My preferred method: Add an "expires" field to the token, this should contain a date after which the token is no longer valid. Now all token s auto-invalidate after a certain period. Allow some or all tokens to "refresh" by calling a particular endpoint (call with valid token and get a token with expiry from now). Optionally add some form of identifier to the token (user_id works great) so that you can push a message…

> Now all token s auto-invalidate after a certain period.

You need to make sure that there is some process that will refuse to keep on re-upping the cookie lifetime. Otherwise an attacker could indefinitely keep the stolen cookie alive.

Re: Yahoo discloses hack of 1B accounts

#330

Earlier quoted context omitted.

You've somehow managed to turn a bug report into a soundboard for your racist insecurities. Impressive. In a sad way.

Yes, 'offshore' is a race. Every critique is a racism. Coming from said 'offshore' (at least in regards to the US), I see that 'quality' people work remotely for monies comparable to the onsite workers, launch startups, et cetera. If you outsource to the offshore for the costs, guess what, you get lesser quality for the said cost. Nothing racist in that, but I understand your position - a SJW to every household!

Yes. We pay an independent Indian contractor rates that are fully competitive with any American contractor's rates. If someone has the same skillset as the competition, their rate is going be in the same ballpark, no matter where they live.
Post reply on HN