Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
MariaDB Server has two client authentication plugins that can transmit passwords in cleartext:
- dialog
- mysql_clear_password
It is generally recommended to use TLS encryption when using either of these two client authentication plugins to ensure that passwords are not transmitted in cleartext.
Currently, interactive clients do not raise a warning or error when either of these plugins are used without TLS encryption.
Folks like jcd, markus makela, and esa.korhonen might have some input on how to implement this in a way that works with other MariaDB products.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Issue Type | Task [ 3 ] | New Feature [ 2 ] |
One way to pass information in a way that does not require an extra roundtrip like SHOW WARNINGS would require is to use the system variable session tracker. It can be used to pass arbitrary information to the client in the final OK packet sent after authentication. It's a little bit outside of the intended scope of the tracker but given the extremely useful ability to pass arbitrary text data to clients it's (IMO) a pretty nice idea.
This could also be used to deliver out-of-band messages to the client that would not require the use of the existing warning mechanism and could display warnings without needing user interaction. It could even be used to implement a MotD type global messages that would be displayed to connected clients when the administrator sets a global variable to some value.