diff --git a/services/root-keys/src/main.rs b/services/root-keys/src/main.rs index f81194151..5b606dbd3 100644 --- a/services/root-keys/src/main.rs +++ b/services/root-keys/src/main.rs @@ -147,8 +147,9 @@ mod implementation { pub fn update_policy(&mut self, policy: Option) { log::info!("policy updated: {:?}", policy); } - pub fn hash_and_save_password(&mut self, pw: &str, _verify: bool) { + pub fn hash_and_save_password(&mut self, pw: &str, _verify: bool) -> bool { log::info!("got password plaintext: {}", pw); + true } pub fn set_ux_password_type(&mut self, cur_type: Option) { self.password_type = cur_type; @@ -197,6 +198,7 @@ mod implementation { } pub fn purge_password(&mut self, _ptype: PasswordType) {} pub fn purge_user_password(&mut self, _ptype: AesRootkeyType) {} + pub fn purge_sensitive_data(&mut self) {} pub fn get_ux_password_type(&self) -> Option {self.password_type} pub fn finish_key_init(&mut self) {}