search for: grab_tries

Displaying 2 results from an estimated 2 matches for "grab_tries".

2012 Jan 13
0
[PATCH 1/1] Ported gnome-ssh-askpass2 to gtk3.
...B_SERVER=true" then gnome-ssh-askpass will grab + * the X server. If you set "GNOME_SSH_ASKPASS_GRAB_POINTER=true", then the + * pointer will be grabbed too. These may have some benefit to security if + * you don't trust your X server. We grab the keyboard always. + */ + +#define GRAB_TRIES 16 +#define GRAB_WAIT 250 /* milliseconds */ + +/* + * Compile with: + * + * cc -Wall `pkg-config --cflags gtk+-3.0` \ + * gnome-ssh-askpass3.c -o gnome-ssh-askpass \ + * `pkg-config --libs gtk+-3.0` + * + */ + +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#...
2007 Nov 22
3
[PATCH] one-time ssh-agent confirmation password
The patch (against 4.7p1) modifies gnome-ssh-askpass to optionally generate a one-time password and transmits it to the user via an out-of-band communication channel. If you can read the password and enter it back into the gnome-ssh-askpass dialog, ssh-agent is allowed to continue with the authentication process. There are two ways to use the modified gnome-ssh-askpass. The first