From 302390e67cdd589702f887ddbf0ea7b2d9a877aa Mon Sep 17 00:00:00 2001 From: Adrian Dvergsdal Date: Tue, 5 Oct 2021 00:01:01 +0200 Subject: [PATCH] Recommend more secure password hash (#282) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4aa551a..96d983c 100644 --- a/README.md +++ b/README.md @@ -96,8 +96,8 @@ docker run \ 'foo:$1$0G2g0GSt$ewU0t6GXG15.0hWoOX8X9.:e:1001' ``` -Tip: you can use [atmoz/makepasswd](https://hub.docker.com/r/atmoz/makepasswd/) to generate encrypted passwords: -`echo -n "your-password" | docker run -i --rm atmoz/makepasswd --crypt-md5 --clearfrom=-` +Tip: you can use this Python code to generate encrypted passwords: +`docker run --rm python:alpine python -c "import crypt; print(crypt.crypt('YOUR_PASSWORD'))"` ## Logging in with SSH keys