jwtgen icon indicating copy to clipboard operation
jwtgen copied to clipboard

"-e" arg doesn't work as documented

Open ad-boschung opened this issue 4 years ago • 0 comments

First of all, I thank you for your tools, it's is really helpful to generate and test JWT tokens !

i found a small issue in your example, concerning the "Expired tokens" section.

It's explained that with -i=-3600 -e 3600 The following example issues the token 1 hour (3600 seconds) in the past and expires at the generated time.

But I remark that it's not really true.

The -e 3600 doesn't generate a token that expire at -i value + 3600 but at generated time (now) + 3600.

ad-boschung avatar Dec 01 '20 14:12 ad-boschung