diff --git a/code/utils.py b/code/utils.py index 17becd4..6e19e97 100644 --- a/code/utils.py +++ b/code/utils.py @@ -26,7 +26,7 @@ iv = b' ' * 16 def decrypt_encrypted_key(password, encrypted_key): encrypted_key = bytes.fromhex(encrypted_key) if encrypted_key.startswith(b'v10'): - encrypted_key = b'peanuts' + password = 'peanuts' logger.warning(f'encryptedKey in config.json is encrypted using the default `peanuts` key') elif encrypted_key.startswith(b'v11'): encrypted_key = encrypted_key[3:]