News for hackers. Stuff that matters.
Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass... by veqq on Wednesday October 22, 2025 @04:34PM (#45674810)
What hash do you use?
Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass... by scq on Wednesday October 22, 2025 @04:42PM (#45674884)
bcrypt is the industry standard.
Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass... by maxbond on Wednesday October 22, 2025 @06:08PM (#45675775)
`bcrypt` is probably the "standard" in the sense that it has the widest adoption, but since 2015 [1] the "standard" in terms of what you should recommend for new work has been `argon2id` (and you can find parameter recommendations here [2]).

[1] https://en.wikipedia.org/wiki/Password_Hashing_Competition

[2] https://cheatsheetseries.owasp.org/cheatsheets/Password_Stor...

Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass... by tom1337 on Thursday October 23, 2025 @05:36AM (#45679969)
Also argon doesn't care about input length compared to bcrypt which only ever compares the first 72 bytes of a hash. Okta actually fell victim to this because they concatenated userid + username + password. If userid + password were over 72 bytes then the password would never be checked thus you could login with userid + username.

https://trust.okta.com/security-advisories/okta-ad-ldap-dele...

Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass... by megous on Wednesday October 22, 2025 @08:55PM (#45677005)
yescrypt is very common these days, default in Debian
Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass... by blitzar on Thursday October 23, 2025 @04:08AM (#45679419)
im 1337 - I use plain text stored in a public s3 bucket