Commit graph

101 commits

Author SHA1 Message Date
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
SciresM
cec1acb298
Merge pull request #9 from hexkyz/master (mbedtls port)
Port to mbedtls (#5)
2018-02-02 03:44:35 -08:00
SciresM
0811d41a7a
Merge pull request #8 from AcK77/patch-1
wrong variable name
2018-01-31 15:22:58 -08:00
Ac_K
a1cb760121
wrong variable name
If I following this doc http://switchbrew.org/index.php?title=NPDM the unknown value is at 0x208 inside ACID. Just a little name issue right here.
2018-01-31 23:58:19 +01:00
hexkyz
59ccf0455a Port to mbedtls 2018-01-29 18:39:30 +00:00
Michael Scire
0c65ac1e70 Implement --basenca support (closes #1). 2018-01-27 03:24:01 -08:00
Michael Scire
fba6933668 First pass implementation for BKTR support (#1).
Currently, --baseromfs allows to specify a base romfs image.
The base romfs must be dumped using -r for this to work right.

TODO: I would like to add support for --basenca.
2018-01-26 21:31:55 -08:00
Michael Scire
0486b3c00d Fix extraction filepath copying on WIN32 2018-01-24 22:28:35 -08:00
SciresM
714a272ab3
Merge pull request #7 from AuroraWright/master
Fix clang compilation warnings (missing newlines, fixed some printf arguments, updated old POSIX standard causing clang not to define vsnprintf)
2018-01-24 18:20:19 -08:00
Aurora Wright
389f70c049 It seems including the Homebrew dirs isn't needed for some reason 2018-01-24 23:47:08 +01:00
Aurora Wright
6a4b94bec3 Fix compiling on macOS by adding the Homebrew library includes, fix clang compilation warnings (missing newlines, fixed some printf arguments, updated old POSIX standard causing clang not to define vsnprintf) 2018-01-24 23:18:27 +01:00
Michael Scire
9e5c20c465 Fix search/replace typo. 2018-01-24 10:18:19 -08:00