Remove f-string without expression, mute unused variable in Cdm

This commit is contained in:
rlaphoenix 2022-07-23 16:29:28 +01:00
parent 943968f2c7
commit 93cdc7f44e
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ class Cdm:
new(self.device.private_key). \ new(self.device.private_key). \
decrypt(license_message.session_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. \ license_signature = HMAC. \
new(mac_key_server, digestmod=SHA256). \ new(mac_key_server, digestmod=SHA256). \

View File

@ -235,7 +235,7 @@ def create_device(
file_hashes_.ParseFromString(device.client_id.vmp_data) file_hashes_.ParseFromString(device.client_id.vmp_data)
log.info(f" + VMP: True ({len(file_hashes_.signatures)} signatures)") log.info(f" + VMP: True ({len(file_hashes_.signatures)} signatures)")
else: else:
log.info(f" + VMP: False") log.info(" + VMP: False")
log.info(f" + Saved to: {out_path.absolute()}") log.info(f" + Saved to: {out_path.absolute()}")