Commit graph

153 commits

Author SHA1 Message Date
Jack
d7df033e24 Remove TODO from xci.h 2019-11-01 12:35:11 +08:00
Jack
4dd4b3be18 Implement XCI encrypted header data parsing 2019-11-01 12:21:44 +08:00
Jack
1beb568207 Add support for importing xci_header_key 2019-11-01 12:21:12 +08:00
Jack
ddde730efb Add AES_MODE_CBC to aes_mode_t 2019-11-01 12:20:41 +08:00
hexkyz
21b84a3be3
Merge pull request #82 from SciresM/save_dev
Implement savefile reading, output, file listing, and verification
2019-10-18 19:20:10 +01:00
hexkyz
c195505144
Merge pull request #14 from roblabla/patch-1
aes_key_generation_source is in spl .rodata
2019-10-18 19:18:21 +01:00
hexkyz
3751898acb
Merge pull request #80 from 0Liam/master
add PublicData content type
2019-10-18 19:16:27 +01:00
shchmue
89ca0043ef save: Add README and CLI options 2019-10-18 11:22:22 -06:00
shchmue
a62152cb6e save: Full support for save reading 2019-10-18 11:19:46 -06:00
shchmue
884a0cf437 save: Add return values for read funcs 2019-10-18 11:17:58 -06:00
shchmue
a483a61f01 save: Finish all save reading features 2019-10-18 09:28:59 -06:00
shchmue
2fb48898ac save: Allocation table storage read 2019-10-16 14:52:38 -06:00
shchmue
94a7319985 save: Begin filesystem and allocation table init 2019-10-15 10:47:39 -06:00
shchmue
cfbb0086df save: Finish save IVFC init 2019-10-13 16:22:47 -06:00
shchmue
a2ccab0f7a save: Fix pointer use after free 2019-10-10 14:16:22 -06:00
shchmue
215cda0a91 save: Core IVFC init 2019-10-09 18:45:28 -06:00
shchmue
5727377751 save: First half of filesystem init 2019-10-08 09:24:16 -06:00
Liam
8ec867a87b
add PublicData content type
Fixes issue where some DLC NCA files show up as Unknown.
2019-07-16 16:01:53 +01:00
shchmue
ae795bba8b Add preliminary savefile parsing support 2019-06-04 15:41:18 -04:00
shchmue
b8062ab149 Add save MAC key derivation 2019-06-03 18:16:14 -04:00
SciresM
0219abfd83
Merge pull request #75 from lioncash/warn
Silence a few warnings
2019-05-09 02:14:37 -07:00
Lioncash
653ed85536
npdm: Silence -Wformat warnings
One case was specifying a size smaller than the actual type being
printed, while the other was caused due to C's integral promotion rules.
Operation on types smaller than int, will be promoted to an int. In this
case, the mask was unnecessary anyways, so it can just be removed.
2019-05-05 00:29:55 -04:00
Lioncash
0318763fe8
general: Silence -Wnewline-eof warnings
These warnings occur when building with the default template on macOS.
2019-05-05 00:27:37 -04:00
SciresM
04ed8b9ee4
Merge pull request #73 from shchmue/master
Fix failure to dump 8.x INI1.bin
2019-04-30 05:34:21 -07:00
shchmue
c9d275bdd5 Fix failure to dump 8.x INI1.bin 2019-04-30 08:30:34 -04:00
SciresM
c543b3442e
Merge pull request #72 from shchmue/master
Implement support for 8.0.0 Kernel-embedded INI1
2019-04-25 11:26:00 -07:00
shchmue
4c3339e38c Implement support for 8.0.0 Kernel-embedded INI1 2019-04-25 11:07:08 -04:00
SciresM
4f6c4bf38b
Merge pull request #71 from blawar/master
removed PFS0 file entry offset check that failed when file entries were not packed.
2019-04-20 15:05:40 -07:00
Blake Warner
2427664682 removed PFS0 file entry offset check that failed when file entries were not packed. 2019-04-20 17:55:52 -04:00
Michael Scire
dc6fbd927e new key support. TODO: new pk11 support 2019-03-03 10:03:30 -08:00
SciresM
1af84ef846
Merge pull request #64 from baconwaifu/master
Fixed possibility of missing null-terminator in strncpy(input_name)
2018-12-30 23:55:54 -08:00
slango20
98c9d8e42a Fixed possibility of missing null-terminator if the input filename exceeded 512 bytes in length. 2018-12-31 01:07:59 -05:00
Michael Scire
4d8d84dae2 Extkeys: Allow skipping key warning output. 2018-12-12 06:12:43 -08:00
Michael Scire
3058366f12 Loosen title.keys content restrictions. 2018-12-12 05:55:48 -08:00
SciresM
5c70f5c193
Merge pull request #62 from roblabla/master
Properly derive the package1_keys and master_keks
2018-11-30 15:13:27 -08:00
roblabla
bf224c967b Properly derive the package1_keys and masater_keks if the keyblob are hardcoded in the ini file 2018-11-30 22:42:32 +00:00
Michael Scire
6546bfda4c Add 6.2.0 key name, add tsec_root_key alias. 2018-11-24 01:03:40 -08:00
Michael Scire
0388e1bdaa Implement support for 6.2.0+ keygen. 2018-11-24 01:01:30 -08:00
Michael Scire
3b399f2197 Fix aes buffer passing error (closes #59) 2018-11-24 00:34:42 -08:00
SciresM
499f06ed9c
Merge pull request #57 from JamePeng/update-get_key_revision_summary
update function get_key_revision_summary for 6.0.0
2018-11-04 03:16:09 +09:00
SciresM
d773aa91fa
Merge pull request #53 from lioncash/const
Resolve remaining -Wdiscarded-qualifiers warnings
2018-11-04 03:15:51 +09:00
SciresM
c007745a75
Merge pull request #54 from roblabla/master
Stop using duplicate keys
2018-11-04 03:15:37 +09:00
JamePeng
cc947e1b4f update function get_key_revision_summary for 6.0.0 2018-10-18 22:35:16 +08:00
roblabla
867a91cc48 Avoid duplicate keys in service_access
Splits service_access into service_host and service_access, both arrays of
string.
2018-09-29 01:24:39 +00:00
roblabla
3197e5f386 Fix a small bug in cJSON_AddU32ToObject 2018-09-24 23:46:12 +00:00
roblabla
075b91620d Avoid duplicate keys in generated kernel caps 2018-09-24 23:46:12 +00:00
Lioncash
50c164382e hfs0: Resolve -Wdiscarded-qualifier warnings
name is only ever assigned via string literals, which can cause
warnings, as string literals have a const qualifier associated with
them. This is only ever used for information display in console
printouts, so this is a safe change to make.
2018-09-02 10:07:05 -04:00
Lioncash
83077e3991 npdm: Resolve -Wdiscarded-qualifiers warnings
Like with 52486c12e3, these functions'
return types was char*, which casts away the constness of the string
literals.
2018-09-02 09:59:12 -04:00
Lioncash
52486c12e3 nca: Resolve -Wdiscarded-qualifiers warnings
String literals are always const char arrays of N length (where N is the
number of characters plus the null terminator), given a few functions
were returning by char*, they were casting the const qualifier away,
causing warnings.

This is a safe change, as these are only used with logging functions.
2018-09-02 09:57:19 -04:00
Michael Scire
a4e8ab6322 Fix base NCA titlekey loading failure (closes #48) 2018-08-16 23:07:01 -07:00