用于解码/编码 JSON Web 令牌的命令行用户界面
____.__ _____________ ____ ___.___
| / \ / \__ ___/ | | \ |
| \ \/\/ / | | ______ | | / |
/\__| |\ / | | /_____/ | | /| |
\________| \__/\ / |____| |______/ |___|
\/A terminal UI for decoding/encoding JSON Web Tokens inspired by JWT.io and jwt-cli
Crafted by
@) or base64 encoded string (beginning with b64:). Supported secret formats:HS{256,384,512}: Plain text, base64 encoded string, JWKS (JSON text and .json file)RS{256,384,512}, PS{256,384,512}: PEM file, DER file, PKCS8 file, JWKS (JSON text and .json file)ES{256,384}: PEM file, DER file, PKCS8 file, JWKS (JSON text and .json file).json file)brew tap jwt-rs/jwt-ui
brew install jwt-ui
# If you need to be more specific, use:
brew install jwt-rs/jwt-ui/jwt-uiTo upgrade
brew upgrade jwt-uiscoop bucket add jwt-ui-bucket https://github.com/jwt-rs/scoop-jwt-ui
scoop install jwt-uiIf you have Cargo installed then you install JWT UI from crates.io
cargo install jwt-ui --lockedYou can also clone the repo and run cargo run or make to build and run the app
[Maintained by @orhun]
jwt-ui is available in the official repositories. You can install it using pacman:
pacman -S jwt-uiRun the below command to install the latest binary. Run with sudo if you don't have write access to /usr/local/bin. Else the script will install to the current directory
curl https://raw.githubusercontent.com/jwt-rs/jwt-ui/main/deployment/getLatest.sh | bashRun JWT UI as a Docker container.
docker run --rm -it deepu105/jwt-uiYou can also clone this repo and run make docker to build a docker image locally and run it using the above command
Binaries for macOS (x86_64, arm64), Linux GNU/MUSL(x86_64, armv6, armv7, aarch64) and Windows (x86_64, aarch64) are available on the releases page
cd to the file you just downloaded and run tar -C /usr/local/bin -xzf downloaded-file-name. Use sudo if required.jwtuijwtui.exe…Press ? while running the app to see keybindings
Arguments: [TOKEN] JWT token to decode [mandatory for stdout mode, optional for TUI mode]
Options:
-S, --secret Secret for validating the JWT. Can be text, file path (beginning with @) or base64 encoded string (beginning with b64:) [default: ]-s, --stdout Print to STDOUT instead of starting the CLI in TUI mode-n, --no-verify Do not validate the signature of the JWT when printing to STDOUT.-j, --json Print to STDOUT as JSON-t, --tick-rate Set the tick rate (milliseconds): the lower the number the higher the FPS. Must be less than 1000 [default: 250]-d, --disable-mouse-capture Disable mouse capture in order to copy individual text-h, --help Print help-V, --version Print versionIf you are looking for a non TUI CLI, check out jwt-cli
Note: On Debian/Ubuntu you might need to install
libxcb-xfixes0-devandlibxcb-shape0-dev. On Fedoralibxcbandlibxcb-develwould be needed.
Note: On Linux you might need to have package
xorg-dev(Debian/Ubuntu) orxorg-x11-server-devel(Fedora) or equivalent installed for the copy to clipboard features to work
aarch64 and arm machines.MIT
Cargo.tomlCHANGELOG.mdmake release V=vx.x.x to release a new version via GitHub actions暂无开放 Issues,或尚未同步最近议题。