Skip to content

Commit

Permalink
authentication: use mkpasswd container
Browse files Browse the repository at this point in the history
RHEL 8 ships a different implementation of mkpasswd that doesn't support
modern hashes.  For ease of use, just containerize mkpasswd.

Fixes coreos#322.
  • Loading branch information
bgilbert committed Feb 23, 2022
1 parent 4c7ba58 commit 6f0e2d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ROOT/pages/authentication.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ passwd:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDTey7R...
----

To generate a secure password hash, use the `mkpasswd` command:
To generate a secure password hash, use `mkpasswd`:

[source]
----
$ mkpasswd --method=yescrypt
$ podman run -ti --rm quay.io/coreos/mkpasswd --method=yescrypt
Password:
$y$j9T$A0Y3wwVOKP69S.1K/zYGN.$S596l11UGH3XjN...
----
Expand Down

0 comments on commit 6f0e2d7

Please sign in to comment.