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

ilpanich / axiam-go-sdk / 29638082856
95%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 08:48AM 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

18 Jul 2026 08:48AM UTC coverage: 94.884% (+0.05%) from 94.838%
29638082856

push

github

web-flow
feat(tls): add client-certificate mTLS support (CONTRACT §6.1) (#10)

Add axiam.WithClientCertificate(certPEM, keyPEM []byte) so the SDK can
present an X.509 client identity for mutual TLS, applied to BOTH the REST
transport and any gRPC channel of the same logical client (CONTRACT.md
§6.1). An invalid cert/key pair is a construction-time error from
NewClient, matching WithCustomCA. The private key is held behind the
Sensitive type (§7): never logged/displayed and no public getter.

Server verification is never relaxed — the mTLS identity is a separate
code path from the RootCAs/verification config, the TLS-1.3 floor is
unchanged, and no TLS-bypass surface is introduced.

grpc.NewTLSCredentials now also accepts the client cert/key PEMs so the
same identity is presented over gRPC. Tests generate all PKI in-process
(no committed keys/certs) and cover a real end-to-end mTLS handshake on
both REST (httptest RequireAndVerifyClientCert) and gRPC (a real server
requiring client auth), plus construction-time parse-error cases.


Claude-Session: https://claude.ai/code/session_01FM1xTLBaGvfUv8X3bPw6oj

Co-authored-by: Claude <noreply@anthropic.com>

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

1836 of 1935 relevant lines covered (94.88%)

524.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29638082856.1 18 Jul 2026 08:48AM UTC 25
94.88
GitHub Action Run
Source Files on build 29638082856
  • Tree
  • List 25
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29638082856
  • 7a0ee38f on github
  • Prev Build on main (#29530518941)
  • Next Build on main (#29653766789)
  • 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