Use hash for user passwords in config file #1791

Closed
opened 2026-04-05 19:41:58 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @RichyHBM on 2/11/2025

Currently the password is saved in plain text which makes it insecure when committing to repos etc. Ideally the installer script would hash the password and then save it to the config in that format.

Imagine the short term migration could be, check user submitted password hashed matches stored hashed password, otherwise just check if both are the same (to account for users that may not have hashed passwords when upgrading)

Bcrypt seems to be a good standard these days

*Originally created by @RichyHBM on 2/11/2025* Currently the password is saved in plain text which makes it insecure when committing to repos etc. Ideally the installer script would hash the password and then save it to the config in that format. Imagine the short term migration could be, check user submitted password hashed matches stored hashed password, otherwise just check if both are the same (to account for users that may not have hashed passwords when upgrading) Bcrypt seems to be a good standard these days
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1791