Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit eae285c

Browse files
Improve hashed-password FAQ (#2533)
1 parent 39facee commit eae285c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎doc/FAQ.md‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,20 @@ Again, please follow [./guide.md](./guide.md) for our recommendations on setting
164164

165165
## Can I store my password hashed?
166166

167-
Yes you can! Use `hashed-password` instead of `password`. Generate the hash with:
167+
Yes you can! Set the value of `hashed-password` instead of `password`. Generate the hash with:
168168

169169
```
170-
echo "thisismypassword" | sha256sum | cut -d' ' -f1
170+
printf "thisismypassword" | sha256sum | cut -d' ' -f1
171171
```
172172

173-
Of course replace `"thisismypassword"` with your actual password.
173+
Of course replace `thisismypassword` with your actual password.
174+
175+
Example:
176+
177+
```yaml
178+
auth: password
179+
hashed-password: 1da9133ab9dbd11d2937ec8d312e1e2569857059e73cc72df92e670928983ab5 # You got this from the command above
180+
```
174181
175182
## How do I securely access web services?
176183

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /