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

nats-io / jwt / 12319561533
81%

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

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

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>

39 of 47 new or added lines in 8 files covered. (82.98%)

1 existing line in 1 file now uncovered.

2767 of 3413 relevant lines covered (81.07%)

26.42 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
55.21
-1.78% v2/genericlaims.go
6
67.7
-0.3% v2/claims.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
55.21
-1.78% v2/genericlaims.go
Jobs
ID Job ID Ran Files Coverage
1 12319561533.1 13 Dec 2024 04:43PM UTC 36
81.07
GitHub Action Run
Source Files on build 12319561533
  • Tree
  • List 36
  • Changed 19
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 698cd7e2 on github
  • Prev Build on main (#11261855873)
  • Next Build on main (#12319646206)
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

© 2025 Coveralls, Inc