From e9e3f29d746c7c8501f08fc608c67157ea88f362 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 21 Feb 2019 07:41:58 -0800 Subject: [PATCH] sept-sign: uncorrect misguided meme correction --- sept/sept-secondary/KEYS_template.py | 2 +- sept/sept-secondary/sept_sign.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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__':