Registry / auth / lestrrat-go-jwx-v2

lestrrat-go-jwx-v2

JSON →
library2.1.6gogounverified

Package jwx provides tools for working with JWx (JOSE) technologies including JWT, JWS, JWE, and JWK in Go.

go get github.com/lestrrat-go/jwx/v2
INSTALL
IMPORT
SIG · LESTRRAT-GO-JWX-V2
L
lestrrat-go-jwx-v2
authgov2.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jwk
github.com/lestrrat-go/jwx/v2/jwk

Create a JWK key from a raw secret and print it.

package main import ( "fmt" "github.com/lestrrat-go/jwx/v2/jwk" ) func main() { key, _ := jwk.NewKeyFromRaw([]byte("my-secret")) fmt.Println(key) }
Debug
Known issues
breakingVersion 2.x has breaking API changes from v1; ensure compatibility.
fix
Refer to migration guide when upgrading from v1 to v2.
affects: >=2.0.0
Upgrade
Version history
2.1.6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
lestrrat-go-jwx-v2 — go get lestrrat-go-jwx-v2 · libregistry