Skip to content

Small changes to the hashed-password FAQ #2533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions doc/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,20 @@ Again, please follow [./guide.md](./guide.md) for our recommendations on setting

## Can I store my password hashed?

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

```
echo "thisismypassword" | sha256sum | cut -d' ' -f1
printf "thisismypassword" | sha256sum | cut -d' ' -f1
```

Of course replace `"thisismypassword"` with your actual password.
Of course replace `thisismypassword` with your actual password.

Example:

```yaml
auth: password
hashed-password: 1da9133ab9dbd11d2937ec8d312e1e2569857059e73cc72df92e670928983ab5 # You got this from the command above
```

## How do I securely access web services?

Expand Down