Skip to content

Fix for lib0 issue 88: Expired JWT error#95

Closed
AIRoboCoder wants to merge 1 commit intodmonad:mainfrom
AIRoboCoder:AIRoboCode-fix-verifyJWT-exp-RFC7519
Closed

Fix for lib0 issue 88: Expired JWT error#95
AIRoboCoder wants to merge 1 commit intodmonad:mainfrom
AIRoboCoder:AIRoboCode-fix-verifyJWT-exp-RFC7519

Conversation

@AIRoboCoder
Copy link
Copy Markdown

@AIRoboCoder AIRoboCoder commented Nov 10, 2024

Fix for issue: #88
which also fixes issue yjs/yhub#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
@nicholasjonnes
Copy link
Copy Markdown

nicholasjonnes commented Jan 29, 2026

@dmonad, Can this be merged into main? I am encountering this issue yjs/yhub#25 as well

@dmonad
Copy link
Copy Markdown
Owner

dmonad commented Apr 8, 2026

this is now fixed

@dmonad dmonad closed this Apr 8, 2026
@nicholasjonnes
Copy link
Copy Markdown

Thanks dmonad!

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.

3 participants