new tests
This commit is contained in:
@@ -2506,6 +2506,8 @@ struct ConnectionEditor: View {
|
||||
TextField("Default Schema", text: $profile.database)
|
||||
}
|
||||
Section("Secure Transport") {
|
||||
Toggle("Require verified TLS for direct remote connections", isOn: $profile.useTLS)
|
||||
.disabled(profile.useSSHTunnel)
|
||||
Toggle("Connect through SSH tunnel", isOn: $profile.useSSHTunnel)
|
||||
if profile.useSSHTunnel {
|
||||
TextField("SSH Host", text: $profile.sshHost)
|
||||
@@ -2515,7 +2517,7 @@ struct ConnectionEditor: View {
|
||||
Text("Uses your system SSH keys and known_hosts. MySQL hostname is resolved from the SSH server.")
|
||||
.font(.caption).foregroundStyle(.secondary)
|
||||
} else {
|
||||
Text("Direct remote MySQL requires TLS, which DBSyn does not yet implement. Enable SSH for remote servers.")
|
||||
Text("Direct remote MySQL uses certificate-verified TLS. The server certificate must match its hostname and be trusted by macOS.")
|
||||
.font(.caption).foregroundStyle(.secondary)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user