Skip to content

Commit 01dd10e

Browse files
removing extra code
1 parent b3dfe43 commit 01dd10e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client_encryption/encryption_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ def load_decryption_key(key_file_path, decryption_key_password=None):
4343
def __load_pkcs12_private_key(pkcs12_key, password):
4444
"""Load a private key in ASN1 format out of a PKCS#12 container."""
4545

46-
#pkcs12 = load_pkcs12(pkcs12_key, password.encode("utf-8")).get_privatekey()
47-
with open(key_file_path, "rb") as f:
4846
private_key = pkcs12.load_pkcs12(pkcs12_key, password)
4947
return dump_privatekey(FILETYPE_ASN1, private_key)
5048

0 commit comments

Comments
 (0)