News for hackers. Stuff that matters.
Re:Using HTTP Basic Auth in 2022 by na85 on Saturday January 01, 2022 @03:59PM (#29762712)
>Yes - it does - but I am having a hard time thinking that this actually matters in the real world.

In the 90s and early aughts it was fashionable for php sites to store passwords hashed, usually some combination of a salt with md5 and later the SHA variants.

For a brief few years there were entire communities on IRC and elsewhere dedicated to making rainbow tables for cracking stolen password hashes.

Often the salt would be common across all passwords, so if you got a database dump it was a gold mine for credentials.

Re:Using HTTP Basic Auth in 2022 by staticassertion on Saturday January 01, 2022 @04:11PM (#29762840)
A trivial fix here is to:

a) Add a static value to the salt ie: your company's name

b) Add the user's email address to the salt

The "right" way would be a zero knowledge proof.

Re:Using HTTP Basic Auth in 2022 by na85 on Saturday January 01, 2022 @05:07PM (#29763356)
Yeah well PHPnuke wasn't exactly written by secure coding experts.
Re:Using HTTP Basic Auth in 2022 by gjsman-1000 on Saturday January 01, 2022 @04:03PM (#29762754)
Right - but that's been resolved, PHP and others now store the unique salt used with the password together, so every password has its own salt.

That didn't need client-side hashing to fix it.

Re:Using HTTP Basic Auth in 2022 by garbagecoder on Saturday January 01, 2022 @04:59PM (#29763289)
Gee, it’s almost like on the internet there are computers between you and the destination.
Re:Using HTTP Basic Auth in 2022 by Too on Sunday January 02, 2022 @02:39AM (#29766678)
bcrypt solves that in two ways. It uses per password unique salts and it has a tunable cost-parameter to deliberately slow down the computation, making it slow and infeasible to build a rainbow table.