From b8d785c79e6c225c6e8be21b5bee82332543700d Mon Sep 17 00:00:00 2001 From: Olivier Gambier Date: Mon, 8 Jun 2015 15:54:37 -0700 Subject: [PATCH] Use bcrypt Signed-off-by: Olivier Gambier --- docs/authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/authentication.md b/docs/authentication.md index cd96bb92..14516263 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -98,10 +98,10 @@ server { EOF # Now, create a password file for "testuser" and "testpassword" -echo 'testuser:$apr1$8TVQAgWs$jzdkx8IgYR.guL0hzNDXq.' > auth/registry.password +echo 'testuser:$2y$05$.nIfPAEgpWCh.rpts/XHX.UOfCRNtvMmYjh6sY/AZBmeg/dQyN62q' > auth/registry.password # Alternatively you could have achieved the same thing with htpasswd -# htpasswd -bc auth/registry.password testuser testpassword +# htpasswd -Bbc auth/registry.password testuser testpassword # Copy over your certificate files cp domain.crt auth