fix: EdDSA to Ed25519 token migration#786
Conversation
aldbr
left a comment
There was a problem hiding this comment.
That looks good, thank you 🙂
I just have a few minor comments around the tests.
Next step: making sure there is a documentation page to rotate the keys (and delete old ones if needed). If it does not exist, then we need to create one based on #499 (comment)
Documentation build overview
Show files changed (3 files in total): 📝 3 modified | ➕ 0 added | ➖ 0 deleted
|
Small documentationHow to rotate the keys:
How to check if rotation worked:
|
|
joserfc error breaking the demo when trying to login as diracAdmin:
Full Logs: See: https://jose.authlib.org/en/guide/errors/#unsupportedalgorithmerror Edit: error was due to wrong joserfc version in demo dependencies. |
|
I followed your steps on my side to check and I have a few minor comments 🙂
Note: you launch the demo only when you want to test the key rotation with
So here, if you try to decode the
Here you should use the updated script.
I think it's cleaner to update the existing secret with: kubectl create secret generic diracx-jwks \
--namespace="$namespace" \
--from-file=jwks.json \
--dry-run=client -o yaml \
| kubectl apply -f -You need to restart the kubectl rollout restart deployment diracx-demo -n $namespace
In the context of the demo, you also need to check the |
cc @aldbr
Closes: #718
Changes:
TODO: