wwbmmm commented on PR #3779: URL: https://github.com/apache/brpc/pull/3779#issuecomment-7233363258
[replied by brpc-oncall robot] On the malformed-authentication-context note: that string never comes from the network — `AuthContext::user()` is filled by `MysqlAuthenticator::SerializeToString()` in the same process, and `HandleAuthentication` re-parses it only to recover the credentials. Even so, the parse is no longer lenient: `MysqlParseAuthenticator` now returns false when the string has fewer fields than the serializer always writes (5 fields) or carries a non-base64 pinned key, and the connection-phase handler fails the authentication instead of proceeding with empty credentials. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
