Hacking [Release] Python script to generate the rsa_kek!

  • Thread starter Thread starter SimonMKWii
  • Start date Start date
  • Views Views 28,508
  • Replies Replies 83
  • Likes Likes 22
Nice work dude, I have been looking into finding this info whenever I saw your posts on romSh and HCS, spent most of the night without any luck, glad you managed to find what you were looking for :)

Well do we know that the eShop functions the same? It would be ridiculous for Nintendo to use the same client-side verification for the downloads. Are we certain the the title keys are always the same and that the server always returns a bit-for-bit equivalent copy of the game? They could be encrypting the games server-side with your account-specific decryption key. That way it wouldn't decrypt if you use someone else's key. They also could (and should) have gated the download based on your oauth token. So rather than having a static URL for the file you have to make a request to the API with your token to return a temporary link to the account-encrypted game. If the server determines you don't have rights to that game it would return an error code.

tl;dr: why in the fuck would Nintendo still use their fundamentally broken eShop delivery model after it was blown wide open? Just because we are able to get title keys doesn't necessarily mean the eShop functions the same way as it does on the 3ds.
 
DBD7....?
I seriously don't know how you managed to get that.
http://xor.pw/
Put this in input 1: E54DXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Put this in input 2: 4D87XXXXXXXXXXXXXXXXXXXXXXXXXXXX
The output is the key. It's not hard.

--------------------- MERGED ---------------------------

a8ca... etc
 
I seriously don't know how you managed to get that.
http://xor.pw/
Put this in input 1: E54DXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Put this in input 2: 4D87XXXXXXXXXXXXXXXXXXXXXXXXXXXX
The output is the key. It's not hard.

--------------------- MERGED ---------------------------

a8ca... etc
Yea no. I got that key. Lol. I used the others you posted elsewhere.

--------------------- MERGED ---------------------------

I was trying to verify the generated one. Its fine.
 
So just in case, could I just buy Odysee, dump it, get Key Data and sell it? And then Download it from E-Shop?
 
Script worked fine, for me.


It's literally attached to the OP.


Yep; going to be one of those days.

sorry, my fault. :D
I thought you needed a script (not the one in op! :P) to generate eticket_rsa_kek_source and
eticket_rsa_kekek_source. How to find them?
 
Last edited by torekiki,
You can find them both in the es sysmodule.
Open the "main" file from its ExeFS in a hex editor, and search for the leading bytes, which are provided in the python script.
 
Script worked fine, for me.
Well then I have no idea what is wrong on my end. I downloaded the script again(into my Downloads folder) and inputted the required information into the script. Still gave me an error on line 21 when I executed it.
errorKeyScript.PNG
 
Last edited by TheMCNerd2017,

Site & Scene News

Popular threads in this forum