diff --git a/pywidevine/cdm.py b/pywidevine/cdm.py index a6257e5..40cae91 100644 --- a/pywidevine/cdm.py +++ b/pywidevine/cdm.py @@ -222,7 +222,7 @@ class Cdm: new(self.device.private_key). \ decrypt(license_message.session_key) - enc_key, mac_key_server, mac_key_client = self.derive_keys(*context, session_key) + enc_key, mac_key_server, _ = self.derive_keys(*context, session_key) license_signature = HMAC. \ new(mac_key_server, digestmod=SHA256). \ diff --git a/pywidevine/main.py b/pywidevine/main.py index a2b63a2..e7eeeb4 100644 --- a/pywidevine/main.py +++ b/pywidevine/main.py @@ -235,7 +235,7 @@ def create_device( file_hashes_.ParseFromString(device.client_id.vmp_data) log.info(f" + VMP: True ({len(file_hashes_.signatures)} signatures)") else: - log.info(f" + VMP: False") + log.info(" + VMP: False") log.info(f" + Saved to: {out_path.absolute()}")