1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00

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_PRD = '00000000000000000000000000000000'.decode('hex')
HOVI_ENC_KEY_DEV = '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_PRD = '00000000000000000000000000000000'.decode('hex')
HOVI_SIG_KEY_DEV = '00000000000000000000000000000000'.decode('hex') HOVI_SIG_KEY_DEV = '00000000000000000000000000000000'.decode('hex')
HOVI_KEK_KEY_PRD = '00000000000000000000000000000000'.decode('hex') HOVI_KEK_KEY_PRD = '00000000000000000000000000000000'.decode('hex')
HOVI_KEK_KEY_DEV = '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)) code += '\x00'*(0x10 - (len(code) & 0xF))
# TODO: Support dev unit crypto # TODO: Support dev unit crypto
with open(argv[2], 'wb') as f: 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 return 0
if __name__ == '__main__': if __name__ == '__main__':