人気: データ更新日:2026年12月6日

カテゴリ

インターネット1,449
コミュニケーション332
音楽・動画953
画像・デザイン581
オフィス・仕事効率化1,203
開発ツール3,335
AIツール631
セキュリティ・プライバシー419
システムツール3,247
ゲーム552
教育・科学246
ネットワーク・IT管理298

jwtdの旧バージョン・全バージョン一覧

Decode and pretty-print JSON Web Tokens with syntax highlighting

jwtdのバージョンを、2026年7月25日から最新の5.11.0まで8件掲載しています。いずれも提供元の公式インストーラーにリンクしています。

2026: 8 8 26
バージョン日付サイズファイル
5.11.0最新版 2026年12月2日 — 64ビット ZIPARM64 ZIP
リリースノート
## Diffing, SD-JWTs, JSON Serialization, and batch mode

This release adds four ways to work with tokens:compare two tokens semantically, decode Selective Disclosure JWTs, read JWS and JWE tokens in JSON Serialization, and process many tokens in one run. It also includes the fixes from a security audit of these features.

## What's new

**`jwtd diff`.** `jwtd diff <tokenA> <tokenB>` compares two tokens field by field instead of as text.

• **Output:** added (`+`), removed (`-`), and changed (`~`) header and payload fields. `--all` also shows unchanged fields.
• **Timestamps:** `iat`, `exp`, `nbf`, `auth_time`, and `updated_at` show signed deltas such as `(+1h)`. The `--local`/`--tz` timezone flags apply.
• **Keys:** `--key` and `--verify-key` apply to both tokens. A JWK Set verifies tokens across `kid` rotations, and encrypted or nested tokens are decrypted before they are compared.
• **Scripting:** `--exit-code` exits 1 when the tokens differ. `--json` emits a machine-readable diff. `-` reads one of the two tokens from stdin.
• **Fails closed:** two undecrypted JWEs with different ciphertexts are never reported equal. An SD-JWT whose disclosures do not bind never compares equal to anything.

**SD-JWT (RFC 9901).** Tilde-separated Selective Disclosure JWTs are detected automatically.

• **Disclosures:** every disclosure is checked against its digest, recursively and inside arrays, with `sha-256`, `sha-384`, or `sha-512`. The disclosed claims are merged into the payload. A tampered, duplicated, conflicting, or unreferenced disclosure fails with a nonzero exit.
• **Key Binding JWTs** are checked for `typ`, an asymmetric `alg`, the required claims with their types, and `sd_hash`. Their signature is verified against `cnf.jwk` only after the issuer signature verified against your `--key`, because a holder key the issuer did not vouch for proves nothing.
• **Works everywhere:** claim validation, `--claim`/`--payload`, `--json`, nesting inside a JWE, and `jwtd diff` all use the reconstructed claims.

**JWS and JWE JSON Serialization.** Flattened and General JSON Serialization (RFC 7515 / RFC 7516 §7.2) is detected alongside compact tokens. Pretty-printed JSON can be piped in as is.

• **JWS:** protected and unprotected headers are shown, and every signature is verified on its own. In a multi-signature token, a signature your key does not apply to is reported as `not checked` instead of `INVALID`, so one signer's key can verify that signer's signature.
• **JWE:** the shared and per-recipient headers and the AAD are shown. Multi-recipient tokens are decrypted using each recipient's `kid` and `alg`.
• **Raw JWS payloads:** a compact JWS carrying a non-JSON payload now decodes, verifies, and extracts with `--payload`. Claim checks and `--claim` fail on it, because it holds no claims.

**`--stream`.** Process newline-delimited tokens from stdin, for example from logs.

• **Output:** human output separates tokens with `---`. `--json` emits NDJSON. `--claim` extracts one value per valid token.
• **Errors:** processing continues past bad lines. Errors and verdicts on stderr name the line they came from. The exit status is nonzero at the end if any token failed.
• **Interactive:** on a terminal, `jwtd --stream` prompts in a loop until an empty line, `exit`, or Ctrl+D.

## Behaviour changes

• **JWS extensions are refused.** jwtd implements no JWS extension, so a token whose header carries `crit` is rejected, as RFC 7515 §4.1.11 requires. So is an RFC 7797 unencoded payload (`"b64":false`). Before, such a token's payload was base64url-decoded like any other, so a payload the issuer never signed could verify `VALID`.
• **Tokens nested in a JWE must be clean.** A decrypted payload opens as a nested token only when it contains nothing but token characters; surrounding whitespace is trimmed. A line break inside a segment used to parse and reach the terminal raw. Such a payload is now shown as text.
• **Deep nesting is indented less.** Indentation 
5.10.0 2026年11月29日 — 64ビット ZIPARM64 ZIP
リリースノート
## OpenSSH keys and embedded certificates

This release lets you verify tokens directly against OpenSSH public keys and shows the `x5c` certificate chains that tokens carry in their headers.

## What's new

**Native OpenSSH public keys.** `--key ~/.ssh/id_ed25519.pub` now verifies directly, with no conversion step. Ed25519 users could not convert before at all, because `ssh-keygen -e -m PKCS8` does not export Ed25519.

• **Formats:** one-line `.pub` files, `authorized_keys` entries with options, RFC 4716 armor, and the bare base64 key blob.
• **Algorithms:** `ssh-ed25519` verifies EdDSA, `ssh-rsa` verifies RS*/PS*, and `ecdsa-sha2-nistp256/384/521` verify ES256/384/512.
• **One key per file.** SSH keys carry no `kid`, so a file holding several keys is an error rather than a guess.
• **Rejected types:** DSA, `sk-` security keys, and certificates are rejected with a reason. An OpenSSH private key now points you to its `.pub` file (or to `ssh-keygen -p -m PEM` for decrypting a JWE), instead of suggesting `hmac:`.
• **Never an HMAC secret.** SSH keys always load as public keys, so an HS256 token forged with a `.pub` file's bytes reports `Signature:INVALID`.

**Embedded `x5c` certificate chains.** When a token's header carries an `x5c` chain (Apple App Store notifications, Play Integrity attestations, and the FIDO metadata JWT do), a Certificates section follows the header.

• **Fields:** subject, issuer, serial, validity (on the `--at`/`--tz` clock), key, SANs, and the SHA-256 thumbprint in `x5t#S256` form.
• **Thumbprint headers:** `x5t#S256` and `x5t` are checked against the leaf.
• **`--json`:** the chain appears as `certificates`.
• **Display only.** The chain is never used to verify a signature, since anyone can embed their own certificate, and it is not validated against a trust store. Certificate text is escaped, so a crafted certificate cannot inject terminal sequences or fake lines.

**No network code.** jwtd will not fetch remote keys. To verify against a provider's published JWK Set, pipe it in with `curl`:`jwtd --key <(curl -fsSL https://issuer.example/.well-known/jwks.json) "$TOKEN"`. The README and website show the bash, zsh, fish, and OIDC-discovery forms.

## Behaviour changes

• SSH public key files passed to `--key`, which were rejected before, now load and verify.
• Human output for a token with `x5c` gains a Certificates section, and its `--json` gains `certificates`. Tokens without `x5c` produce exactly the same output as before.

## What's Changed
• docs:clear release notes after 5.9.0 by @bsg62 in https://github.com/webcodr/jwtd/pull/41
• feat:parse openssh public keys natively by @bsg62 in https://github.com/webcodr/jwtd/pull/42
• feat:inspect embedded x5c certificate chains by @bsg62 in https://github.com/webcodr/jwtd/pull/43
• docs:prepare 5.10.0 release notes and website by @bsg62 in https://github.com/webcodr/jwtd/pull/44

**Full Changelog**:https://github.com/webcodr/jwtd/compare/v5.9.0...v5.10.0
5.9.0 2026年11月27日 — 64ビット ZIPARM64 ZIP
リリースノート
## Extraction and signed-then-encrypted tokens

This release adds single-value extraction for shell pipelines and end-to-end checking of signed-then-encrypted tokens such as encrypted OIDC ID tokens.

## What's new

**Section and claim extraction.** `--header`, `--payload`, and `--claim <name>` print one part of a token, so `sub=$(jwtd -k issuer.pem --claim sub "$TOKEN")` works without `jq`. String claims print bare, other values as compact JSON, and `--json` JSON-encodes every value. Every requested check still runs, and **if one fails, nothing is printed to stdout**:the verdict goes to stderr and the exit status is nonzero, so a script never receives a value that failed a check it asked for.

**A separate verification key.** `--verify-key` (or `JWTD_VERIFY_KEY`) verifies JWS signatures at any depth, while `--key` keeps decrypting every JWE layer. A token signed by an issuer and encrypted to you can now be checked in one command:

```sh
jwtd --key private-key.pem --verify-key issuer-public-key.pem "$TOKEN"
```

An explicit `--verify-key` is never skipped:if it cannot be used on a nested signature, or the token holds no signature at all, the command fails. An empty `--verify-key` is rejected.

**Claim validation and `--json` reach inside a JWE.** Claim flags now validate the innermost claims set:the claims of a token nested in the JWE, or a decrypted JSON payload. `--json` output for a JWE gains `nested` (the inner token, including its `signatureValid`) and `claimsValid`.

## Behaviour changes

• **Claim flags on a JWE are no longer skipped.** `jwtd --verify-claims <jwe>` used to print a note and exit 0. It now validates the innermost claims, and claims it cannot reach — no `--key` to decrypt, an undecryptable nested JWE, or a payload that is not a JSON object — are reported as `Claims:INVALID` with a nonzero exit.
• **`--json` now checks the inner signature of a nested token.** With only `--key`, the decryption key is offered to the inner signature, as the human output has always done. For an encrypted ID token signed with the issuer's own key, that reports `signatureValid:false` and exits nonzero where `--json` used to exit 0 without checking the inner signature at all. Pass `--verify-key` with the issuer's key; a stderr note says so whenever this happens.
• A top-level JWE that fails to decrypt is now reported before its protected header is printed.

## What's Changed
• docs(site):document v5.8.0 CLI ergonomics features by @bsg62 in https://github.com/webcodr/jwtd/pull/36
• docs(site):tighten claim, alg, and decode copy by @bsg62 in https://github.com/webcodr/jwtd/pull/37
• feat:add --header, --payload, and --claim extraction by @bsg62 in https://github.com/webcodr/jwtd/pull/38
• feat:add --verify-key and validate nested claims by @bsg62 in https://github.com/webcodr/jwtd/pull/39
• docs(site):document extraction and verify-key features by @bsg62 in https://github.com/webcodr/jwtd/pull/40

**Full Changelog**:https://github.com/webcodr/jwtd/compare/v5.8.0...v5.9.0
5.7.1 2026年11月16日 — 64ビット ZIPARM64 ZIP
リリースノート
## What's Changed
• chore:update all dependencies by @bsg62 in https://github.com/webcodr/jwtd/pull/33

**Full Changelog**:https://github.com/webcodr/jwtd/compare/v5.7.0...v5.7.1
5.7.0 2026年9月9日 — 64ビット ZIPARM64 ZIP
リリースノート
## A hardening release

Two code-base reviews since 5.6.0 turned up nineteen findings, and this release closes all of them. Nothing changes for well-formed tokens and keys; every fix tightens an edge where jwtd accepted something it should have refused, printed something it should not have, or reported a verdict it could not stand behind.

## Three of them mattered for verification

**An empty `oct` JWK was an empty HMAC secret.** jwtd rejects an empty symmetric secret because everyone knows it, but a JWK or JWK Set entry with `"k":""` reached the verifier without passing that gate, so an HS256 token signed with the empty key reported `Signature: VALID`. Every JWK path now goes through the same check as `raw:` and `hmac:`, and the rejection names the key instead of falling through to a hint that would have suggested the JWK's own JSON as a secret.

**A non-string `kid` selected the first key in a JWK Set.** RFC 7515 requires `kid` to be a string. A header carrying `"kid":123` or `"kid": null` was treated as if no `kid` were present, and a JWK Set then handed back its first entry without a word. It is now an error, on the human and `--json` paths and for JWEs alike.

**The signing-method allowlist fails closed.** An X25519 key parses as a valid JWE key but can verify no JWS. It used to skip the allowlist and rely on each `Verify` implementation's type assertion to refuse it; jwtd now refuses such a key itself before any verification runs.

## Claim validation no longer trusts a number it cannot represent

`--verify-claims` handed `exp`, `nbf`, and `iat` to the JWT library as raw numbers, and the library converts them through a float whose conversion error it discards. An `exp` of `1e400` therefore reported `token is expired`, and an `nbf` of `1e400` reported valid. Both now yield `Claims:INVALID` with a reason that names the claim and says the value is not a representable timestamp — the same rule the display already applied when it declined to annotate the value.

## `--key` reaches nested tokens

A decrypted JWE payload that is itself a JWE or JWT is decoded recursively, but the recursion dropped the key:the inner JWE printed its encrypted part sizes and asked for a key you had already passed, and the inner JWT printed without a signature verdict. The outer key is now applied at every level, and an invalid nested signature sets the exit code. When the key does not fit the inner token, jwtd falls back to the keyless rendering it produced before.

## Also in this release

• A `null` header or payload segment is rejected as `expected JSON object` instead of rendering as `{}` with a passing claim verdict.
• The human JWT path resolves the key before writing anything, as the JWE and `--json` paths already did, so an unusable `--key` yields the error alone rather than three decoded sections followed by one. A directory passed as `--key` says so instead of being read as base64 text.
• `jwtd ""` and an empty stdin pipe both report `no token provided`. Piped input is bounded at 16 MiB with an explicit error rather than a silent truncation.
• `--json --color=bogus` is rejected like the non-JSON path, and a JWE whose plaintext is the JSON literal `null` now emits `"decryptedPayload":null` instead of omitting the field.
• The `expires in` / `not yet valid` annotations are computed from Unix seconds, so an `exp` more than 292 years away shows its real distance instead of the `106751d` at which `time.Duration` saturates.
• Encrypted part sizes are measured arithmetically from the base64url text instead of decoding the ciphertext to count it.

## What's Changed
• fix:close review findings on verification, flags, and output by @bsg62 in https://github.com/webcodr/jwtd/pull/31
• fix:close code-review findings on keys, claims, and output by @bsg62 in https://github.com/webcodr/jwtd/pull/32

**Full Changelog**:https://github.com/webcodr/jwtd/compare/v5.6.0...v5.7.0
5.6.0 2026年8月27日 — 64ビット ZIPARM64 ZIP
リリースノート
## Faster rendering, identical output

This release is internal work again. Nothing about jwtd's output changes, and on an ordinary token nothing about the speed is perceptible:a `jwtd <token>` run takes about 0.88 ms, and roughly three quarters of that is process startup and Go runtime initialization that happens before jwtd's own code runs at all.

What changed is the printer. jwtd rendered its colored JSON with `go-prettyjson`, which marshalled the value back to JSON and re-decoded it before formatting, then assembled the result one string per token — each through `fmt.Sprintf`, each re-deriving its ANSI escape sequences. jwtd already holds the decoded token, so the round trip was pure overhead. The replacement walks the value straight into a single buffer, resolves each color's escapes once per section, and quotes strings through `encoding/json` only when quoting would actually change them.

Where it is measurable — a 725 KB token, far larger than anything you would paste by hand:

| | 5.5.0 | 5.6.0 |
|---|---|---|
| rendering the payload | 7.32 ms | 0.33 ms |
| allocations while rendering | 19.6 MB, 136k | 579 B, ~0 |
| decode and print, end to end | 11.4 ms | 4.3 ms |
| decode and print, ordinary token | 14.6 µs | 4.0 µs |

The last row is the work jwtd does for a normal token, and it is 1 % of the run. Startup dominates, as it did before.

## The output is byte-for-byte identical, and that is tested rather than asserted

`go-prettyjson` is still in `go.mod`, now as a **test-only dependency**, so the formatter that replaced it can be held to its output byte for byte:over enumerated value shapes and 200 seeded-random JSON values, with color on and off. A second differential test pins the cached ANSI escapes against `fatih/color` itself — and earned its keep immediately, catching that the library's `Sprint` family closes with a reset per attribute while its `Fprintf` family closes with a plain reset. Conflating the two would have quietly changed the dimmed reason line under a failed verdict and the JWE encrypted-part listing.

Beyond the test suite, 129 invocations of the 5.5.0 and 5.6.0 binaries across 15 tokens and 9 flag combinations produce identical bytes, exit codes and stderr included.

## Also in this release

The escaping pass that sanitizes formatted JSON for the terminal had a fast path that never ran when color was on:it required printable ASCII, and colored output always carries the ESC bytes of its own color codes. It now admits them — everything that pass rewrites is DEL or above — which takes it from 612 MB/s to 4,214 MB/s on colored output, the interactive default.

The repository also gains a benchmark suite covering the parse, render, escape, and signature paths, so performance claims about jwtd can be checked instead of argued. One of them exists to record a limit rather than to invite tuning:decoding the payload is now the largest remaining cost, and it is already at the standard library's floor for a decoder that must preserve exact numeric claim values.

**Full Changelog**:https://github.com/webcodr/jwtd/compare/v5.5.0...v5.6.0
5.3.0 2026年7月25日 — 64ビット ZIPARM64 ZIP
リリースノート
Highlights
WinGet (Windows)
jwtd is now installable with the built-in Windows Package Manager:
winget install WebCodr.jwtd
The manifest installs the same signed release binary as every other channel, packaged as a portable zip whose hashes are taken from the release's signed checksums.txt. Windows releases now ship an additional .zip archive alongside the existing .tar.gz; its jwtd.exe is byte-for-byte the same binary. Scoop, Homebrew, AUR, Fedora COPR, and Nix are unchanged.
What's Changed
• feat:publish to WinGet by @bsg62 in #19
Full Changelog:v5.1.0...v5.2.0
5.2.0 2026年7月25日 — 64ビット ZIPARM64 ZIP
リリースノート
Highlights
WinGet (Windows)
jwtd is now installable with the built-in Windows Package Manager:
winget install WebCodr.jwtd
The manifest installs the same signed release binary as every other channel, packaged as a portable zip whose hashes are taken from the release's signed checksums.txt. Windows releases now ship an additional .zip archive alongside the existing .tar.gz; its jwtd.exe is byte-for-byte the same binary. Scoop, Homebrew, AUR, Fedora COPR, and Nix are unchanged.
What's Changed
- feat: publish to WinGet by @bsg62 in #19
Full Changelog: v5.1.0...v5.2.0

ターミナル・CLIツールで最も人気

すべて表示
  1. PowerShellターミナル・CLIツール · Microsoft Corporation
  2. QPDFターミナル・CLIツール · QPDF
  3. Oh My Poshターミナル・CLIツール · Jan De Dobbeleer
  4. Microsoft Azure CLIターミナル・CLIツール · Microsoft Corporation
  5. yqターミナル・CLIツール · Mike Farah
  6. fzfターミナル・CLIツール · Junegunn Choi
  7. Alacrittyターミナル・CLIツール · Alacritty
  8. PuTTYターミナル・CLIツール · Simon Tatham
  9. cURLターミナル・CLIツール · curl
  10. Tabbyターミナル・CLIツール · Tabby Developers

タグ

共有