Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl Catalyst

by Corion (Pope)
on Oct 10, 2018 at 13:58 UTC ( #1223800=note: print w/replies, xml ) Need Help??


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 (Sexton) 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');

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1223800]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2019-12-10 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?