Hi there,

The CRYPT function seems to behaving wildly different between 1.99.7 and 
2.0.x. 

Any new users I've added since moving to 2.0.x are recorded with longer 
encrypted passwords and existing users consequently can't login either.

If I run the following (both of these are using the same hmac_key btw) I 
get two different  outcomes.

On 1.99.7 calling:

  value, error = db.auth_user.password.validate('password')
  print value

Returns:

--> 87f0d47ce5b9a8faa298d5e28febf693

Whereas on 2.0.x calling:

  value, error = db.auth_user.password.validate('password')
  print value

Returns:

--> 
pbkdf2(1000,20,sha512)$a5408c54281fd146$e6024fe1e813c310e54e29f12113ebdc3eed289b

Any feedback on this would be great.

Thanks in advance,
Matt

-- 



Reply via email to