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

nats-io / jwt / 12319561533 / 1
81%
main: 81%

Build:
DEFAULT BRANCH: main
Ran 13 Dec 2024 04:43PM UTC
Files 36
Run time 1s
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

13 Dec 2024 04:42PM UTC coverage: 81.072% (-0.04%) from 81.111%
12319561533.1

push

github

web-flow
Allow external signing of JWTs (#234)

* feat: Claims interface now has `EncodeWithSigner(nkeys.KeyPair`, fn: SignFn)`  where signing can be delegated to a function. The `type SignFn func(pub string, data []byte) ([]byte, error)` is provided with the public key whose matching private key should be used to sign the provided payload.

This feature enables an external signing service to be incorporated in the workflow for signing a JWT.

Signed-off-by: Alberto Ricart <alberto@synadia.com>

* go mod

Signed-off-by: Alberto Ricart <alberto@synadia.com>

---------

Signed-off-by: Alberto Ricart <alberto@synadia.com>

2767 of 3413 relevant lines covered (81.07%)

26.42 hits per line

Source Files on job 12319561533.1
  • Tree
  • List 36
  • Changed 19
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12319561533
  • 698cd7e2 on github
  • Prev Job for on main (#11261855873.1)
  • Next Job for on main (#12319646206.1)
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