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

hyperledger / fabric-x-committer / 39786451575
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: clone-delete
DEFAULT BRANCH: main
Ran 22 Oct 2026 01:29PM UTC
Jobs 3
Files 141
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

22 Oct 2026 01:21PM UTC coverage: 90.508% (-0.007%) from 90.515%
39786451575

Pull #836

github

liran-funaro
[loadgen] Replace the per-signature ECDSA DRBG with a random nonce

#### Type of change

- Improvement (improvement to code, performance, etc)

#### Description

- `ecdsaSigner` derives its own nonce from `crypto/ecdh`'s `GenerateKey` instead of calling
  `crypto/ecdsa.SignASN1`.
- It encodes the signature's DER with `cryptobyte`, into a builder preallocated to the
  curve's largest possible signature.
- `newEcdsaSigner` fails on P-224 keys, which `crypto/ecdh` does not support.
- `TestFastEcdsaSignerIsVerifiable` verifies the new signer's output with
  `ecdsa.VerifyASN1`, and `BenchmarkEcdsaSigners` measures it against the standard library's
  signer.
- `golang.org/x/crypto` moves from an indirect to a direct dependency, at the same version,
  because `cryptobyte` lives there.
- `NewNsEndorserFromKey` returns its errors directly, dropping its unused `err` variable and
  bare `err` return.

#### Related issues

- resolves #812
- related to #798

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #836: [loadgen] Replace the per-signature ECDSA DRBG with a random nonce

47 of 63 new or added lines in 2 files covered. (74.6%)

4 existing lines in 2 files now uncovered.

9802 of 10830 relevant lines covered (90.51%)

11222.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
75.0
-10.71% utils/testsig/digest_signer.go
2
83.33
-2.71% utils/testsig/ns_endorser.go

Coverage Regressions

Lines Coverage ∆ File
3
92.61
-1.17% service/sidecar/relay.go
1
97.12
-0.96% mock/coordinator.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 39786451575.1 22 Oct 2026 01:29PM UTC 141
78.44
GitHub Action Run
2 unit-test - 39786451575.2 22 Oct 2026 01:29PM UTC 95
86.05
GitHub Action Run
3 core-db-test - 39786451575.3 22 Oct 2026 01:29PM UTC 108
49.09
GitHub Action Run
Source Files on build 39786451575
  • Tree
  • List 141
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #836
  • PR Base - main (#39783397518)
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