jwtgen
jwtgen copied to clipboard
"-e" arg doesn't work as documented
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
.