Lucas Rattz
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
How_to_generate_an_bcrypt_hash.md
|
@ -12,6 +12,8 @@ docker run ghcr.io/wg-easy/wg-easy node -e 'const bcrypt = require("bcryptjs"); |
|
|
|
|
|
|
|
|
The hashed password will get printed on your terminal. Copy it and use on the `PASSWORD_HASH` environment variable. |
|
|
The hashed password will get printed on your terminal. Copy it and use on the `PASSWORD_HASH` environment variable. |
|
|
|
|
|
|
|
|
|
|
|
If you are using `docker run` for running wg-easy, you must enclose the hash string in single quotes (`'...'`). |
|
|
|
|
|
|
|
|
## Using Docker + wgpw |
|
|
## Using Docker + wgpw |
|
|
|
|
|
|
|
|
`wg-password` (wgpw) is a script that generates bcrypt password hashes. You can use it with docker: |
|
|
`wg-password` (wgpw) is a script that generates bcrypt password hashes. You can use it with docker: |
|
|