Skip to content

consider removing salt #6

@nvdk

Description

@nvdk

while this would be a breaking change, it does not seem necessary to add a salt to the password as the bcrypt algorithm already does this itself. As I understand the salt is included in the resulting hash.

Motivation for the removal:

  • Removing the application salt limits the amount of configuration that is required to set up this service
  • Removing the salts also allows us to simplify the service a tiny bit
  • the bcrypt algorithm is limited to 72 bytes of input, anything after is truncated, for longer passwords only a short part of the salt is included anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions