From f4b3d4fb6b1080948ab74f675877e2b020423de2 Mon Sep 17 00:00:00 2001 From: "Philip H." <47042125+pheiduck@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:08:49 +0200 Subject: [PATCH] wg-password(docu): fixup docker command --- How_to_generate_an_bcrypt_hash.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/How_to_generate_an_bcrypt_hash.md b/How_to_generate_an_bcrypt_hash.md index 7376fc5..3e3bee9 100644 --- a/How_to_generate_an_bcrypt_hash.md +++ b/How_to_generate_an_bcrypt_hash.md @@ -12,12 +12,12 @@ To generate a bcrypt password hash using docker, run the following command : ```sh -docker run ghcr.io/wg-easy/wg-easy wgpw YOUR_PASSWORD +docker run -it ghcr.io/wg-easy/wg-easy wgpw YOUR_PASSWORD PASSWORD_HASH='$2b$12$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW' // literally YOUR_PASSWORD ``` If a password is not provided, the tool will prompt you for one : ```sh -docker run ghcr.io/wg-easy/wg-easy wgpw +docker run -it ghcr.io/wg-easy/wg-easy wgpw Enter your password: // hidden prompt, type in your password PASSWORD_HASH='$2b$12$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW' ```