Skip to content

Password encryption algorithm used for SFTP user account #529

Answered by drakkan
rashmimaharana asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rashmimaharana
Comment options

@drakkan
Comment options

@rashmimaharana
Comment options

@drakkan
Comment options

Answer selected by drakkan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants