forked from ShuriZma/suyu
1
0
Fork 0

content_archive: Move get key log to Trace level

Avoids printing live keys in the general log.
This commit is contained in:
Zach Hilman 2018-10-05 09:19:35 -04:00
parent 2946d4bdbe
commit 90c07e0d33
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ boost::optional<Core::Crypto::Key128> NCA::GetKeyAreaKey(NCASectionCryptoType ty
static_cast<u8>(type)); static_cast<u8>(type));
u128 out_128{}; u128 out_128{};
memcpy(out_128.data(), out.data(), 16); memcpy(out_128.data(), out.data(), 16);
LOG_DEBUG(Crypto, "called with crypto_rev={:02X}, kak_index={:02X}, key={:016X}{:016X}", LOG_TRACE(Crypto, "called with crypto_rev={:02X}, kak_index={:02X}, key={:016X}{:016X}",
master_key_id, header.key_index, out_128[1], out_128[0]); master_key_id, header.key_index, out_128[1], out_128[0]);
return out; return out;