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

update JWKKey exporting to handle timestamp (double) attributes #824

Conversation

mr-sebbo
Copy link
Contributor

@mr-sebbo mr-sebbo commented Nov 13, 2024

Description

JWK's can contain timestamps for expiration (exp), not-before (nbf), and issued-at(iat).
Currently, when these are present in an imported JWK, the loading and creation of a did will break. This fix will allow these attributes to be present.

See also here

Type of Change

  • bug fix - change which fixes an issue
  • new feature - change which adds functionality

Checklist

  • code cleanup and self-review
  • unit + e2e test coverage
  • documentation updated accordingly

Breaking

  • -

Copy link

sonarcloud bot commented Nov 14, 2024

Copy link
Contributor

@philpotisk philpotisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this nice improvement!

@philpotisk philpotisk merged commit c053ac8 into walt-id:main Nov 15, 2024
2 checks passed
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.

2 participants