mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
Fix bug where NCA header key was not imported.
This commit is contained in:
parent
ebdf0211f4
commit
b827cea828
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ void nstool::KeyBagInitializer::importBaseKeyFile(const tc::io::Path& keyfile_pa
|
||||||
{
|
{
|
||||||
// nca header key
|
// nca header key
|
||||||
//fmt::print("{:s}_{:s}\n", kContentArchiveHeaderBase[name_idx], kKeyStr);
|
//fmt::print("{:s}_{:s}\n", kContentArchiveHeaderBase[name_idx], kKeyStr);
|
||||||
//_SAVE_AES128XTSKEY(fmt::format("{:s}_{:s}", kContentArchiveHeaderBase[name_idx], kKeyStr), nca_header_key);
|
_SAVE_AES128XTSKEY(fmt::format("{:s}_{:s}", kContentArchiveHeaderBase[name_idx], kKeyStr), nca_header_key);
|
||||||
|
|
||||||
// nca header sign0 key (generations)
|
// nca header sign0 key (generations)
|
||||||
for (size_t keygen_rev = 0; keygen_rev < kKeyGenerationNum; keygen_rev++)
|
for (size_t keygen_rev = 0; keygen_rev < kKeyGenerationNum; keygen_rev++)
|
||||||
|
|
Loading…
Reference in a new issue