Skip to content
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

Fix for lib0 issue 88: Expired JWT error #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AIRoboCoder
Copy link

@AIRoboCoder AIRoboCoder commented Nov 10, 2024

Fix for issue: #88
which also fixes issue yjs/y-redis#25

Changes:

  • Added getUnixTimeInSeconds() to time.js: returns time since unix epoch in seconds
  • Fix for verifyJWT in crypto/jwt.js: compare exp with value from timegetUnixTimeInSeconds as per RFC7519

… time since unix epoch in seconds as per RFC7519
@AIRoboCoder AIRoboCoder force-pushed the AIRoboCode-fix-verifyJWT-exp-RFC7519 branch from 7e7cf96 to bec2dbb Compare November 10, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant