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

KarpelesLab / tmpsecfile / 24973288334
78%

Build:
DEFAULT BRANCH: master
Ran 27 Apr 2026 02:11AM UTC
Jobs 1
Files 2
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

27 Apr 2026 02:10AM UTC coverage: 77.593% (+0.1%) from 77.477%
24973288334

push

github

MagicalTux
Hold sparse-detection false-positive at 2^-128 even for sub-block files

ReadAt previously isZero-checked only the bytes of the last AES block
that fell within the logical length. For a 1-byte file that left a
single byte of evidence — 1-in-256 odds of misreading a real
ciphertext byte as a sparse hole.

The fix:
- ReadAt always inspects the full 16-byte block on disk.
- Truncate keeps the on-disk size aesBlockSize-aligned, and on a
  shrink past a partial boundary it re-encrypts the remaining bytes
  of that block to zero so a later re-extension cannot surface old
  plaintext.

Adds an exhaustive 1-byte round-trip test (every value 0..255) and a
truncate-shrink-then-extend leak test.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

29 of 33 new or added lines in 1 file covered. (87.88%)

187 of 241 relevant lines covered (77.59%)

459.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
77.45
0.13% tmpsecfile.go
Jobs
ID Job ID Ran Files Coverage
1 24973288334.1 27 Apr 2026 02:11AM UTC 2
77.59
GitHub Action Run
Source Files on build 24973288334
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24973288334
  • ab03edd3 on github
  • Prev Build on master (#24973143885)
  • Next Build on master (#24973298877)
  • Delete
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