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

Increase in the duration of jwt.encode on version upgrade (3.0.1 -> 3.3.0) #343

Open
Tamar-Shemesh opened this issue Feb 13, 2024 · 0 comments

Comments

@Tamar-Shemesh
Copy link

Hi,
I'm using jwt.encode with algorithm RS256 on my api, and since upgrading the dependencies I've noticed an increase in the call duration of jwt.encode
The duration is used to be around ~0.1 sec on average, and has increased to ~0.8 sec.

My old dependencies:

  • cryptography==3.3.2
  • python-jose[cryptography]==3.0.1

my new dependencies:

  • cryptography==40.0.1
  • python-jose[cryptography]==3.3.0

I'm not sure if the issue is at cryptography or at jose, since jose is dependent on cryptography.
I could not find anything in the change log that stood out as a cause for this, is this the expected behavior of the latest version? Any ideas on what is the cause for this change?

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

1 participant