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

alexferl / zerohttp / 46355781665
94%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2026 04:51AM UTC
Jobs 1
Files 93
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

30 Nov 2026 04:50AM UTC coverage: 93.552% (-0.5%) from 94.015%
46355781665

push

github

web-flow
fix: request ECDSA certificates from autocert by default (#178)

golang.org/x/crypto/acme/autocert decides the certificate key type in its
unexported supportsECDSA, which only returns true when the client hello
offers a TLS 1.0-1.2 ECDHE_ECDSA cipher suite. TLS 1.3 clients (HTTP/3 and
QUIC among them) only advertise TLS 1.3 suites, which are not configurable
through tls.Config and are not matched by that function, so they were
issued RSA-2048 certificates. The synthetic warm-up hello that StartAutoTLS
uses to prime the certificate has no cipher suites at all, so it requested
RSA too - and since it runs first, that is usually the certificate that
gets cached and issued.

Prefer an ECDSA certificate by appending an ECDSA TLS 1.2 suite to a copy
of the hello when the client is TLS 1.3-only but does advertise ECDSA
signature schemes and the P-256 curve. The handshake never negotiates
TLS 1.2 with such a client, so the added suite only steers the key type
decision. Hellos that already select ECDSA, or that cannot use it, are
left untouched. The same normalization is applied to the HTTPS
GetCertificate hook, the warm-up hello, and via ecdsaPreferringManager to
HTTP/3 and WebTransport so every protocol shares one certificate.

Also raise the minimum Go version to 1.26, test against 1.26 and 1.27,
and update golangci-lint to v2.15.0, which can read Go 1.27 export data;
v2.12.2 failed to load the standard library and could not lint at all.
Fix the findings the new linter surfaced: build the reverse proxy with
Rewrite directly instead of clearing the deprecated Director field, apply
the gofumpt formatting to the validation error type assertion, and check
the errors previously discarded in tests. Fix the cache_redis example,
which assigned bools to *bool config fields and did not compile.

Signed-off-by: alexferl <me@alexferl.com>

42 of 42 new or added lines in 2 files covered. (100.0%)

20 existing lines in 10 files now uncovered.

9257 of 9895 relevant lines covered (93.55%)

118.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
88.89
-1.08% server.go
4
89.59
-0.21% server_tls.go
2
80.63
-3.14% internal/bind/registry.go
2
91.27
-1.7% middleware/reverseproxy/reverse_proxy.go
2
96.15
-3.85% validator/registry.go
2
97.38
-1.32% validator/validator.go
1
89.95
1.49% middleware/cache/cache.go
1
96.03
0.79% sse/sse.go
1
94.29
-3.49% validator/errors.go
1
89.1
-1.35% zhtest/assert.go
Jobs
ID Job ID Ran Files Coverage
1 46355781665.1 30 Nov 2026 04:51AM UTC 93
93.55
GitHub Action Run
Source Files on build 46355781665
  • Tree
  • List 93
  • Changed 92
  • Source Changed 3
  • Coverage Changed 92
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46355781665
  • e9d0b034 on github
  • Prev Build on master (#46348867186)
  • Next Build on master (#46356512795)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc