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

nats-io / nkeys / 43193243498
82%
master: 82%

Build:
Build:
LAST BUILD BRANCH: test/fips-only-mode
DEFAULT BRANCH: master
Ran 12 Nov 2026 09:39AM UTC
Jobs 1
Files 8
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

12 Nov 2026 09:38AM UTC coverage: 82.08% (+1.7%) from 80.353%
43193243498

push

github

web-flow
Derive existing Ed25519 keys directly from seeds (#96)

Go 1.27 rejects custom random readers in FIPS-only mode. Deriving an
existing nkey seed through `ed25519.GenerateKey(bytes.NewReader(seed))`
therefore makes PublicKey, PrivateKey, Sign and Verify fail, including
the server identity path described in #94.

Use `ed25519.NewKeyFromSeed` for existing decoded seeds. DecodeSeed
already validates their length; key generation and caller-provided
entropy APIs keep their behavior.

Validation: the exact RFC 8032 known-seed regression fails for all five
Ed25519 roles on unchanged main under Go 1.27 with
`GODEBUG=fips140=only`, while its ordinary-mode control passes. It
verifies encoded public/private keys and signatures through raw and
encoded seed APIs. The final test and existing Ed25519
creation/roundtrip/error/wipe controls pass ten race repetitions in
FIPS-only mode. Full normal race suites pass on Go 1.26 and 1.27, with
coverage 85.8%; build/vet/staticcheck, module tidy, format and
retraction checks pass. No live NATS server deployment or FIPS
certification is claimed.

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

371 of 452 relevant lines covered (82.08%)

118.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43193243498.1 12 Nov 2026 09:39AM UTC 8
82.08
GitHub Action Run
Source Files on build 43193243498
  • Tree
  • List 8
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 201c8217 on github
  • Prev Build on main (#42065423479)
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