[gtk/ebassi/secure-buffer: 6/6] docs: Add a note on GtkPasswordEntry's secure storage




commit ae97284409d40317c034f683b7b19050a388c2a6
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Sep 8 23:40:44 2020 +0100

    docs: Add a note on GtkPasswordEntry's secure storage

 gtk/gtkpasswordentry.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c
index dfef768135..a9fbd6f30b 100644
--- a/gtk/gtkpasswordentry.c
+++ b/gtk/gtkpasswordentry.c
@@ -42,7 +42,10 @@
  *
  * #GtkPasswordEntry is entry that has been tailored for entering secrets.
  * It does not show its contents in clear text, does not allow to copy it
- * to the clipboard, and it shows a warning when Caps Lock is engaged.
+ * to the clipboard, and it shows a warning when Caps Lock is engaged. If
+ * the underlying platform allows it, GtkPasswordEntry will also place the
+ * text in a non-pageable memory area, to avoid it being written out to
+ * disk by the operating system.
  *
  * Optionally, it can offer a way to reveal the contents in clear text.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]