Michael Scire
3121a5bf08
pki: implement mariko key derivation
2020-06-01 17:14:12 -07:00
Michael Scire
c3415cf25e
pk11: add proper support for newer (and mariko) package1
2020-06-01 02:19:40 -07:00
Michael Scire
575845f5e7
add support for 9.x NCA fixed-key, use loop instead of recursion to parse romfs
2020-03-18 11:05:17 -07:00
Michael Scire
eef1139b82
add support for 9.x+ new ACID keys
2020-02-21 14:00:47 -08:00
Michael Scire
55e625d67d
fix npdm output, modern keygen
2020-01-15 02:06:03 -08:00
shchmue
b8062ab149
Add save MAC key derivation
2019-06-03 18:16:14 -04:00
Michael Scire
dc6fbd927e
new key support. TODO: new pk11 support
2019-03-03 10:03:30 -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
0388e1bdaa
Implement support for 6.2.0+ keygen.
2018-11-24 01:01:30 -08:00
Lioncash
29e27ee831
Mark identifiers as internally linked where appropriate
...
Makes it more obvious which parts are only used within the translation
unit, and which functions are part of the exposed interface in the
headers (and also has the benefit of allowing better
inlining/optimizing)
2018-08-11 22:49:22 -04:00
Michael Scire
809b5442ff
s/encrypted_header_key/header_key_source
2018-07-20 03:06:19 -07:00
Michael Scire
2e87aa8a73
Fix XTS/NCA2 support. Add NCA0 support.
2018-07-20 03:03:35 -07:00
SciresM
e99828712c
Merge pull request #20 from roblabla/bugfix-pk1key
...
Allow deriving package1_key from keyblob alone
2018-05-09 19:18:10 -07:00
roblabla
a762ff9e99
Allow deriving package1_key from keyblob alone
2018-05-10 00:48:28 +02: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
9276b1c09b
Cleanup pki.c, fix readme.md, fix usage statement.
2018-04-26 00:18:34 -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
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
c25a188f1e
Add support for deriving keys from master key + seeds ( #6 )
2018-02-02 20:57:24 -08:00