JSON Web Tokens are an open, industry standard method (RFC 7519) for representing claims securely between two parties. This version only works with HMAC-Streebog (RFC 6986) signatures. ECDH_ES variant, consists in the direct use of a shared symmetric key as the Content Encryption Key (CEK) for the block encryption step (recommended).
One of the following flags is required: sign, verify
-alg string
signing algorithm identifier (default "HG256")
-claim value
add additional claims. may be used more than once (default {})
-compact
output compact JSON
-debug
print out all kinds of debug data
-header value
add additional header params. may be used more than once (default {})
-key string
path to key file or '-' to read from stdin
-show
Show header
-sign string
path to claims object to sign, '-' to read from stdin, or '+' to use only -claim args
-verify string
path to JWT token to verify or '-' to read from stdin
This project is licensed under the ISC License.
