From e23f2ddecd4381f705714106f0b228509ee5f439 Mon Sep 17 00:00:00 2001 From: Ian Liu <81595625+ianliuwk1019@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:32:42 -0700 Subject: [PATCH] fix: #1454 Remove jose dependency (#1506) --- server/backend/api/app/integration/bcsc/bcsc_jwk.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/backend/api/app/integration/bcsc/bcsc_jwk.py b/server/backend/api/app/integration/bcsc/bcsc_jwk.py index f7a0cc754..a14e7a635 100644 --- a/server/backend/api/app/integration/bcsc/bcsc_jwk.py +++ b/server/backend/api/app/integration/bcsc/bcsc_jwk.py @@ -47,10 +47,8 @@ def get_key(algorithm): return ALGORITHMS.KEYS[algorithm] elif algorithm in ALGORITHMS.HMAC: # noqa: F811 return HMACKey - elif algorithm in ALGORITHMS.AES: - from jose.backends import AESKey # noqa: F811 - - return AESKey + elif algorithm in ALGORITHMS.AES: # noqa: F811 + return CryptographyAESKey """ # elif algorithm in ALGORITHMS.RSA: # from jose.backends import RSAKey # noqa: F811