From 03b10ea83a913fa29200e33ebc9e16cd433187b7 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 21 May 2026 21:28:54 +0200 Subject: [PATCH] feat: remove key fingerprint from Context.get_info() This info is added at the top of the logs and we don't want users to send us the logs with the key fingerprint for debugging, it is not really useful but identifies the profile. --- src/context.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/context.rs b/src/context.rs index 2eb37cb7d..9c8f9a0cf 100644 --- a/src/context.rs +++ b/src/context.rs @@ -880,10 +880,6 @@ impl Context { .sql .count("SELECT COUNT(*) FROM public_keys;", ()) .await?; - let fingerprint_str = match self_fingerprint(self).await { - Ok(fp) => fp.to_string(), - Err(err) => format!(""), - }; let mut res = get_info(); @@ -962,7 +958,6 @@ impl Context { res.insert("disable_idle", disable_idle.to_string()); res.insert("private_key_count", prv_key_cnt.to_string()); res.insert("public_key_count", pub_key_cnt.to_string()); - res.insert("fingerprint", fingerprint_str); res.insert( "media_quality", self.get_config_int(Config::MediaQuality).await?.to_string(),