Displaying 5 results from an estimated 5 matches for "passphrase_dialog".
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
2012 Jan 13
0
[PATCH 1/1] Ported gnome-ssh-askpass2 to gtk3.
...osition(GTK_WINDOW(err), GTK_WIN_POS_CENTER);
+
+ gtk_dialog_run(GTK_DIALOG(err));
+
+ gtk_widget_destroy(err);
+}
+
+static void
+ok_dialog(GtkWidget *entry, gpointer dialog)
+{
+ g_return_if_fail(GTK_IS_DIALOG(dialog));
+ gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
+}
+
+static int
+passphrase_dialog(char *message)
+{
+ const char *failed;
+ char *passphrase, *local;
+ int result, grab_tries, grab_server, grab_pointer;
+ GtkWidget *dialog, *entry;
+ GdkGrabStatus status;
+
+ grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL);
+ grab_pointer = (getenv("GNOME_SSH_ASKPA...
2000 May 31
0
gnome-ssh-askpass patch
...E);
gdk_keyboard_ungrab(GDK_CURRENT_TIME);
gdk_flush();
@@ -119,9 +119,9 @@
gnome_init("GNOME ssh-askpass", "0.1", argc, argv);
- if (argc == 2)
+ /* if (argc == 2)
message = argv[1];
- else
+ else */
message = "Enter your OpenSSH passphrase:";
if (passphrase_dialog(&passphrase, message))
2003 Oct 29
2
OpenSSH and Redhat 8
John,
The following steps should work for you (or anyone buildling on a
RedHat box):
1) Get the official OpenSSH source RPM from
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/rpm/SRPMS/openssh-3.7.1p2-1.src.rpm
2) Do 'rpmbuild --rebuild ./openssh-3.7.1p2-1.src.rpm' from where you
saved the file.
3) This should create the following files in /usr/src/redhat/RPMS/i386:
1999 Nov 23
2
Fixes for Solaris
...==========================================================
RCS file: /var/cvs/openssh/gnome-ssh-askpass.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gnome-ssh-askpass.c 1999/11/22 01:51:42 1.3
+++ gnome-ssh-askpass.c 1999/11/22 11:42:17 1.4
@@ -117,7 +117,7 @@
if (passphrase_dialog(&passphrase, message))
{
- printf("%s\n", passphrase);
+ puts(passphrase);
memset(passphrase, '\0', strlen(passphrase));
}
Index: ssh-add.c
===================================================================
RCS file: /var/cvs/openssh/ssh-add.c,v
retrieving revisio...