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

KarpelesLab / jwt / 22743667422
79%

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2026 12:48AM UTC
Jobs 1
Files 17
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

06 Mar 2026 12:48AM UTC coverage: 78.23% (-0.5%) from 78.721%
22743667422

push

github

MagicalTux
add JWE encryption/decryption support

Key management algorithms (RFC 7518 Section 4):
- RSA-OAEP (SHA-1) and RSA-OAEP-256 (SHA-256)
- dir (direct key agreement)
- A128KW, A192KW, A256KW (AES Key Wrap, RFC 3394)

Content encryption algorithms (RFC 7518 Section 5):
- A128GCM, A192GCM, A256GCM (AES-GCM)
- A128CBC-HS256, A192CBC-HS384, A256CBC-HS512 (AES-CBC + HMAC-SHA2)

Token API:
- Encrypt(rand, key, keyAlgo, encAlgo) creates JWE compact serialization
- Decrypt(key) decrypts JWE and makes payload accessible
- IsEncrypted() detects JWE tokens (5-part format)
- ParseString updated to handle both JWS (3-part) and JWE (5-part)
- JWK now implements crypto.Decrypter for seamless use

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

346 of 448 new or added lines in 7 files covered. (77.23%)

1096 of 1401 relevant lines covered (78.23%)

12.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
80.65
-0.6% jwk.go
10
73.68
jwe_rsa.go
14
72.0
jwe_gcm.go
24
74.74
jwe_cbc.go
24
82.22
jwe_kw.go
27
77.69
jwe.go
Jobs
ID Job ID Ran Files Coverage
1 22743667422.1 06 Mar 2026 12:48AM UTC 17
78.23
GitHub Action Run
Source Files on build 22743667422
  • Tree
  • List 17
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22743667422
  • 1b550d8e on github
  • Prev Build on master (#22743332840)
  • Next Build on master (#22744026399)
  • Delete
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