Skip to content
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

Authentication failure because sanitisedCfg #24

Open
lang07123 opened this issue Nov 17, 2023 · 0 comments
Open

Authentication failure because sanitisedCfg #24

lang07123 opened this issue Nov 17, 2023 · 0 comments

Comments

@lang07123
Copy link

image

the config's password is changed when you change the sanitisedCfg's password.
so stream.Handshake always take a wrong password.

	sanitisedCfg := config
	sanitisedCfg.Parameters["password"] = "********"
	logrus.Debugf("Starting handshake with %#v", config)
	err = stream.Handshake(config)

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

No branches or pull requests

1 participant