Commit graph

24 commits

Author SHA1 Message Date
Michael Scire
8017a7a6b6 hactool: commit whatever I had in my working dir, 17.0.0 needs new pk2 parsing 2023-10-10 18:32:09 -07:00
Michael Scire
32c26a12ad extkeys: support backwards-compat hack for importing older keys in mariko-style 2021-01-17 22:51:52 -08:00
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
e37d4d2da2 Fix trailing spaces 2020-01-15 02:07:22 -08:00
Jack
1beb568207 Add support for importing xci_header_key 2019-11-01 12:21:12 +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
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
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
SciresM
f9e37fb05c
Merge pull request #40 from lioncash/memset
extkeys: Correct memset zeroing in extkeys_initialize_keyset()
2018-08-11 18:53:40 -07:00
Lioncash
4719beb055 extkeys: Correct memset zeroing in extkeys_initialize_keyset()
sizeof(100) will evaluate to 4, so this wasn't zeroing out the whole
array (which is likely what was intended here). Instead, we can use a
braced initializer to perform the desirable behavior here.
2018-08-11 21:14:23 -04:00
Lioncash
70166c1e5f extkeys: Correct logical ANDs in get_kv()
These two expressions would always be false as both sides of the
expression would never be satisfied at the same time.
2018-08-11 21:10:30 -04:00
Michael Scire
bdbd4f639e Fix bugs in BKTR romfs parsing, keyfile parsing 2018-07-26 12:19:00 -07:00
Michael Scire
37e368b87b Add support for loading external titlekeys file (title.keys) 2018-07-23 22:16:26 -07: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
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
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
c029db1363 Implement support for external keys (closes #6) 2018-02-06 00:04:27 -08:00