-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timestamp error #95
Comments
Same error: with the token: ` Token payload values: |
I have the issue too |
when timestamp in token,if timestamp is 1684248669016(millisecond)
the py will go wrong
the full exception:
Token payload values:
[+] tenantId = "xxxx"
[+] userId = 106
[+] userType = "build-in"
[+] userName = "xxxx"
[+] ext = 1684248669016
Traceback (most recent call last):
File "/Users/jwt_tool-2.2.6/jwt_tool.py", line 2040, in
rejigToken(headDict, paylDict, sig)
File "/Users/jwt_tool-2.2.6/jwt_tool.py", line 1298, in rejigToken
comparestamps, expiredtoken = dissectPayl(paylDict)
File "/Users/jwt_tool-2.2.6/jwt_tool.py", line 1192, in dissectPayl
timestamp = datetime.fromtimestamp(int(paylDict[claim]))
ValueError: year 55340 is out of range
The text was updated successfully, but these errors were encountered: