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

KarpelesLab / tmpsecfile / 24973288334 / 1
78%
master: 78%

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

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>

187 of 241 relevant lines covered (77.59%)

459.76 hits per line

Source Files on job 24973288334.1
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24973288334
  • ab03edd3 on github
  • Prev Job for on master (#24973143885.1)
  • Next Job for on master (#24973298877.1)
  • 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