jose

C implementation of JOSE (JSON Object Signing and Encryption)

brewmacoslinux
Try with needOr install directly
Source

About

C-language implementation of Javascript Object Signing and Encryption

Commands

jose

Examples

Generate a new RSA key$ jose key gen -t RSA -s 4096
Create a signed JSON Web Token (JWS)$ jose jws sig -i payload.json -k key.jwk -o token.jws
Verify and decode a JWS token$ jose jws ver -i token.jws -k key.jwk