Password encryption algorithm used for SFTP user account #529
-
Hi @drakkan and Team, I would like to know the password encryption algorithm used for sftp user account. In DB, its getting saved as plain text. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I'm not sure to understand your question, password are stored hashed and not as plain text, for example:
SFTPGo uses bcrypt by default, you can also configure argon2id, take a look at the |
Beta Was this translation helpful? Give feedback.
I'm not sure to understand your question, password are stored hashed and not as plain text, for example:
$2a$10$ZBTSAMWmm5hCupNkKmj0ouJfJGA5v/8g.Awdqa5YOb/ed.8I.dQp.
$argon2id$v=19$m=102400,t=2,p=8$c3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzcw$FgOHZkTvcgIJqemDyJCLuQ
SFTPGo uses bcrypt by default, you can also configure argon2id, take a look at the
password_hashing
struct here