Commit graph

62 commits

Author SHA1 Message Date
Seddigirl
387e48a868
Fix missing underscore 2018-05-08 00:02:14 +02:00
Michael Scire
04926319f4 JSON: Output mapped pages/sizes as u32. 2018-05-02 22:10:57 -06:00
Michael Scire
d2d9146f68 Add JSON output for KIP1/INI, fix encrypted package2 input 2018-05-02 22:09:11 -06:00
Michael Scire
cdbcdf0d4a Update outdated SVC Names. 2018-05-02 20:41:09 -06:00
Michael Scire
fa2730ef59 Implement npdm -> JSON autogeneration. 2018-05-02 18:35:19 -06:00
Michael Scire
e288a141c4 Support plaintext/unsigned package2 2018-04-30 00:01:36 -06:00
Michael Scire
c1deca93f5 Bump version in preparation for new release. 2018-04-27 19:57:03 -06:00
Michael Scire
5e33b4f57d Fix use-after-free in key derivation 2018-04-27 04:33:55 -06:00
Michael Scire
e27e9350de Fix typo in key printing 2018-04-26 05:58:21 -06:00
Michael Scire
dfff070d45 Clean up output 2018-04-26 00:38:59 -06:00
Michael Scire
9276b1c09b Cleanup pki.c, fix readme.md, fix usage statement. 2018-04-26 00:18:34 -06:00
Michael Scire
42bae8d256 Update README.md 2018-04-26 00:12:38 -06:00
Michael Scire
2159f4396f Add support for key derivation.
Passing in --sbk=, --tseckey= with -t keygen and an input BOOT0
BIS partition will now derive all keys derivable iwth the sources
in the loaded keyset, and print them to output.
2018-04-26 00:10:14 -06:00
Michael Scire
41e6695e6e Add support for NAX0 input files. 2018-04-03 16:26:56 -06:00
SciresM
5bc21ebe73
Fix leftover buckets dereference not using getter. 2018-03-31 23:11:13 -07:00
Michael Scire
67d09c125b Fix Intersection bucket retrievals 2018-03-31 17:46:28 -06:00
Michael Scire
3d12b43f7b Implement real BKTR support 2018-03-31 16:43:59 -06:00
Michael Scire
a93a926345 Add support for NCA2 (pre-1.0.0 NCAs) 2018-03-14 23:42:34 -06:00
SciresM
205025c348
Merge pull request #13 from Selver-gba/patch-1
Minor layout change
2018-02-14 21:33:44 -08:00
Selver
6c3d45e8d9
Minor layout change
Make clearer the common keys needed to derive header/app/ocean/system keys.
2018-02-14 15:58:54 -08:00
SciresM
8f7657ae19
Merge pull request #12 from roblabla/master
Support XDG_CONFIG_HOME
2018-02-12 12:33:16 -08:00
Michael Scire
5271b3ae00 Add more options for Update RomFS 2018-02-12 03:35:48 -08:00
Michael Scire
8311740694 Bump version for bugfixes 2018-02-07 11:39:23 -08:00
Michael Scire
992d615368 Fix crashes in BKTR edge-cases. 2018-02-07 11:35:14 -08:00
Michael Scire
488dc27057 Fix some potential memory corruption bugs 2018-02-07 10:39:47 -08:00
roblabla
1fef4337e4 Support XDG config 2018-02-07 14:58:52 +01:00
Michael Scire
b7f05c9af2 Bump version to 1.0 (Closes #10) 2018-02-07 00:45:00 -08:00
Michael Scire
14471a8c3a Honestly the error output is pretty good... (Closes #2) 2018-02-07 00:31:25 -08:00
Michael Scire
ea0cda97f7 Update README/Usage statement 2018-02-07 00:13:36 -08:00
Michael Scire
3e1fddd9de Finish Package2 support, add support for INI1, KIP1 (Closes #4) 2018-02-07 00:10:53 -08:00
Michael Scire
9ddd0d070e Add basic package2 parsing.
Still needs section saving, and parsing/extraction
of INI1.

This will require implementing both an INI1 and a KIP1
parser.
2018-02-06 22:06:19 -08:00
Michael Scire
0eb41a5f6b Add support for Package1 (#4) 2018-02-06 15:52:48 -08:00
Michael Scire
c88eb1102e Derive keys when loading externally, when necessary. 2018-02-06 07:57:51 -08:00
Michael Scire
76266b8e55 Add support for parsing plain NPDM (#4). 2018-02-06 00:40:37 -08:00
Michael Scire
c029db1363 Implement support for external keys (closes #6) 2018-02-06 00:04:27 -08:00
Michael Scire
54263ae821 Fix capitalization breaking building on linux 2018-02-05 01:57:29 -08:00
Michael Scire
d50753fc68 Remove libiconv mention from README, now that it's not a dependency. 2018-02-04 19:12:50 -08:00
Michael Scire
64e6de3a5c Mention XCI support in usage. 2018-02-04 19:09:53 -08:00
Michael Scire
d9f6dab328 Use Unicode's ConvertUTF for utf8->utf16 (Closes #11). 2018-02-04 19:08:53 -08:00
Michael Scire
f92dba644b Fix XCI options typo 2018-02-04 00:29:44 -08:00
Michael Scire
2567d516d5 Initial XCI Support. (WIP, #4).
-Not all pertitent information is printed out.
-Extraction is pretty much supported, though.
-TODO: CERT stuff, decryption, title ID fetching...
2018-02-04 00:23:10 -08:00
Michael Scire
910918bbb1 Amend readme/usage to indicate hfs0 support. 2018-02-03 22:11:30 -08:00
Michael Scire
52f45fbd60 Implement -t hfs0, Re-work --outdir override. 2018-02-03 22:09:16 -08:00
Michael Scire
ac7b24a24e Implement -t romfs (and placeholder code for remaining types) (#4) 2018-02-03 21:18:53 -08:00
Michael Scire
d762f71f98 Implement header, decrypted NCA saving. 2018-02-03 11:28:08 -08:00
Michael Scire
0453b44734 Update README with new features/usage 2018-02-02 21:38:11 -08:00
Michael Scire
6213403ffb Re-brand ourselves, bump version number to 0.9 2018-02-02 21:35:43 -08:00
Michael Scire
c25a188f1e Add support for deriving keys from master key + seeds (#6) 2018-02-02 20:57:24 -08:00
Michael Scire
7568f3f39c Add support for PFS0 input files (#4) 2018-02-02 17:06:33 -08:00
Michael Scire
9cdfa1244c Add config.mk to mbedtls Makefiles 2018-02-02 04:14:07 -08:00