Skip to content

Sync apiserver.conf notes with docs #284

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djiboshin
Copy link

The existing note in default apiserver.conf includes a command to generate a bcrypt-hashed password, but it omits the base64 encoding step:

python -c 'import bcrypt; print(bcrypt.hashpw("password", bcrypt.gensalt()))'

This may be misleading for new users, since the server expects base64-encoded hashes.

The note is updated to include the correct code snippet with base64 encoding, as shown in the documentation:

python -c 'import bcrypt,base64; print(base64.b64encode(bcrypt.hashpw("password".encode(), bcrypt.gensalt())))'

Sync config notes with documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant