-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat(acl): support more JWT algorithms for ACL #8912
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Raphael for doing this. We should also add integration test for public-private key case. Happy to help if you need any.
777be30
to
e0d9a33
Compare
ec83bcc
to
68d1598
Compare
Note: This PR is a first step to fix #8814. |
a235dfc
to
c0d92bb
Compare
b8399e8
to
240235a
Compare
240235a
to
d5e87ed
Compare
d5e87ed
to
3aaec0d
Compare
04c1427
to
174eba2
Compare
174eba2
to
05cf282
Compare
05cf282
to
acc5ab7
Compare
Description: Until now, we only supported HS256 algorithm for signing and verifying JWT algorithms. This PR adds support for longer keys (HS384, HS512) as well as asymmetric algorithms such as RS, RSS-PSS, ES for various key and SHA lengths. Partially Fixes: #8814 Closes: https://dgraph.atlassian.net/browse/DGRAPHCORE-95 --------- Co-authored-by: Aman Mangal <[email protected]>
Description: Until now, we only supported HS256 algorithm for signing and verifying JWT algorithms. This PR adds support for longer keys (HS384, HS512) as well as asymmetric algorithms such as RS, RSS-PSS, ES for various key and shalengths.
Fixes: #8814
Closes: https://dgraph.atlassian.net/browse/DGRAPHCORE-95