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

Use of LocalDateTime in SD-JWT library #11

Open
jbenipal opened this issue Apr 1, 2024 · 1 comment
Open

Use of LocalDateTime in SD-JWT library #11

jbenipal opened this issue Apr 1, 2024 · 1 comment

Comments

@jbenipal
Copy link

jbenipal commented Apr 1, 2024

Hi,

While experimenting with the SD-JWT library to create and verify presentations, I saw that the library uses LocalDateTime to verify if the JWT was within 30 seconds time period in the method verifyJwtClaims. This verification code works fine if the LocalDateTime creates the object in UTC as the original key binding JWT created using nimbus library (in createPresentation) is in UTC time. However for other time zones, it fails with error JWT not yet valid.

I can put up a fix, if the explanation seems correct.

@fabian-hk
Copy link
Contributor

Sorry for the late reply. That sounds reasonable, but this project is no longer maintained. If you are interested in maintaining it, please contact me. I would recommend using the eudi-lib-jvm-sdjwt-kt library instead.

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

No branches or pull requests

2 participants