Skip to content

Commit

Permalink
Clarify expected format for key files.
Browse files Browse the repository at this point in the history
  • Loading branch information
aboodman authored Oct 29, 2019
1 parent 5e25c22 commit 195174e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/jwt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ The following will create and sign a token, then verify it and output the origin

echo {\"foo\":\"bar\"} | ./jwt -key ../../test/sample_key -alg RS256 -sign - | ./jwt -key ../../test/sample_key.pub -alg RS256 -verify -

Key files should be in PEM format. Other formats are not supported by this tool.

To simply display a token, use:

echo $JWT | ./jwt -show -
Expand Down

0 comments on commit 195174e

Please sign in to comment.