Browse Source

content_archive: Move get key log to Trace level

Avoids printing live keys in the general log.
pull/15/merge
Zach Hilman 7 years ago
parent
commit
90c07e0d33
  1. 2
      src/core/file_sys/content_archive.cpp

2
src/core/file_sys/content_archive.cpp

@ -133,7 +133,7 @@ boost::optional<Core::Crypto::Key128> NCA::GetKeyAreaKey(NCASectionCryptoType ty
static_cast<u8>(type));
u128 out_128{};
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]);
return out;

Loading…
Cancel
Save