Download Latest Version jwt_linux-x86.zip (2.0 MB)
Email in envelope

Get an email when there's a new version of JSON Web Token

Home
Name Modified Size InfoDownloads / Week
jwt_win32.zip 2021-11-14 1.9 MB
jwt_linux-x86.zip 2021-11-14 2.0 MB
jwt_linux-amd64.zip 2021-11-14 2.1 MB
jwt_linux-armel.zip 2021-11-14 2.0 MB
README.md 2021-11-14 1.9 kB
Totals: 5 Items   8.0 MB 2

JWT

ISC License GoDoc Go Report Card GitHub go.mod Go version GitHub release (latest by date)

JSON Web Tokens

JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.

Usage of jwt:
  -alg string
        signing algorithm identifier
  -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

Examples:

echo {\"foo\":\"bar\"} | jwt -key secret.txt -sign - | jwt -key secret.txt -verify -

or:

jwt -key secret.txt -claim "foo=bar" -sign + | jwt -key secret.txt -verify -

Visit: JSON Web Tokens Debugger and GoDoc

License

This project is licensed under the MIT License.

Source: README.md, updated 2021-11-14