Join Nostr
2024-11-02 07:13:49 UTC

Daniel Cuthbert on Nostr: Very interesting issue with Okta here, especially with the use of bcrypt As Yan ...

Very interesting issue with Okta here, especially with the use of bcrypt

https://trust.okta.com/security-advisories/okta-ad-ldap-delegated-authentication-username/

As Yan (@bcrypt) said

“reminder that the bcrypt hash function ignores input above a certain length! so if you do bcrypt(username || password) for some reason, a sufficiently long username will make it accept any password. to fix this you can sha256 the input first”