jwtinfo
A command line tool to get information about JWT tokens
Usage
jwtinfo
is a command line interface that allows you to inspect a given JWT token. The tool currently allows to see the body of the token in JSON format. It accepts a single command line argument which should be a valid JWT token.
Here's an example:
Which will print:
You can combine the tool with other command line utilities, for instance jq
:
|
Install
You can install the binary in several ways:
Cargo
You can install the binary in your system with cargo
:
At this point jwtinfo
will be available as a binary in your system.
Precompiled binaries
Pre-compiled binaries for x64 (Windows, MacOs and Unix) and ARMv7 are available in the Releases page.
Alternatives
If you don't want to install a binary for debugging JWT tokens, a super simple bash
alternative called jwtinfo.sh
is available.
Credits
A special thank you goes to the Rust Reddit community for providing a lot of useful suggestions on how to improve this project. A special thanks goes to: mardiros, matthieum, steveklabnik1, ESBDB, Dushistov, Doddzilla7. Another huge thank you goes to the Rust stackoverflow community, especially to Denys Séguret.
Contributing
Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.
License
Licensed under MIT License. © Luciano Mammino & Stefano Abalsamo.