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

go-pkgz / auth / 25583105397
85%

Build:
DEFAULT BRANCH: master
Ran 08 May 2026 10:44PM UTC
Jobs 1
Files 24
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

08 May 2026 10:42PM UTC coverage: 84.295% (-0.4%) from 84.66%
25583105397

push

github

umputun
fix(apple): redact tokens from exchange-response debug log

The handler logged the full appleVerificationResponse struct on a
DEBUG line:

    [DEBUG] response data {AccessToken:M... TokenType:bearer ...
        RefreshToken:Iw... IDToken:eyJ...}

AccessToken, RefreshToken and IDToken are bearer credentials. With
DEBUG-level logging enabled (default in many staging setups) these
ended up in stdout, file logs, centralised logging, crash bundles
and third-party observability — anywhere log access doesn't imply
auth-server-process compromise.

Replace the raw %+v dump with appleVerificationResponseLogSummary,
which logs only the non-secret fields plus presence indicators
(present|missing) for each token. Operators can still tell whether
a response carried each token; the value never leaks.

Same redaction in v1 (provider/apple.go:334) and v2
(v2/provider/apple.go:334), single PR.

Tests: TestAppleVerificationResponseLogSummary asserts the helper
omits the three secret values verbatim and reports presence/missing
correctly. Added in both modules.

11 of 11 new or added lines in 1 file covered. (100.0%)

2716 of 3222 relevant lines covered (84.3%)

7.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25583105397.1 08 May 2026 10:44PM UTC 24
84.3
GitHub Action Run
Source Files on build 25583105397
  • Tree
  • List 24
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • be7ba6ec on github
  • Prev Build on master (#25583034457)
  • Next Build on master (#25583159414)
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

© 2026 Coveralls, Inc