New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS/ES: Handle personalised tickets properly #5066
Conversation
IOS unpersonalises device-specific ("personalised") tickets prior to storing them on the NAND.
ad60323
to
9c31d6f
Compare
With this Pull Request... the Wii Shop Channel is usable. |
You probably don't have proper certs yet because our tool was extracting them incorrectly. the tool was just updated a few hours ago. This guide should now work, assuming the tool is uploaded. https://wiki.dolphin-emu.org/index.php?title=Wii_Network_Guide |
Ok, updated to the latest master (5.0-2870), redid the certificates and it's a different error now:
And yes, the 797567b427fa6b0ed74e7bf428d0a409 clientca.pem
a82c3521f532b7e21199cdcd976ff2d9 clientcakey.pem
f67797020b2dd108726efba4bfc34ba7 rootca.pem I don't know what I'm doing wrong |
It can be really fickle about the NAND, it didn't work the first time for me either. Just wait for @leoetlino to respond, he may have a better idea what's going on. |
@Starsam80 |
Yes, they do match. The only reason why I did MD5 was because it was a bit more inconvenient to use SHA256. I also checked the permissions and nothing seems to be wrong (all users can read, and most users can write). I also ran dolphin as administrator and it was the same. |
Do you have keys.bin in place? |
Hmm, sorta. I do have a keys.bin, I got it from when I dumped my Wii, but if I was supposed to place it somewhere special in dolphin's folder I didn't do that, because the guide that I had followed didn't say to place it anywhere. |
I have no idea if the guide is even ready for shop channel lol. I more or less followed Leo's instructions, and even then it didn't work right away until it felt like it. Keys.bin goes with all the other files in the Wii NAND root. |
I found a fix! Turns out we weren't opening the certificate file as a binary file, which caused it to fail once it hit certain characters. I made a pull request at #5069 |
IOS unpersonalises device-specific ("personalised") tickets prior to storing them on the NAND.
This is required for installing titles from the shop channel. Thanks for booto for helping me figure out an issue with the shared secret part :)