diff --git a/sept/sept-secondary/KEYS_template.py b/sept/sept-secondary/KEYS_template.py index be51e754f..0b3a4ad9a 100644 --- a/sept/sept-secondary/KEYS_template.py +++ b/sept/sept-secondary/KEYS_template.py @@ -1,7 +1,7 @@ HOVI_ENC_KEY_PRD = '00000000000000000000000000000000'.decode('hex') HOVI_ENC_KEY_DEV = '00000000000000000000000000000000'.decode('hex') -HOVI_ENC_KEY_IV1 = '00000000000000000000000000000000'.decode('hex') HOVI_SIG_KEY_PRD = '00000000000000000000000000000000'.decode('hex') HOVI_SIG_KEY_DEV = '00000000000000000000000000000000'.decode('hex') HOVI_KEK_KEY_PRD = '00000000000000000000000000000000'.decode('hex') HOVI_KEK_KEY_DEV = '00000000000000000000000000000000'.decode('hex') +IV = '00000000000000000000000000000000'.decode('hex') diff --git a/sept/sept-secondary/sept_sign.py b/sept/sept-secondary/sept_sign.py index 64e97b220..17d515433 100644 --- a/sept/sept-secondary/sept_sign.py +++ b/sept/sept-secondary/sept_sign.py @@ -61,7 +61,7 @@ def main(argc, argv): code += '\x00'*(0x10 - (len(code) & 0xF)) # TODO: Support dev unit crypto with open(argv[2], 'wb') as f: - f.write(sign_encrypt_code(code, KEYS.HOVI_SIG_KEY_PRD, KEYS.HOVI_ENC_KEY_PRD, KEYS.HOVI_ENC_KEY_IV1, 'THANKS_NVIDIA_<3')) + f.write(sign_encrypt_code(code, KEYS.HOVI_SIG_KEY_PRD, KEYS.HOVI_ENC_KEY_PRD, KEYS.IV, 'THANKS_NVIDIA_<3')) return 0 if __name__ == '__main__':