Open lang07123 opened 10 months ago
the config's password is changed when you change the sanitisedCfg's password. so stream.Handshake always take a wrong password.
config's password
sanitisedCfg's password
stream.Handshake
sanitisedCfg := config sanitisedCfg.Parameters["password"] = "********" logrus.Debugf("Starting handshake with %#v", config) err = stream.Handshake(config)
I ran into the same issue as well. It doesn't make sense to change the password to some asterisks to protect it
the
config's password
is changed when you change thesanitisedCfg's password
. sostream.Handshake
always take a wrong password.