Removed un-needed variables process_file()
This commit is contained in:
parent
50e565e0bb
commit
7ed5bcee43
2 changed files with 3 additions and 3 deletions
4
mega.py
4
mega.py
|
@ -321,8 +321,8 @@ class Mega(object):
|
||||||
key = decrypt_key(base64_to_a32(key), self.master_key)
|
key = decrypt_key(base64_to_a32(key), self.master_key)
|
||||||
if file['t'] == 0:
|
if file['t'] == 0:
|
||||||
k = file['k'] = (key[0] ^ key[4], key[1] ^ key[5], key[2] ^ key[6], key[3] ^ key[7])
|
k = file['k'] = (key[0] ^ key[4], key[1] ^ key[5], key[2] ^ key[6], key[3] ^ key[7])
|
||||||
iv = file['iv'] = key[4:6] + (0, 0)
|
file['iv'] = key[4:6] + (0, 0)
|
||||||
meta_mac = file['meta_mac'] = key[6:8]
|
file['meta_mac'] = key[6:8]
|
||||||
else:
|
else:
|
||||||
k = file['k'] = key
|
k = file['k'] = key
|
||||||
attributes = base64_url_decode(file['a'])
|
attributes = base64_url_decode(file['a'])
|
||||||
|
|
Loading…
Reference in a new issue