fix docker plugin encoding (#278)

This commit is contained in:
Boshi Lian 2023-12-12 11:54:33 -08:00 committed by GitHub
parent 10a4965e91
commit 5a724c6dd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -199,7 +199,7 @@ func (p *plugin) findAndCreateUpstream(conn libplugin.ConnMetadata, password str
}
// ignore username and match all
rest, err := base64.RawStdEncoding.DecodeString(pipe.AuthorizedKeys)
rest, err := base64.StdEncoding.DecodeString(pipe.AuthorizedKeys)
if err != nil {
return nil, err
}