summaryrefslogtreecommitdiff
path: root/backport-openssh-4.3p2-askpass-grab-info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'backport-openssh-4.3p2-askpass-grab-info.patch')
-rw-r--r--backport-openssh-4.3p2-askpass-grab-info.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/backport-openssh-4.3p2-askpass-grab-info.patch b/backport-openssh-4.3p2-askpass-grab-info.patch
new file mode 100644
index 0000000..5a21289
--- /dev/null
+++ b/backport-openssh-4.3p2-askpass-grab-info.patch
@@ -0,0 +1,19 @@
+diff -up openssh-8.6p1/contrib/gnome-ssh-askpass2.c.grab-info openssh-8.6p1/contrib/gnome-ssh-askpass2.c
+--- openssh-8.6p1/contrib/gnome-ssh-askpass2.c.grab-info 2021-04-19 13:57:11.720113536 +0200
++++ openssh-8.6p1/contrib/gnome-ssh-askpass2.c 2021-04-19 13:59:29.842163204 +0200
+Reference:https://src.fedoraproject.org/rpms/openssh/blob/rawhide/f/backport-openssh-4.3p2-askpass-grab-info.patch
+@@ -70,8 +70,12 @@ report_failed_grab (GtkWidget *parent_wi
+
+ err = gtk_message_dialog_new(GTK_WINDOW(parent_window), 0,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
+- "Could not grab %s. A malicious client may be eavesdropping "
+- "on your session.", what);
++ "SSH password dialog could not grab the %s input.\n"
++ "This might be caused by application such as screensaver, "
++ "however it could also mean that someone may be eavesdropping "
++ "on your session.\n"
++ "Either close the application which grabs the %s or "
++ "log out and log in again to prevent this from happening.", what, what);
+ gtk_window_set_position(GTK_WINDOW(err), GTK_WIN_POS_CENTER);
+
+ gtk_dialog_run(GTK_DIALOG(err));