Repository navigation
Commit 54bbe43
TLS: a context with a TLS 1.2 minimum, not PROTOCOL_TLSv1_2
Python built with OpenSSL 4 (Homebrew's 3.14.10) has no
ssl.PROTOCOL_TLSv1_2, so creating a DashConnection with a password login
raised AttributeError, as did the data exporter. Both now use
server_tls_context(): ssl.create_default_context() with
minimum_version TLSv1_2, which checks the server's certificate and host
name as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 7fc42d8 commit 54bbe43
2 files changed
Lines changed: 13 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
133 | 143 | | |
134 | 144 | | |
135 | 145 | | |
| |||
484 | 494 | | |
485 | 495 | | |
486 | 496 | | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
| 497 | + | |
496 | 498 | | |
497 | 499 | | |
498 | 500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 178 | + | |
187 | 179 | | |
188 | 180 | | |
189 | 181 | | |
| |||
0 commit comments