rutwa189 / rpms / openssh

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