mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
whoops, a debug statement is leaking private info. nuke that.
This commit is contained in:
parent
d68e3c229d
commit
7b3c928429
1 changed files with 2 additions and 1 deletions
|
|
@ -1226,7 +1226,8 @@ impl<'a> RootKeys {
|
||||||
.zip(self.read_staged_key_256(KeyRomLocs::SELFSIGN_PUBKEY).iter()) {
|
.zip(self.read_staged_key_256(KeyRomLocs::SELFSIGN_PUBKEY).iter()) {
|
||||||
*key = src;
|
*key = src;
|
||||||
}
|
}
|
||||||
log::info!("keypair_bytes {:x?}", keypair_bytes);
|
#[cfg(feature = "hazardous-debug")]
|
||||||
|
log::debug!("keypair_bytes {:x?}", keypair_bytes);
|
||||||
// Keypair zeroizes the secret key on drop.
|
// Keypair zeroizes the secret key on drop.
|
||||||
let keypair = Keypair::from_bytes(&keypair_bytes).map_err(|_| RootkeyResult::KeyError)?;
|
let keypair = Keypair::from_bytes(&keypair_bytes).map_err(|_| RootkeyResult::KeyError)?;
|
||||||
#[cfg(feature = "hazardous-debug")]
|
#[cfg(feature = "hazardous-debug")]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue