grim/josetool

fix the name where it's wrong
draft
2017-02-08, Gary Kramlich
873b3c223b66
fix the name where it's wrong
# josetool
A simple tool to for working with JWK's.
## Usage
usage: josetool [<flags>] <command> [<args> ...]
jwk utilities
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
Commands:
help [<command>...]
Show help.
ecdsa [<flags>] [<curve>]
generate an ecdsa key
rsa [<flags>] [<bits>]
generate an rsa key
sign [<flags>] <key>
creates a jwt for the given inputs
## RSA
usage: josetool rsa [<flags>] [<bits>]
generate an rsa key
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-a, --algorithm=RS256 the algorithm to use
-i, --key-id=KEY-ID the key id to use
-u, --use=sig how this key will be used
-f, --filename="-" the base filename to output the key to
Args:
[<bits>] the number of bits for the key
## ECDSA
usage: josetool ecdsa [<flags>] [<curve>]
generate an ecdsa key
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-a, --algorithm=ES256 the algorithm to use
-i, --key-id=KEY-ID the key id to use
-u, --use=sig how this key will be used
-f, --filename="-" the base filename to output the key to
Args:
[<curve>] the curve to use
## Sign
usage: josetool sign [<flags>] <key>
creates a jwt for the given inputs
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-H, --header=HEADER ... header to include in the jwt in key=val format
-c, --claim=CLAIM ... claims to include in the jwt in key=val format
Args:
<key> the name of the file that contains the private jwk