这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Sherlock-Holo
Copy link
Contributor

Description

when sqlexecutre check if user use ssl, it just check the ssl variable is not None, but if user use ssl actually, the ssl map will have a key 'enable' and value will be True
this will fix when using plain connection mode(without ssl), even use correct password, mycli still return error Bad Handshake

we can confirm it by using wireshark to capture the login request package, with this fix, the Switch to SSL after handshake will be not set

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format to lint and format the code.

when sqlexecutre check if user use ssl, it just check the ssl variable
is not None, but if user use ssl actually, the ssl map will have a key
'enable' and value will be True
this will fix when using plain connection mode(without ssl), even use
correct password, mycli still return error Bad Handshake
@rolandwalker
Copy link
Contributor

Hi! Thanks! Can you resolve the (trivial) doc conflicts?

@rolandwalker rolandwalker merged commit 467bf09 into dbcli:main Sep 30, 2025
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.

2 participants