jonathancammack / rpms / openssh

Forked from rpms/openssh 8 months ago
Clone

Blame SOURCES/openssh-4.3p2-askpass-grab-info.patch

943807
diff -up openssh-8.6p1/contrib/gnome-ssh-askpass2.c.grab-info openssh-8.6p1/contrib/gnome-ssh-askpass2.c
943807
--- openssh-8.6p1/contrib/gnome-ssh-askpass2.c.grab-info	2021-04-19 13:57:11.720113536 +0200
943807
+++ openssh-8.6p1/contrib/gnome-ssh-askpass2.c	2021-04-19 13:59:29.842163204 +0200
943807
@@ -70,8 +70,12 @@ report_failed_grab (GtkWidget *parent_wi
943807
 
943807
 	err = gtk_message_dialog_new(GTK_WINDOW(parent_window), 0,
943807
 	    GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
943807
-	    "Could not grab %s. A malicious client may be eavesdropping "
943807
-	    "on your session.", what);
943807
+	    "SSH password dialog could not grab the %s input.\n"
943807
+	    "This might be caused by application such as screensaver, "
943807
+	    "however it could also mean that someone may be eavesdropping "
943807
+	    "on your session.\n"
943807
+	    "Either close the application which grabs the %s or "
943807
+	    "log out and log in again to prevent this from happening.", what, what);
943807
 	gtk_window_set_position(GTK_WINDOW(err), GTK_WIN_POS_CENTER);
943807
 
943807
 	gtk_dialog_run(GTK_DIALOG(err));