3

I leave another one of my opinions here and go to bed to wake up to an onslaught of hate...

But, salting passwords is problematic.
I'll do it, I am a hypocrite. I don't want to explain to my customers why I haven't done it.

But the issue with a salted passwords is that we defend our users' data against a possible leak. Plus a tiny bonus against timing attacks. It is not defended against us. We can just log the password in clear text or refuse to hash it or hook inbetween reverse proxy and application.

1. When they are salted, we make rainbow table attacks harder. More compute intensive.
2. When they are salted, we cannot quickly identify people with the same password. Therefore not quickly isolating people with a simple password.

And that's bad.

Let me first start to explain one thing. Imagine you have a generated password. Random characters. Like 50 of them. And you used that password on one website. Not on any more. With a password manager. And now you hear that this website leaked their database. Do you worry? Well, no... If that website itself was not embarrassing. You just log in, set a new one, done. You don't care about it.

We only care about salting because upstream users have not used good passwords. Salting is only there to mitigate password reuse. And because it is good at doing that, people keep reusing passwords.

If we didn't mitigate it, the dangers of reusing passwords would be so widely known. Everyone and their grandmothers knew how to keep good passwords. But sadly, we mitigate and most of us are trust worthy.

Users don't meet us. They don't know who we are, they shouldn't give us their everywhere password. But they do. Because we are too trustworthy, we take good care of it and we mitigate the bad outcomes. If a user leaked their password to us, it is too late. They gave it to a party they shouldn't have trusted. Sadly, we turn out to be trustworthy too often.

And if I wanted to steal a huge amount of passwords, I just create a quick website that turns images into gifs or something stupid. Converts webp into png. For free. Just sign up. We conditioned them to trust website services.

Yea, so, basically, my daily PSA, we have done our users a disservice by mitigating damage at a point after the mistake has already happened.

Comments
  • 4
    Well if its controversial it will be peppered with counter condiments.
  • 2
    I'm a big Yolo regarding passwords. I like the discussion about what is the safest one more, it's the one that only exists in your head. On my Snek platform it's allowed to have a one char password. Yolo. I hold user responsible for password strength. User can decide it it's bullshit or not.

    Regarding storage of passwords salted, we'll, it's a nice gesture, it's cool to say when the data is breatched. We also could've have spent that time to review security. I find complex passwords and stuff for databases funny, like if the hackers last challenge is to remember the password while he hacked your system.

    Im not so worried about all that stuff.

    Security awarenes raised big time last few years.
  • 2
    @YourMom you are peppered yourself young man.
  • 3
    What hate btw? This is most wholesome platform in the world (while not being terrorized by moderators, reddit ughz).

    Have a good sleepii.
  • 2
    lol

    Why so salty? When there are so many other flavors to choose from.
  • 2
    @retoor I have seen on more woke platforms this idea of hate when having different opinions. The woke people prod and probe someone with dissenting opinion with outright hateful stuff. They will say if you don't agree with their specific opinion then you are a nazi or some shit. Knowing moderators back them up. As soon as the dissenter responds with anything other than logic then mods jump in and ban them. This happens all the time on the Nexus. Vile place.

    So I think sometimes people exposed to that type of conversation might see alter opinions as something other than alter opinions. I think its the influence of one sided places leading people to believe that. That, and it is probably tongue and cheek for engagement. I do that a lot.
  • 1
    I like cinnamon, myself, but it all depends on what I am eating at the time.

    /jk

    OT: Sounds like a choice between the Douche && the Turd Sandwich... Pick your poison.

    /* Well... probably better to salt && teach. Maybe if the user enters some ridiculously weak password, a message saying just that would be in order... At least you tried. */
  • 2
    Not going to lie, I expected more attacks on this one.
  • 2
  • 1
    I'm pretty sure when the average Joe hears there's been a data breach he assumes his actual password has been leaked, and he just shrugs and assumes it's someone else's problem.

    He wouldn't understand hashing if you tried to explain it to him, and he doesn't care. He thinks the idea of choosing a strong password is a bit of a joke, like you're pretending you're James Bond or something.

    He reuses passwords because using password managers is confusing, and he left the little book he used to write them all down in on a train a couple of years ago. When his accounts occasionally get hacked, he just puts it down to computers being unreliable, there's nothing he could have done about it.
  • 1
    @badger Of course there is an xkcd :)
  • 1
    @badger

    They don't care about it because they aren't hit by it. And they shouldn't care about hashing, they should care about unique passwords. If they did, we didn't have to hash. (Or only to avoid timing attacks.)

    But make those breaches painful and their understanding will develop.
  • 0
    "they should care about unique passwords. If they did, we didn't have to hash."

    senseless.
  • 0
    @afaIk What about it is senseless. Try to use full sentences.
  • 2
    @TrayKnots nobody on dR will attack you for having an opinion, even when it's considered wrong. It won't even get down voted. We have a very good culture here, that's why I can't understand why we're so smol. We're such a huge upgrade in comparison to other platforms.

    But this certificate issue is biting us hard i see :( Terrible.
  • 1
    I like curry
  • 1
Add Comment