rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone

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

3e8b5b
diff -up openssh-7.4p1/contrib/gnome-ssh-askpass2.c.grab-info openssh-7.4p1/contrib/gnome-ssh-askpass2.c
3e8b5b
--- openssh-7.4p1/contrib/gnome-ssh-askpass2.c.grab-info	2016-12-23 13:31:22.645213115 +0100
3e8b5b
+++ openssh-7.4p1/contrib/gnome-ssh-askpass2.c	2016-12-23 13:31:40.997216691 +0100
3e8b5b
@@ -65,9 +65,12 @@ report_failed_grab (GtkWidget *parent_wi
3e8b5b
 	err = gtk_message_dialog_new(GTK_WINDOW(parent_window), 0,
3e8b5b
 				     GTK_MESSAGE_ERROR,
3e8b5b
 				     GTK_BUTTONS_CLOSE,
3e8b5b
-				     "Could not grab %s. "
3e8b5b
-				     "A malicious client may be eavesdropping "
3e8b5b
-				     "on your session.", what);
3e8b5b
+				     "SSH password dialog could not grab the %s input.\n"
3e8b5b
+				     "This might be caused by application such as screensaver, "
3e8b5b
+				     "however it could also mean that someone may be eavesdropping "
3e8b5b
+				     "on your session.\n"
3e8b5b
+				     "Either close the application which grabs the %s or "
3e8b5b
+				     "log out and log in again to prevent this from happening.", what, what);
3e8b5b
 	gtk_window_set_position(GTK_WINDOW(err), GTK_WIN_POS_CENTER);
3e8b5b
 
3e8b5b
 	gtk_dialog_run(GTK_DIALOG(err));