Skip to content

pw_hash not provide yescrypt hash type #1445

Open
@kapouik

Description

@kapouik

Use Case

Since debian 11, yescrypt is used by default to encrypt pam password. It's also the default method for many other Linux distribution.
The french cyber security organisation (ANSII) oblige all the french gouvernment and many french company to use yescrypt.
As it, pw_hash must provide yescrypt option.

Describe the Solution You Would Like

pw_hash should support yescrypt.

pw_hash($password, 'yescrypt', $salt)

And giving and hash like : $y$xxxxxxxxxxxxxxxxxx

Describe Alternatives You've Considered

The only alternative I found is not using pw_hash and inject directly the hash in puppet.

Additional Context

N/A

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