Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 08-Mar-2018 | - | ||||
README.md | H A D | 08-Mar-2018 | 434 | 14 | 8 | |
app.go | H A D | 08-Mar-2018 | 7 KiB | 283 | 203 | |
args.go | H A D | 08-Mar-2018 | 413 | 24 | 19 |
README.md
1`jwt` command-line tool 2======================= 3 4This is a simple tool to sign, verify and show JSON Web Tokens from 5the command line. 6 7The following will create and sign a token, then verify it and output the original claims: 8 9 echo {\"foo\":\"bar\"} | ./jwt -key ../../test/sample_key -alg RS256 -sign - | ./jwt -key ../../test/sample_key.pub -alg RS256 -verify - 10 11To simply display a token, use: 12 13 echo $JWT | ./jwt -show - 14