Skip to content

Commit

Permalink
fix: #1454 Remove jose dependency (#1506)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianliuwk1019 authored Jul 25, 2024
1 parent c6c7776 commit e23f2dd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions server/backend/api/app/integration/bcsc/bcsc_jwk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e23f2dd

Please sign in to comment.