We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PR #4733 added support for Vitess client authentication with Zookeeper via digest username/password.
If you create your topo_zk_auth_file using an editor, it will include a trailing newline which, when sent with the digest to zk, breaks things:
topo_zk_auth_file
$ diff zk_bad.auth zk_good.auth 1c1 < digest:user:password --- > digest:user:password \ No newline at end of file
$ zk -topo_zk_auth_file=zk_bad.auth -server 127.0.0.1:2181 ls /vitess W0407 17:23:37.798482 19530 zkcmd.go:320] ls: cannot access /vitess: zk: not authenticated
It'd be nice if we changed the code to chomp the input from the file to prevent this from happening.
The text was updated successfully, but these errors were encountered:
Implement vitessio#6029 by chomping trailing newlines in -topo_zk_aut…
b7ae5aa
…h_file Potential breaking change if your passwords have trailing newlines. Signed-off-by: Jacques Grove <[email protected]>
Merge pull request #6030 from planetscale/jacques_6029
3412a34
Implement #6029 by chomping trailing newlines in -topo_zk_auth_file
Successfully merging a pull request may close this issue.
Feature Description
PR #4733 added support for Vitess client authentication with Zookeeper via digest username/password.
If you create your
topo_zk_auth_file
using an editor, it will include a trailing newline which, when sent with the digest to zk, breaks things:It'd be nice if we changed the code to chomp the input from the file to prevent this from happening.
The text was updated successfully, but these errors were encountered: