Skip to content

PMM-13513: add support for cleartext passwords #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from

Conversation

idoqo
Copy link

@idoqo idoqo commented Jul 28, 2025

No description provided.

@idoqo idoqo requested a review from a team as a code owner July 28, 2025 21:58
@idoqo idoqo requested review from BupycHuk, JiriCtvrtka and ademidoff and removed request for a team July 28, 2025 21:58
config/config.go Outdated
SslKey string `ini:"ssl-key"`
TlsInsecureSkipVerify bool `ini:"ssl-skip-verfication"` //nolint:misspell
Tls string `ini:"tls"`
EnableCleartextPassword bool `ini:"enable-cleartext-plugin"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
EnableCleartextPassword bool `ini:"enable-cleartext-plugin"`
EnableCleartextPlugin bool `ini:"enable-cleartext-plugin"`

IMO, we can leave it as is for naming consistency.

Copy link
Member

@ademidoff ademidoff Jul 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checked the code in the monorepo and I now see the point in renaming :)

config/config.go Outdated
@@ -208,6 +209,9 @@ func (m MySqlConfig) FormDSN(target string) (string, error) {
config.TLSConfig = "custom"
}
}
if m.EnableCleartextPassword {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if m.EnableCleartextPassword {
if m.EnableCleartextPlugin {

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I can definitely change it - just went with password because that's what the field is called in the package-level Config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants