If it's wanted I'll write a script.So a good database can be produced
If it's wanted I'll write a script.So a good database can be produced
I have nothing better to doYou are the man
CIA creation worked flawlessly, but I cant install the file with FBI 2.0. It gives me an error at 99% "Cert signature or hash check failed". I'm using AuReiNand 5.0.7 with SysNAND 10.7 and FBI 2.0. Here my 3DS when it failed: http://imgur.com/bgO5BnS
@cearp I got that now. Only I can check the console ID. But is this one hundred percent save? What console ID will legit CIAs have when installed to the system?yeah what d0k3 added is awesome but it will catch the bad keys aswell, it just needs to filter out the bads ones, i posted above, it's easy enough to do, i do it in FunkyCIA and in the dump keys script in my OP
yup, 8 byte TID and 16 bytes TitleKey, then 1 byte "keyslot index" (rule of thumb, if from eshop, it's "00", if it's a system title, it's "01" (there may be exceptions)), then 7byte "00" and it loops around until the last title key, keep in mind the count limit when generating the proper file
they will have the same as a system app, all "00"What console ID will legit CIAs have when installed to the system?
@cearp I don't care about system stuff, but legit CIA titlekeys are valid, too!they will have the same as a system app, all "00"
I think that is right. Also mind the limit (1024 per file).i would say in LE
So for 1024: 0x00 0x04 0x00 0x00?I think that is right. Also mind the limit (1024 per file).
I'm almost done. One question, of the beginning of the file there should be the ticket count in 4 bytes. In LE or BE?
wrong @ tag ? anyway, was just to answer, i know that system stuff is useless, btw, also, could you add custom rules for the dump of title keys to not dump system titlekeys from ticket.db ? would help a bunch@cearp I don't care about system stuff, but legit CIA titlekeys are valid, too!
I opened the output file on a hex editor and compared it with my console's decTitleKeys, there are a lot of "FFFFFFFFFFFFFFFF" on the output file that aren't on the real file from a console. Does it have any affect on the resulting enc keys?decTitleKey.bin Database cleaner
You need Java 8! (I'll hated for this, but I don't care)
Usage: "java -jar decTitleKeyCleaner.jar ./"
- Place the .jar archive in the same folder as decTitleKeys.bin does
- Open Console
(or "java -jar decTitleKeyCleaner.jar [path to decTitleKeys.bin folder]")
This will create 2 files ("decTitleKeys0.bin" and "decTitleKeys1.bin")
Encrypt these files with Decrypt9! (of course rename it first)
Download: https://mega.nz/#!hYJQnRAD!1dPSrpd8rxoDNX820p_UzaQ9EiTVHfNY0BTb5c3ytZ8
NOTE: This is not tested, it may contain bugs!
Special thanks to @demon77
Ptrk25
Noob question: How do I encrypt the keys in Decrypt9?Encrypt these files with Decrypt9! (of course rename it first)