Skip to content

Commit

Permalink
wg-password(docu): fixup docker command
Browse files Browse the repository at this point in the history
  • Loading branch information
pheiduck authored Sep 5, 2024
1 parent 3427d67 commit f4b3d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions How_to_generate_an_bcrypt_hash.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```
Expand Down

0 comments on commit f4b3d4f

Please sign in to comment.