Registry / crypto / go-jose-go-jose-v4

go-jose-go-jose-v4

JSON →
library4.1.4gogounverified

Package jose implements JSON Object Signing and Encryption (JOSE) standards including JWT, JWS, JWE, and JWK.

go get github.com/go-jose/go-jose/v4
INSTALL
IMPORT
SIG · GO-JOSE-GO-JOSE-V4
G
go-jose-go-jose-v4
cryptogov4.1.4
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.

jose
github.com/go-jose/go-jose/v4

Parse a signed JWT token

package main import ( "fmt" "github.com/go-jose/go-jose/v4/jwt" ) func main() { token, err := jwt.ParseSigned("eyJ...", []*jose.SigningKey{}) if err != nil { fmt.Println(err) } fmt.Println(token) }
Debug
Known issues
breakingv4 has breaking API changes from v3; import paths and function signatures differ.
fix
Use v4 import paths (github.com/go-jose/go-jose/v4) and update code accordingly.
affects: >=4.0.0
Upgrade
Version history
4.1.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
go-jose-go-jose-v4 — go get go-jose-go-jose-v4 · libregistry