• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-sql-driver / mysql / 12592841133
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: InterpolateParams
DEFAULT BRANCH: master
Ran 03 Jan 2025 04:38AM UTC
Jobs 32
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jan 2025 04:24AM UTC coverage: 83.141%. Remained the same
12592841133

Pull #1657

github

evanelias
Improve TLS documentation for older servers

Older/EOL database server versions tend to be built with ancient OpenSSL or
yaSSL, which lack support for modern cipher suites and/or lack TLS 1.2+. At
the same time, recent Golang versions have updated the default client
tls.Config in ways that are incompatible with these old server versions. This
commit improves TLS documentation to mention this incompatibility, provide
sample code for solving it, and explain how "preferred" plaintext fallback
mode is not triggered in cases of TLS incompatibilities.

Closes #1635 by providing example code for solving the handshake failure.

Additional information which may be helpful for reviewers/maintainers:

TLS version
* Go 1.18+ changes the default client TLS MinVersion to be TLS 1.2
* MySQL 5.5 and 5.6 supports TLS 1.0
* MySQL 5.7.0-5.7.27 supports TLS 1.1
* MySQL 5.7.28+ supports TLS 1.2
* MariaDB 10.1+ supports TLS 1.2
* I did not examine MySQL 5.1 or MariaDB 10.0 or anything more ancient

Cipher suites
* Go 1.22+ changes the default client TLS config to remove cipher suites which
  use RSA key exchange
* MySQL 8.0+ and MariaDB 10.2+ fully support ECDHE cipher suites and are
  compatible with Go's current default cipher suite list.
* MySQL 5.x typically needs RSA key exchange cipher suites, due to
  https://bugs.mysql.com/bug.php?id=82935. Likewise for MariaDB 10.1.
* There are some exceptions, for example Percona Server 5.7 is built with a
  newer OpenSSL, https://docs.percona.com/percona-server/5.7/security/ssl-improvement.html
* It is also possible to custom compile MySQL 5.7 with a newer OpenSSL
  version to solve the cipher suite issue, but this is not common.
Pull Request #1657: Improve TLS documentation for older servers

3250 of 3909 relevant lines covered (83.14%)

2462629.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macOS-Go-1.23-DB-8.0 - 12592841133.1 03 Jan 2025 04:38AM UTC 18
82.87
GitHub Action Run
2 Linux-Go-1.23-DB-8.0 - 12592841133.2 03 Jan 2025 04:38AM UTC 18
82.8
GitHub Action Run
3 Linux-Go-1.23-DB-mariadb-11.2 - 12592841133.3 03 Jan 2025 04:38AM UTC 18
82.95
GitHub Action Run
4 Linux-Go-1.23-DB-9.0 - 12592841133.4 03 Jan 2025 04:38AM UTC 18
82.97
GitHub Action Run
5 Windows-Go-1.23-DB-mariadb-10.11 - 12592841133.5 03 Jan 2025 04:40AM UTC 18
82.71
GitHub Action Run
6 Linux-Go-1.23-DB-5.7 - 12592841133.6 03 Jan 2025 04:38AM UTC 18
82.87
GitHub Action Run
7 Linux-Go-1.21-DB-9.0 - 12592841133.7 03 Jan 2025 04:38AM UTC 18
82.9
GitHub Action Run
8 macOS-Go-1.23-DB-9.0 - 12592841133.8 03 Jan 2025 04:38AM UTC 18
82.77
GitHub Action Run
9 macOS-Go-1.23-DB-mariadb-10.11 - 12592841133.9 03 Jan 2025 04:39AM UTC 18
82.87
GitHub Action Run
10 Linux-Go-1.23-DB-mariadb-10.6 - 12592841133.10 03 Jan 2025 04:38AM UTC 18
82.95
GitHub Action Run
11 Linux-Go-1.23-DB-8.4 - 12592841133.11 03 Jan 2025 04:38AM UTC 18
82.9
GitHub Action Run
12 macOS-Go-1.23-DB-5.7 - 12592841133.12 03 Jan 2025 04:38AM UTC 18
82.82
GitHub Action Run
13 macOS-Go-1.23-DB-mariadb-10.5 - 12592841133.13 03 Jan 2025 04:39AM UTC 18
82.87
GitHub Action Run
14 Windows-Go-1.23-DB-mariadb-10.6 - 12592841133.14 03 Jan 2025 04:41AM UTC 18
82.71
GitHub Action Run
15 Windows-Go-1.23-DB-mariadb-11.1 - 12592841133.15 03 Jan 2025 04:41AM UTC 18
82.63
GitHub Action Run
16 macOS-Go-1.23-DB-mariadb-11.2 - 12592841133.16 03 Jan 2025 04:38AM UTC 18
82.77
GitHub Action Run
17 Windows-Go-1.23-DB-mariadb-11.4 - 12592841133.17 03 Jan 2025 04:40AM UTC 18
82.74
GitHub Action Run
18 Linux-Go-1.23-DB-mariadb-11.4 - 12592841133.18 03 Jan 2025 04:38AM UTC 18
82.95
GitHub Action Run
19 Linux-Go-1.23-DB-mariadb-11.1 - 12592841133.19 03 Jan 2025 04:38AM UTC 18
83.03
GitHub Action Run
20 macOS-Go-1.23-DB-mariadb-10.6 - 12592841133.20 03 Jan 2025 04:39AM UTC 18
82.85
GitHub Action Run
21 Windows-Go-1.23-DB-5.7 - 12592841133.21 03 Jan 2025 04:40AM UTC 18
82.58
GitHub Action Run
22 Linux-Go-1.22-DB-9.0 - 12592841133.22 03 Jan 2025 04:38AM UTC 18
82.8
GitHub Action Run
23 Linux-Go-1.23-DB-mariadb-10.11 - 12592841133.23 03 Jan 2025 04:38AM UTC 18
82.95
GitHub Action Run
24 Windows-Go-1.23-DB-mariadb-11.2 - 12592841133.24 03 Jan 2025 04:40AM UTC 18
82.58
GitHub Action Run
25 Windows-Go-1.23-DB-mariadb-10.5 - 12592841133.25 03 Jan 2025 04:41AM UTC 18
82.81
GitHub Action Run
26 macOS-Go-1.23-DB-mariadb-11.1 - 12592841133.26 03 Jan 2025 04:39AM UTC 18
82.82
GitHub Action Run
27 Linux-Go-1.23-DB-mariadb-10.5 - 12592841133.27 03 Jan 2025 04:38AM UTC 18
82.95
GitHub Action Run
28 Windows-Go-1.23-DB-9.0 - 12592841133.28 03 Jan 2025 04:41AM UTC 18
82.79
GitHub Action Run
29 Windows-Go-1.23-DB-8.4 - 12592841133.29 03 Jan 2025 04:41AM UTC 18
82.71
GitHub Action Run
30 macOS-Go-1.23-DB-mariadb-11.4 - 12592841133.30 03 Jan 2025 04:40AM UTC 18
82.82
GitHub Action Run
31 macOS-Go-1.23-DB-8.4 - 12592841133.31 03 Jan 2025 04:38AM UTC 18
82.87
GitHub Action Run
32 Windows-Go-1.23-DB-8.0 - 12592841133.32 03 Jan 2025 04:41AM UTC 18
82.71
GitHub Action Run
Source Files on build 12592841133
  • List 19
  • Changed 12
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1657
  • PR Base - master (#12476794920)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc