Skip to content

Operations with salt fail #205

Description

@Ricky-Tigg

mkpasswd v. 5.6.6

MKPASSWD(1)

 -S STRING, --salt=STRING
  Use the STRING as salt. If it begins with $ then it will be passed straight to crypt(3) without any checks.
$ mkpasswd -m yescrypt -S " "
Wrong salt length: 1 byte when 0 expected.
$ mkpasswd -m yescrypt -S $" "
Wrong salt length: 1 byte when 0 expected.

Should be effective.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions