This thread is frustrating. Everyone seems more interested in nitpicking the specifics of what OP is saying and are ignoring that a forum sends you your password (not an automatically generated one) in an email on registration.

  • jormaig@programming.dev
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    But the thing is that you should never have access to the plaintext password and thus you should never be able to receive it in an email. You should store the salted hash of the password instead of the password itself.

    • 8ace40@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      These kind of forums don’t store the plaintext password, they send an email while in memory, and hash them afterwards. Still bad security, but it’s not storing it in plaintext.

      • jormaig@programming.dev
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        But your password should never reach the server. It should be hashed already at the client and then salted at the server with a random hash. Then you store the salted hash