Alex Barney
24e6434765
Use an enum instead of a bool for integrity checking levels
2018-10-09 15:33:56 -05:00
Alex Barney
a64cbeca5b
Continue NCA improvements
...
- Read only the NCA header when first opening an NCA. This allows for reading of partial NCAs and slightly improves performance when opening an NCA.
- Add a separate NCA method to validate master hashes now that it's not automatically done when opening the NCA.
- Fix possible hang when reading BKTR sections.
- When keys required to decrypt an NCA are missing, throw an exception with information about the missing keys.
- Add more sanity checks when reading an NCA.
Hactoolnet: Don't hard-crash when hitting an unhandled exception
2018-10-08 21:04:39 -05:00
Alex Barney
209d81187a
NCA reading improvements
...
Add on-the-fly Partition FS hash verification
Do some cleanup on NCA classes
2018-10-07 20:29:27 -05:00
Alex Barney
47a3eda0ed
Fix key printing
2018-10-05 12:29:52 -05:00
Alex Barney
db00267ef4
Dispose SharedStreamSource. Temp fix for switchfs reading without title keys
2018-10-05 12:23:18 -05:00
Alex Barney
0300f55da5
Give RomfsDir and RomfsFile a common base
2018-10-04 21:40:59 -05:00
jonnysp
d12f419d8d
Add Partition FS extraction ( #12 )
...
Add Partition FS extraction + misc. changes
2018-10-03 14:14:23 -06:00
Alex Barney
e798a8dd45
Add key file exporting to hactoolnet
2018-10-02 22:00:57 -05:00
Alex Barney
e740d13bbe
Enforce "var" style
2018-10-02 17:25:58 -05:00
Alex Barney
372370db82
Code style naming fixes
2018-10-01 13:07:20 -05:00
Alex Barney
56115ace39
Fix casing of names
2018-10-01 13:00:09 -05:00
Alex Barney
a21283bf44
Print information about save files
2018-10-01 12:55:10 -05:00
Alex Barney
7a5bd2347d
Read additional portion of patch content metadata files
2018-09-25 18:28:49 -05:00
Alex Barney
64c98df5b3
Fix hactoolnet build
2018-09-24 14:42:06 -05:00
Alex Barney
54319145c1
Merge pull request #10 from jonnysp/master
...
added XCI File and Partition HashValidity
2018-09-24 13:40:03 -06:00
Alex Barney
b5c7f14d55
Merge pull request #11 from shadowninja108/master
...
Add partial NSO support
2018-09-23 20:22:39 -06:00
Alex Barney
fba8a7c6e0
Code style tweaks
2018-09-23 21:18:20 -05:00
shadowninja108
86aa80c87b
Fixed Nso implementation
...
Added more keyset printing
2018-09-23 00:24:14 -07:00
shadowninja108
0efc550fa6
Better handling of the IsCompressed flag in Nso.cs
2018-09-22 21:52:30 -07:00
shadowninja108
e694833e0c
Switched to Ryujinx's implementation of LZ4
...
Fixed stream handling in Nso.cs
2018-09-22 21:46:15 -07:00
shadowninja108
73b472befa
Add partial NSO support
2018-09-22 20:19:27 -07:00
Alex Barney
34c3ffd37e
Make sure the title key for an NCA exists when loading
2018-09-22 18:48:44 -05:00
jonnysp
f7b23c3f83
correction ECB CBC
2018-09-22 08:42:00 +02:00
jonnysp
ab8dda98b4
simplify the ECB and CBC
2018-09-22 07:44:52 +02:00
jonnysp
235ace8b1b
added XCI File and Partition HashValidity
2018-09-21 14:37:30 +02:00
Alex Barney
ab565fe83e
Version 0.1.2
2018-09-20 21:26:25 -05:00
Alex Barney
49d5c8e43b
Remove setters from Keyset keys
2018-09-20 21:19:34 -05:00
Alex Barney
8110000737
Parse title key files with pipes as delimiters
2018-09-20 21:15:27 -05:00
Alex Barney
53680f3e5c
Add Stream overload to Ticket constructor
2018-09-20 20:36:58 -05:00
Alex Barney
e92c686d77
Add save file integrity verification
2018-09-20 20:34:40 -05:00
Alex Barney
ed6c3c2bed
Add the option to enable IVFC integrity checks
2018-09-20 16:16:40 -05:00
Alex Barney
f04fc33b07
Read INI1
2018-09-17 19:52:22 -05:00
Alex Barney
8b8aa3277f
Read KIP1 files
2018-09-17 19:20:56 -05:00
Alex Barney
4bfaafc301
Add package2 support
2018-09-16 20:26:16 -05:00
Alex Barney
087008f7f4
Add save file signing capability
2018-09-15 22:31:06 -05:00
Alex Barney
e651eb731c
Validate save signature
2018-09-15 22:10:42 -05:00
Alex Barney
77dc8fb9a1
Fix bug in updating the AES-CTR counter
2018-09-15 15:56:15 -05:00
Alex Barney
1f62706d4c
Add XCI signature checks and info output
2018-09-13 17:58:40 -05:00
Alex Barney
c321f65f2a
Check XCI signature validity
2018-09-13 14:07:28 -05:00
Alex Barney
8230b0ba75
Split hactoolnet processing into multiple files
2018-09-12 20:28:50 -05:00
Alex Barney
7cef145513
Make key names match naming convention
2018-09-12 20:27:46 -05:00
Alex Barney
8022d193df
Add package1 support. Update usage
2018-09-12 19:51:21 -05:00
Alex Barney
49a1f0b5a4
Read save files from SD card
2018-09-10 22:09:35 -05:00
Alex Barney
01f5ed7ccf
Update usage text
2018-09-09 20:48:17 -05:00
Alex Barney
a1668b2214
Update KEYS.md
2018-09-09 20:27:59 -05:00
Alex Barney
c4117aa85f
Update save names for reading tickets
2018-09-09 20:18:33 -05:00
Alex Barney
c04ae4c7c0
Make GenerateKek signature match similar functions'
2018-09-09 17:10:03 -05:00
Alex Barney
3db06782a2
Split up key derivation functions
2018-09-09 17:07:45 -05:00
Alex Barney
310664970c
More key derivation
...
Decrypt keyblobs and derive master keys
Derive device_key and bis_key_XX
2018-09-07 16:27:33 -05:00
Alex Barney
643d603732
Add project information to csproj file
2018-09-03 21:23:47 -05:00