A command line program that offer number of tools for JWT with JWS/JWE
go
go install ./cmd/jwt
More details on this man page