From 195174e229b59920b9e0d04579160b38a384c158 Mon Sep 17 00:00:00 2001 From: Aaron Boodman Date: Mon, 28 Oct 2019 21:57:07 -1000 Subject: [PATCH] Clarify expected format for key files. --- cmd/jwt/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/jwt/README.md b/cmd/jwt/README.md index 41eb89d..d9d06e7 100644 --- a/cmd/jwt/README.md +++ b/cmd/jwt/README.md @@ -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 -