From 5aa823f526fde310cf0c8e734f734c30eb30f32b Mon Sep 17 00:00:00 2001 From: David Henning Date: Sat, 25 Jul 2026 22:17:47 +0200 Subject: [PATCH] docs(site): add a claim-validation step to the usage section Add a "Validate claims" usage workflow covering --verify-claims and the --aud/--iss assertions, placed after "Verify a JWS signature" (mirroring the capabilities list) and renumbering the following steps to 04-10. Reflects the opt-in claim validation shipped in 5.3.0. Co-Authored-By: Claude Opus 4.8 --- site/index.html | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/site/index.html b/site/index.html index 3ebba72..97a9096 100644 --- a/site/index.html +++ b/site/index.html @@ -616,6 +616,30 @@

Verify a JWS signature

03
+
+

Validate claims

+

+ Add --verify-claims to enforce exp + and nbf, exiting nonzero when the token is expired + or not yet valid. Add --aud or --iss + to also require an audience or issuer. +

+
+
+
jwtd --verify-claims --aud my-api eyJhbGciOiJIUzI1NiIs...
+
+ +
+
+
+
+
04

Decrypt a JWE

@@ -638,7 +662,7 @@

Decrypt a JWE

-
04
+
05

Pipe a token from stdin

@@ -660,7 +684,7 @@

Pipe a token from stdin

-
05
+
06

Supply the key from the environment

@@ -683,7 +707,7 @@

Supply the key from the environment

-
06
+
07

Use the interactive prompt

@@ -705,7 +729,7 @@

Use the interactive prompt

-
07
+
08

Verify with a raw HMAC secret

@@ -728,7 +752,7 @@

Verify with a raw HMAC secret

-
08
+
09

Emit machine-readable JSON

@@ -751,7 +775,7 @@

Emit machine-readable JSON

-
09
+
10

Control color output