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

[Human App][Backend] Add JWT validity check #2673

Open
Dzeranov opened this issue Oct 22, 2024 · 0 comments
Open

[Human App][Backend] Add JWT validity check #2673

Dzeranov opened this issue Oct 22, 2024 · 0 comments
Assignees

Comments

@Dzeranov
Copy link
Contributor

Description
Need to add a validity check for a JWT using Reputation Oracle JWT public key

Motivation
As of now we're not checking signature of the JWT, only it's payload.

Implementation details

  1. Grab Reputation Oracle JWT public key from a KVStore on a startup.
  2. Cache it in Redis without TTL. (In case we change Reputation Oracle public key we just need to restart the app).
@Dzeranov Dzeranov moved this to Todo in Core-tech - 2024 Oct 22, 2024
@dnechay dnechay moved this from Todo to Backlog in Core-tech - 2024 Nov 22, 2024
@dnechay dnechay assigned dnechay and unassigned dnechay Nov 22, 2024
@portuu3 portuu3 assigned eugenvoronov and unassigned dnechay Feb 10, 2025
@portuu3 portuu3 moved this to Todo in Core-tech - 2025 Feb 10, 2025
@eugenvoronov eugenvoronov moved this from Todo to In Progress in Core-tech - 2025 Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

3 participants