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

tarantool / go-storage / 26509363662
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: g.rybakov/tntp-7780-fix-admin-for-connect
DEFAULT BRANCH: master
Ran 27 May 2026 11:52AM UTC
Jobs 1
Files 49
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 May 2026 11:49AM UTC coverage: 89.655% (-0.3%) from 89.906%
26509363662

Pull #107

github

bigbes
hasher: accept nil and empty input as the empty-string digest

Storage backends round-trip empty stored values as nil, so a read of a
legitimately-empty value reached the validator with body=nil and exploded
at the SHA-256 hash check ("data is nil") and the RSA-PSS verifier check
("failed to get hash: data is nil"). The only workaround was
IgnoreVerificationError(), which defeats the integrity layer.

Drop the data == nil guard from sha1/sha256 — hash.Hash.Write(nil) is
well-defined, both nil and []byte{} now produce the empty-input digest.
ErrDataIsNil was internal-only; remove it.

Pin the contract at every layer: nil/empty parity in the hasher units,
sign+verify acceptance plus empty-signature rejection in rsapss, direct
empty-body validator coverage (value-only, value+hash, value+hash+sig),
and a TxPut([]byte{})/TxGet round-trip mirroring the reproducer against
every backend.
Pull Request #107: hasher: accept nil and empty input as the empty-string digest

3796 of 4234 relevant lines covered (89.66%)

512.74 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
37.67
-4.48% driver/tcs/locker.go
Jobs
ID Job ID Ran Files Coverage
1 26509363662.1 27 May 2026 11:52AM UTC 49
89.66
GitHub Action Run
Source Files on build 26509363662
  • Tree
  • List 49
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #107
  • PR Base - master (#26288689338)
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