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
93afb840ca
Rename libhac to LibHac
2018-08-31 10:50:28 -05:00
Alex Barney
12b2825475
Redo SectorStream classes
2018-08-30 16:18:27 -05:00
Alex Barney
7f016f875b
Fix regression caused by decrypting multiple AES blocks at a time
2018-08-28 13:49:55 -05:00
Alex Barney
dcb25713ba
Streams should be able to seek past the end
2018-08-28 13:19:20 -05:00
Alex Barney
38dca5c526
Add romfs support to CLI
2018-08-28 12:33:24 -05:00
Alex Barney
9276a213bc
Accept all keys from both prod.keys and console.keys
2018-08-27 20:09:23 -05:00
Alex Barney
e7f5702477
Generate keys from master key + source
2018-08-27 17:40:06 -05:00
Alex Barney
f5d0e547e2
Fix bktr crypto regression
2018-08-25 16:46:08 -05:00
Alex Barney
d7929fc458
Use .NET 4.6+ built-in RSA-OAEP decryption
2018-08-25 11:42:33 -05:00
Alex Barney
d701fdd28b
Add null check when creating Bktr
2018-08-25 11:37:22 -05:00
Alex Barney
1dc232e704
Use savefile reader to get tickets from NAND
2018-08-24 18:27:04 -05:00
Alex Barney
80cf0b43fb
Use SharedStreams with savefile reading. Fixes #4
2018-08-24 18:22:48 -05:00
Alex Barney
26bf0876cb
Rewrite AES CTR classes to give a 6-8x overall speedup
2018-08-24 17:01:27 -05:00
Alex Barney
35475ac5a8
Move streams to Streams namespace
2018-08-23 11:28:45 -05:00
Alex Barney
02464eaa60
Use SharedStreams for PartitionFS and RomFS
2018-08-23 11:23:11 -05:00
Alex Barney
a68426751f
Introduce multi-instance, thread-safe streams
...
Previously multiple streams could share the same base stream. This meant that you couldn't alternate between streams. If you read from one stream, the state of other streams sharing the same base stream would be messed up and would silently return bad data.
This commit introduces a SharedStream class that allows multiple SharedStreams to share the same base class and not interfere with each other.
2018-08-22 15:54:34 -05:00
Alex Barney
dce63507d1
Merge pull request #3 from CaitSith2/master
...
hactool uses both comma AND equal for seperators on all key sets.
2018-08-22 13:21:00 -06:00
Alex Barney
8032d3d46a
Workaround save files containing duplicate filenames
2018-08-22 09:57:47 -05:00
caitsith2
8cf0169626
hactool uses both comma AND equal for seperators on all key sets.
2018-08-22 07:55:31 -07:00
Alex Barney
de53449dac
Add ExeFS detection
2018-08-15 16:33:45 -06:00
Alex Barney
1e813818c0
Add support for extracting XCI partitions
2018-08-14 17:21:07 -06:00
Alex Barney
60a8a7b2d3
Read XCI header
2018-08-12 14:45:10 -06:00
Alex Barney
55031755a8
Add ability to create NSP files from SD card contents
2018-08-02 22:14:58 -05:00
Alex Barney
d84c406655
Parse entire NACP file
2018-08-02 18:46:27 -05:00
Alex Barney
46cfb2f948
Read correct duplex data
2018-07-24 18:50:41 -05:00
Alex Barney
a6a9392047
Account for empty files
2018-07-24 15:06:12 -05:00
Alex Barney
f074d89d46
Read and extract core save file system
2018-07-24 14:51:52 -05:00
Alex Barney
b0cac269f3
Read all remapping and journaling savefile layers
2018-07-22 20:28:31 -05:00
Alex Barney
2f00192cc7
Fix RemapStream bug
2018-07-21 22:25:55 -05:00
Alex Barney
83323b58c3
Validate save header hash
2018-07-21 22:05:57 -05:00
Alex Barney
8eeed95639
Process the remapping layer of save data
2018-07-19 18:31:35 -05:00
Alex Barney
5c3e4af4be
Add nand reader sample for reading title keys
2018-07-14 15:48:41 -05:00
Alex Barney
c44659ca17
Get title keys from a nand dump
2018-07-13 10:25:39 -05:00
Alex Barney
f1b660b95f
Add IFileSystem interface
...
I don't know about this. It seems really easy to screw something up.
Allows using the same code for reading the raw nand and reading a normal file system
2018-07-11 20:03:09 -05:00
Alex Barney
14da035273
Do initial bktr section validation
2018-07-10 17:16:25 -05:00
Alex Barney
1b595ebffd
Make key names hex, not decimal
2018-07-10 16:38:28 -05:00
Alex Barney
c7e822d46f
Parse calibration partition
2018-07-10 16:37:57 -05:00
Alex Barney
5e678ddb06
Extract tickets from nand
2018-07-09 18:34:46 -05:00
Alex Barney
ace593a19d
Read console-unique keys
2018-07-09 11:47:44 -05:00
Alex Barney
346e50b949
Support reading patched titles from the SD card
2018-07-07 17:47:03 -05:00
Alex Barney
18bb3d8531
First attempt at implementing BKTR
2018-07-07 15:45:06 -05:00
Alex Barney
57103c0e0b
Improve finding a title's main RomFS
2018-07-05 21:37:46 -05:00
Alex Barney
c4efec762f
Mimic hactool output. Verify hashes
2018-07-05 16:37:30 -05:00
Alex Barney
20be7206a0
Add basic CLI functionality
2018-07-02 21:23:07 -05:00
Alex Barney
79b09267e6
Begin command line tool
2018-07-02 15:12:41 -05:00