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:
parent
83f21d7d2a
commit
e9e3f29d74
2 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||||
|
|
|
@ -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__':
|
||||||
|
|
Loading…
Reference in a new issue