From 64fb5ef87e08c0dc932b31feea1f0a86114eccf7 Mon Sep 17 00:00:00 2001 From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> Date: Wed, 9 Sep 2026 10:34:42 -0500 Subject: [PATCH] bring htdecodetoken man page up to date --- htdecodetoken.1 | 15 +++++++++++++-- htdecodetoken.html | 45 +++++++++++++++++++++++++++++++++++++++++---- htgettoken.spec | 1 + 3 files changed, 55 insertions(+), 6 deletions(-) diff --git a/htdecodetoken.1 b/htdecodetoken.1 index 16b71dd..886e2e1 100644 --- a/htdecodetoken.1 +++ b/htdecodetoken.1 @@ -4,10 +4,10 @@ htdecodetoken \- decode JSON Web Token .SH SYNOPSIS .B htdecodetoken -[-a] [-H] [file] +[-a] [-H] [-s|-f] [-v] [file] .PP .B httokendecode -[-a] [-H] [file] +[-a] [-H] [-s|-f] [-v] [file] .SH DESCRIPTION .B htdecodetoken @@ -42,6 +42,17 @@ that are normally shown in Epoch time instead in the human-readable form used by default by the .B date command. +.TP +.B \-s +Skips scitokens-verify validation. Cannot be used with -f. +This is the default if stdout is not a TTY, or if scitokens-verify +is not available in the PATH. +.TP +.B \-f +Force scitokens-verify validation. Cannot be used with -s. +.TP +.B \-v +Enable verbose mode, showing in stderr where the token came from. .SH AUTHOR Dave Dykstra diff --git a/htdecodetoken.html b/htdecodetoken.html index 3678f21..5608d32 100644 --- a/htdecodetoken.html +++ b/htdecodetoken.html @@ -1,5 +1,5 @@ - - + + @@ -46,11 +46,11 @@

SYNOPSIS

htdecodetoken -[-a] [-H] [file]

+[-a] [-H] [-s|-f] [-v] [file]

httokendecode -[-a] [-H] [file]

+[-a] [-H] [-s|-f] [-v] [file]

DESCRIPTION @@ -113,6 +113,43 @@

OPTIONS shown in Epoch time (seconds since the beginning of 1970) instead in the human-readable form used by default by the date command.

+ + + + + +

−s

+ + + + +

Skips scitokens-verify validation. Cannot be used with +-f. This is the default if stdout is not a TTY, or if +scitokens-verify is not available in the PATH.

+ + + + + +

−f

+ + + + +

Force scitokens-verify validation. Cannot be used with +-s.

+ + + + + +

−v

+ + + + +

Enable verbose mode, showing in stderr where the token +came from.

AUTHOR diff --git a/htgettoken.spec b/htgettoken.spec index 1b39484..004f3f1 100644 --- a/htgettoken.spec +++ b/htgettoken.spec @@ -74,6 +74,7 @@ rm -rf $RPM_BUILD_ROOT %changelog +# - Add missing -s, -f, and -v options to htdecodetoken man page. * Thu Jan 15 2026 Dave Dykstra 2.6-1 - Have htdecodetoken take advantage of new scitokens-verify ability