Argon2 invalid salt size when specifying a different cost hash #349
Closed
estebanz01
started this conversation in
General
Replies: 1 comment 8 replies
-
Did you pass the |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hola de nuevo!
so right now I'm in a bit of a pickle trying to login with a password that is being hashed as argon2 and custom cost hash. I specified it because I need to match the same values used in django for my app written in ruby. I'm getting the following error:
Here's the generated hash for a cost hash
t_cost: 2, m_cost: 16, p_cost: 8
:$argon2id$v=19$m=65536,t=2,p=8$5cUrI7nWSzKldLW7JxYxfw$itpqsB10lQVTLm8qUDOJQI8zhw8JXVbEBIVRXBWZxgY
and for a cost hash
t_cost: 2, m_cost: 20, p_cost: 8
:$argon2id$v=19$m=1048576,t=2,p=8$ldSO8VFvjdhSrIpaRclRxw$/f47QmzFyYERDSSNwNpwNKOskgFRHghTb1M/DWDEgTk
if I go to the DB and call the salt function, I get the following:
and I can confirm that the user that rodauth is using to connect to the DB has access and can query the
rodauth_get_salt
method.I'm really lost on how to debug this, so any guidance will be really appreciated !
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions