mirror of
https://github.com/w0rng/amnezia-wg-easy.git
synced 2025-04-25 12:50:06 +03:00
Update How_to_generate_an_bcrypt_hash.md (#1262)
explain about double $ usage on password.
This commit is contained in:
commit
ea99f56484
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ To generate a bcrypt password hash using docker, run the following command :
|
|||
docker run ghcr.io/wg-easy/wg-easy wgpw YOUR_PASSWORD
|
||||
PASSWORD_HASH='$2b$12$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW' // literally YOUR_PASSWORD
|
||||
```
|
||||
*Important*: in your configuration, make sure to use double "$", or your password may not work!
|
||||
In the example of password "YOUR_PASSWORD" you may write like this:
|
||||
PASSWORD_HASH=$$2b$$12$$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW
|
||||
|
||||
*Important* : make sure to enclose your password in single quotes when you run `docker run` command :
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue