Update src/core/file_format/pkg.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
georgemoralis 2024-02-29 12:39:03 +02:00 committed by GitHub
parent 66486248ec
commit 3a7200dbac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ bool PKG::Extract(const std::string& filepath, const std::filesystem::path& extr
}
for (int i = 0; i < 7; i++) {
file.ReadRaw<u8>(key1[i].data(), key1[i].size());
file.Read(key1);
}
PKG::crypto.RSA2048Decrypt(dk3_, key1[3], true); // decrypt DK3