Alexander Bokovoy
5368120805
custodia: do not use deprecated jwcrypto wrappers
...
jwcrypto has turned JWK object into a dict-like structure in 2020 and
marked data wrappers as deprecated. The only exception for direct
foo['bar'] access is a key ID -- some keys might have no 'kid' property,
thus it is best to use jwk.get('kid') instead for those.
Fixes: https://pagure.io/freeipa/issue/9597
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2024-05-23 15:12:27 -04:00
Florence Blanc-Renaud
fdd3dd29b7
pylint: fix consider-iterating-dictionary
...
Related: https://pagure.io/freeipa/issue/9278
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com >
Reviewed-By: Stanislav Levin <slev@altlinux.org >
2023-01-10 08:30:58 +01:00
Christian Heimes
e1abfe0fb7
Fix Custodia pylint issues
...
See: https://pagure.io/freeipa/issue/8882
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2021-06-16 10:28:17 -04:00
Christian Heimes
a4631b7f3f
Fix Custodia imports
...
See: https://pagure.io/freeipa/issue/8882
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2021-06-16 10:28:17 -04:00
Christian Heimes
1e98f310f6
Add Custodia 0.6.0 to ipaserver package
...
Incorporate Custodia into IPA.
See: https://pagure.io/freeipa/issue/8882
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2021-06-16 10:28:17 -04:00