Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

How are passwords stored in Catalyst?

by juanmas07 (Initiate)
on Jul 23, 2019 at 13:06 UTC ( [id://11103212]=perlquestion: print w/replies, xml ) Need Help??

juanmas07 has asked for the wisdom of the Perl Monks concerning the following question:

Hi! I'm trying to migrate a user database from catalyst to django and I'm wondering how passwords are salted. I have the source code and the user data, tried to search for a salt but could not find it. Any ideas on how to proceed? Thank you!

Replies are listed 'Best First'.
Re: How are passwords stored in Catalyst?
by Your Mother (Archbishop) on Jul 23, 2019 at 13:39 UTC

    They are not (usually) directly. Catalyst is pretty agnostic about its pieces. They are (probably) stored in a layer that is plugged into Catalyst and there are many ways it can be done; some encrypted, some not, some from plugins, some from scratch or even inlined or with an arbitrary authentication, some from external authentication like LDAP or OAuth. A common/standard way is to use DBIx::Class with session authentication; Catalyst::Manual::Tutorial::Authentication.

    I think you’ll need to understand both sides of the pipe you’re working on pretty thoroughly to succeed on a migration like this.

Re: How are passwords stored in Catalyst?
by Fletch (Bishop) on Jul 23, 2019 at 13:36 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-20 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found