forked from shaba/openuds
Fixed crypto key loading
This commit is contained in:
parent
21c2976d82
commit
a179522f4c
@ -205,7 +205,7 @@ class CryptoManager(metaclass=singleton.Singleton):
|
||||
]:
|
||||
try:
|
||||
return serialization.load_pem_private_key(
|
||||
settings.RSA_KEY.encode(), password=None, backend=default_backend()
|
||||
rsaKey.encode(), password=None, backend=default_backend()
|
||||
)
|
||||
except Exception as e:
|
||||
raise e
|
||||
|
Loading…
Reference in New Issue
Block a user