wwt / guac

Apache Guacamole client ported to Go
Apache License 2.0
124 stars 47 forks source link

Authentication failure because sanitisedCfg #24

Open lang07123 opened 10 months ago

lang07123 commented 10 months ago

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)
groggy7 commented 3 weeks ago

I ran into the same issue as well. It doesn't make sense to change the password to some asterisks to protect it