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

alexferl / zerohttp
94%

Build:
DEFAULT BRANCH: master
Repo Added 05 Mar 2026 11:18PM UTC
Files 93
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • accept
  • altsvc
  • assert_within
  • asserts
  • atomic_proxy
  • auto_options
  • benchmarks
  • bind_dupe
  • bind_type_registry
  • bind_unknown_fields
  • bind_valid_fix
  • bool_defaults
  • bool_ptr
  • builtins_refactor
  • bump_log_levels
  • cache
  • cache_redis
  • cb_lock
  • circuit_breaker_half_open
  • circuit_double_lock
  • compress_algos
  • compress_dead_code
  • compress_etag
  • compress_flush
  • compress_nil
  • compress_providers
  • compress_write_header
  • config_merge
  • config_refactor
  • context_keys
  • cors
  • coveralls
  • csp_nonce
  • csrf_fix
  • custom_compression
  • custom_logs
  • dedicated_metrics
  • dive
  • docs
  • docs_clean
  • docs_idem
  • errors
  • etag
  • examples
  • excluded_included
  • feat/tls-config
  • feat/tls-options-quic
  • fh_size
  • fix/autocert-ecdsa-and-go-version-bump
  • fix/autocert-ecdsa-only
  • fix/autocert-ecdsa-signature-schemes
  • fix/autocert-tls-alpn-challenge
  • fix/required_pointer_fields
  • fix_compress
  • fix_docs
  • fix_examples
  • fix_idem_key
  • fix_issues
  • fix_path_matches
  • fix_readme
  • fix_spin
  • fixes
  • flush
  • golangci-lint
  • head_fix
  • headers
  • healthcheck_ctx
  • hmac_auth
  • hmac_auth_fix
  • hmac_auth_key
  • host_valid
  • hsts_example
  • http_error_log
  • https_redir
  • idempotency
  • impl
  • json_error_log
  • jsonpath
  • jwt_auth
  • jwt_metric_fix
  • jwt_storage
  • jwtauth_cookies
  • layout_refactor
  • log_colours
  • log_filtering
  • mediatype
  • mediatype_fix
  • mediatype_func
  • mediatype_header
  • metrics
  • metrics_cardinality
  • metrics_example
  • mw
  • pagination
  • pagination_defaults
  • panic_errors
  • perf
  • perf_router
  • pprof
  • pprof_fix
  • prefix_keys
  • problem-detail-migration
  • rate_limit_fix
  • rate_limit_key
  • rate_limit_lock
  • readme
  • redirect_https
  • redundant_alia
  • refactor
  • refactor/use-new-builtin-for-pointer-bools
  • refactor_config
  • render_valid
  • request_id_gen
  • request_logger
  • request_logger_max_size
  • reverse_proxy
  • reverse_proxy_cleanup
  • router_dupe
  • router_fs
  • router_race
  • rwutil
  • server_fixes
  • server_refactor
  • server_split
  • sse_broadcast
  • sse_context
  • sse_fix
  • sse_fixes
  • sse_race
  • static
  • static_file_handler
  • storage
  • test_refactor
  • tracer
  • tracing
  • type_registry
  • update_deps
  • valid_anyof
  • valid_zero
  • validation
  • validator_refactor
  • validator_registry
  • variadic_config

30 Nov 2026 03:38PM UTC coverage: 93.586% (+0.03%) from 93.561%
46452626985

push

github

web-flow
fix: normalize signature schemes and curves for autocert (#183)

autocert's supportsECDSA checks three things before choosing an ECDSA
certificate: the hello must advertise an ECDSA signature scheme, the P-256
curve, and a TLS 1.0-1.2 ECDHE_ECDSA cipher suite. ecdsaOnlyHello only
rewrote the cipher suites, so a client whose signature_algorithms or
supported_groups omit ECDSA still made autocert request an RSA certificate
even with the fallback disabled. Scanners send exactly such hellos, so RSA
certificates were still issued in production.

Add an ECDSA signature scheme and the P-256 curve to the clone handed to
the manager when they are missing, and append the cipher suite instead of
replacing the list. The original hello is unchanged, so the handshake
still uses the client's real capabilities: a client that genuinely cannot
verify ECDSA fails the handshake rather than triggering an RSA issuance,
which is the documented contract of the ECDSA-only mode.

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

24 of 26 new or added lines in 1 file covered. (92.31%)

3 existing lines in 2 files now uncovered.

9338 of 9978 relevant lines covered (93.59%)

117.74 hits per line

Relevant lines Covered
Build:
Build:
9978 RELEVANT LINES 9338 COVERED LINES
117.74 HITS PER LINE
Source Files on master
  • Tree
  • List 93
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
46452626985 master fix: normalize signature schemes and curves for autocert (#183) autocert's supportsECDSA checks three things before choosing an ECDSA certificate: the hello must advertise an ECDSA signature scheme, the P-256 curve, and a TLS 1.0-1.2 ECDHE_ECDSA ... push 30 Nov 2026 03:39PM UTC web-flow github
93.59
46445936173 master Feat/tls options quic (#182) * feat(tls): apply TLS options to HTTP/3 and WebTransport TLSConfig only exposed MinVersion, MaxVersion and CipherSuites, and those were applied to the HTTPS server alone. The HTTP/3 and WebTransport servers build th... push 30 Nov 2026 03:05PM UTC web-flow github
93.56
46434732774 master fix: request only ECDSA certificates from autocert (#181) golang.org/x/crypto/acme/autocert picks the certificate key type per client hello: every hello that does not prove ECDSA support - TLS 1.3-only clients such as HTTP/3 and QUIC, whose TLS 1... push 30 Nov 2026 02:04PM UTC web-flow github
93.61
46358133233 master fix: advertise the tls-alpn-01 challenge protocol in StartAutoTLS (#180) crypto/tls negotiates ALPN before it calls GetCertificate, so a TLS config whose NextProtos does not include "acme-tls/1" rejects the ACME tls-alpn-01 validation handshake w... push 30 Nov 2026 05:14AM UTC web-flow github
93.58
46356512795 master refactor: use the new built-in for pointer bool literals (#179) Go 1.26 extended new to accept an expression, so new(true) and new(false) return *T values for constants. Config fields use *bool to distinguish "not set" (nil) from "explicitly fals... push 30 Nov 2026 04:59AM UTC web-flow github
93.58
46355781665 master 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 cip... push 30 Nov 2026 04:51AM UTC web-flow github
93.55
46348867186 master feat: add TLS version and cipher suite options to TLSConfig (#177) Add MinVersion, MaxVersion, and CipherSuites to TLSConfig so TLS policy can be configured directly instead of constructing a custom *http.Server. The settings are applied to both ... push 30 Nov 2026 03:45AM UTC web-flow github
94.01
26550472438 master feat(zhtest): add AnError sentinel and AssertWithin assertion (#176) Add `AnError` sentinel error for mock return values and `AssertWithin` for floating-point range assertions. Includes tests for both and a nolint directive for the non-standard e... push 28 May 2026 02:15AM UTC web-flow github
93.97
26429705029 master feat: promote lifecycle hook logs from Debug to Info (#175) Make pre-startup, startup, post-startup, pre-shutdown, shutdown, and post-shutdown hook logging visible at the default log level. Signed-off-by: alexferl <me@alexferl.com> push 26 May 2026 03:00AM UTC web-flow github
93.96
25532326328 master fix: remove busy-wait loop in server startup select (#174) The for-select around errCh/startupHookErrCh would spin when channels closed or delivered zero values. Replace with a single select that blocks on both channels deterministically. Signed... push 08 May 2026 01:59AM UTC web-flow github
93.94
See All Builds (374)
  • Repo on GitHub
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