What encryption is being used to encrypt the password
Hey devs,
I am trying to create my own installer in python to install homarr i have question what encryption method is being used to encrypt the password and how salt is decided while encryption ?
Thank you
I am trying to create my own installer in python to install homarr i have question what encryption method is being used to encrypt the password and how salt is decided while encryption ?
Thank you
Solution
Hi @Gojo , we use bcrypt. Salt generation can be found here:
https://github.com/ajnart/homarr/blob/b51fcdb3424678d1bd22d9d6297158a657e07463/src/server/api/routers/user.ts#L415
https://github.com/ajnart/homarr/blob/b51fcdb3424678d1bd22d9d6297158a657e07463/src/server/api/routers/user.ts#L415
GitHub
Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr) - ajnart/homarr