Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
linux: Fix KeePassXC integration via org.freedesktop.Secrets (#33026)
Artem Zhurikhin67ac80bd19eb
diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rsindex ddb7f7918e3..180ff065c21 100644--- a/crates/gpui/src/platform/linux/platform.rs+++ b/crates/gpui/src/platform/linux/platform.rs@@ -491,6 +491,7 @@ impl<P: LinuxClient + 'static> Platform for P {let username = attributes.get("username").context("Cannot find username in stored credentials")?;+ item.unlock().await?;let secret = item.secret().await?;// we lose the zeroizing capabilities at this boundary,