fix: audit fix — reduce password copies in memory (v0.8.4)

- attempt_login takes Zeroizing<String> by value, eliminating the redundant
  Zeroizing::new(password.to_string()) that doubled the Rust-owned copy.
- Clear password_entry's internal buffer immediately after extracting the
  password, shortening the window during which the GTK GString persists in
  non-zeroizable libc memory.
This commit is contained in:
2026-04-24 12:52:59 +02:00
parent 48d363bb18
commit 35f1a17cdf
4 changed files with 15 additions and 5 deletions
Generated
+1 -1
View File
@@ -575,7 +575,7 @@ dependencies = [
[[package]]
name = "moongreet"
version = "0.8.3"
version = "0.8.4"
dependencies = [
"gdk-pixbuf",
"gdk4",