Repository navigation
use jwtk for es512 - #5062
use jwtk for es512#5062
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
|
This PR can not build in MacOS from CI: Not sure where caused it. |
|
@junnplus is there any other choice that does not depend on openssl (like jwt-simple) ? |
|
is this strongly required?giving jwt-simple already support Ed25519 mentioned in #4928 (comment)
author of |
It seems that kms of AWS do not support the Ed25519 algorithm, we need to use kms to generate JWT token |
jwt-simple does not support ES512 algorithm. In addition, the API design of jwt-simple is not good, like ES256PublicKey, it lacks the api to convert from JWK to public key. |
0813f40 to
d38380b
Compare
|
reqsign uses jsonwebtoken for JWT, does it looks good to you? |
Ooops, jsonwebtoken seems to lack |
Signed-off-by: Ye Sijun <[email protected]>
Signed-off-by: Ye Sijun [email protected]
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
jwt-simpledoes not supportES512algorithm, see https://github.com/jedisct1/rust-jwt-simple#jwt-simpleSo I found jwtk, supports almost all JWS algorithms, both JWT and JWKS are supported.
Changelog
Related Issues
Fixes #4928