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

floatdrop / zoxy / 28694081755
96%

Build:
DEFAULT BRANCH: main
Ran 04 Jul 2026 03:54AM UTC
Jobs 1
Files 25
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

04 Jul 2026 03:48AM UTC coverage: 96.846% (+0.02%) from 96.824%
28694081755

push

github

floatdrop
tls: keylog capture + HKDF key derivation for kTLS (slice 2)

The bridge from OpenSSL's handshake to the kernel's record layer,
with no OpenSSL rebuild: the server context registers a keylog
callback (present in every build); a connection arms capture via
Channel.capture_secrets, pointing SSL ex_data slot 0 at a
caller-owned TrafficSecrets, and the callback parses the NSS-format
lines for CLIENT/SERVER_TRAFFIC_SECRET_0 (other labels fall through).
Channel.negotiated_cipher_suite exposes the IANA suite id.

kernel.zig gains derive_crypto_parameters: RFC 8446 §7.3
HKDF-Expand-Label (via std.crypto.tls.hkdfExpandLabel) turns a traffic
secret into the kernel crypto-info — key, 12-byte IV split as
salt(4)+iv(8), record sequence hard-zero (the §6 eligibility rule).
AES-128/256-GCM; ChaCha20 deferred.

Tests: exact-byte checks against the RFC 8448 1-RTT vectors for both
directions, error paths for unknown suites and wrong secret lengths,
and a live loopback handshake where both ends capture independently
and must derive byte-identical kernel parameters per direction (and
distinct ones across directions).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

5373 of 5548 relevant lines covered (96.85%)

0.97 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
96.01
1.11% tls/terminator.zig
6
96.36
2.13% tls/kernel.zig
3
92.11
-7.89% mem/futex_mutex.zig
3
95.96
0.0% tls/openssl.zig
Jobs
ID Job ID Ran Files Coverage
1 28694081755.1 04 Jul 2026 03:54AM UTC 25
96.85
GitHub Action Run
Source Files on build 28694081755
  • Tree
  • List 25
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28694081755
  • 7f061e3e on github
  • Prev Build on main (#28693749788)
  • Next Build on main (#28694167851)
  • Delete
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