in reply to Perl Catalyst

How is it not working?

Does the new code calculate a different password hash than the legacy code?

Do the versions calculate the same password hash but the new code doesn't update the session?

Replies are listed 'Best First'.
Re^2: Perl Catalyst
by akuk (Beadle) on Oct 10, 2018 at 15:00 UTC

    The password validation goes wrong. It's generating the wrong password than the legacy. But I am not sure why.

    Legacy Password is generated by:

    $pbk_crypt = Crypt::PBKDF2->new( hash_class => 'HMACSHA2', hash_args => { sha_size => 512, }, iterations => 10000, salt_len => 10, ); $pass = $pbk_crypt->generate('password');