Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perl Catalyst

by Corion (Patriarch)
on Oct 10, 2018 at 13:58 UTC ( [id://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 (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');

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found