sept-sign: uncorrect misguided meme correction

This commit is contained in:
Michael Scire 2019-02-21 07:41:58 -08:00
parent 83f21d7d2a
commit e9e3f29d74
2 changed files with 2 additions and 2 deletions

View file

@ -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')

View file

@ -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__':