We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
jwskate
I wanted to create HS512 key. Generated key was shorter than expected.
(for required length see) https://www.rfc-editor.org/rfc/rfc7518#section-3.2
from jwskate import Jwk, Jwt print(Jwk.generate_for_alg(alg="HS512")) {'kty': 'oct', 'k': 'OaFBpH2kogyNz-LvmfYYBw', 'alg': 'HS512'}
I created a PR with a fix #6
The text was updated successfully, but these errors were encountered:
Many thanks for the report and PR. I will fix it a bit differently, and will remove SymmetricJwk.generate_for_alg() override which is unnecessary.
SymmetricJwk.generate_for_alg()
Sorry, something went wrong.
fix #7: correct key sizes in generate_for_alg() for HMAC signature al…
08a8aa0
…gs and AES encryption algs
c668132
Thanks!
No branches or pull requests
jwskate
version: 0.5.0Description
I wanted to create HS512 key.
Generated key was shorter than expected.
(for required length see) https://www.rfc-editor.org/rfc/rfc7518#section-3.2
What I Did
I created a PR with a fix #6
The text was updated successfully, but these errors were encountered: