search for: rpp_echo_on

Displaying 9 results from an estimated 9 matches for "rpp_echo_on".

2004 Jan 06
1
Keychain Patch Try II
...enssh-3.7p1/readpass.c Thu Jan 23 16:36:23 2003 @@ -99,7 +99,7 @@ char * read_passphrase(const char *prompt, int flags) { - char *askpass = NULL, *ret, buf[1024], response; + char *askpass = NULL, *ret, buf[1024]; int rppflags, use_askpass = 0, ttyfd; rppflags = (flags & RP_ECHO) ? RPP_ECHO_ON : RPP_ECHO_OFF; @@ -126,60 +126,13 @@ return ret; } - /* Before reading the passphrase from the user, find it in the - keychain. */ -#ifdef USE_KEYCHAIN - if (get_passphrase_from_keychain(prompt, buf, sizeof buf) == 0) { - /* We got the password; do nothing now that it's in...
2002 May 02
0
[Bug 234] New: OpenSSH does not compile on OpenBSD 3.1
...al Priority: P1 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: krh at lemniscate.net When trying to compile recent OpenSSH-portable snapshots on OpenBSD 3.1, I get: readpass.c: In function `read_passphrase': readpass.c:100: `RPP_ECHO_ON' undeclared (first use in this function) readpass.c:100: (Each undeclared identifier is reported only once readpass.c:100: for each function it appears in.) readpass.c:100: `RPP_ECHO_OFF' undeclared (first use in this function) readpass.c:105: `RPP_REQUIRE_TTY' undeclared (first use in...
2001 Jun 28
1
`_POSIX_VDISABLE' undeclared
Dear developpers, I'm using OpenSSH_2.9p1 with prngd on my Sony NEWS-OS 4.2.1R. NEWS-OS 4.x is based on 4.3BSD and lack of many POSIX and ANSI features. Today I tried to make the latest openssh_cvs and got the following error, gcc -g -O2 -Wall -O -I. -I.. -I. -I./.. -I/usr/local/ssl/include -DHAVE_CONFIG_H -c readpassphrase.c readpassphrase.c: In function `readpassphrase':
2004 Apr 12
1
Regarding SSH_ASKPASS
...is for open(_PATH_TTY, O_RDWR) to fail. But /dev/tty is a+rw in the normal case. >From readpass.c: char * read_passphrase(const char *prompt, int flags) { char *askpass = NULL, *ret, buf[1024]; int rppflags, use_askpass = 0, ttyfd; rppflags = (flags & RP_ECHO) ? RPP_ECHO_ON : RPP_ECHO_OFF; if (flags & RP_ALLOW_STDIN) { if (!isatty(STDIN_FILENO)) use_askpass = 1; } else { rppflags |= RPP_REQUIRE_TTY; ttyfd = open(_PATH_TTY, O_RDWR); if (ttyfd >= 0)...
2001 Oct 18
0
Patch for hanging ssh-add under Solaris CDE
..._T_FLUSH (TCSAFLUSH) -#endif - char * readpassphrase(prompt, buf, bufsiz, flags) const char *prompt; @@ -102,13 +96,13 @@ term.c_cc[VSTATUS] = _POSIX_VDISABLE; } #endif - (void)tcsetattr(input, _T_FLUSH, &term); + (void)tcsetattr(input, TCSANOW, &term); } if (!(flags & RPP_ECHO_ON)) { if (tcgetattr(input, &term) == 0 && (term.c_lflag & ECHO)) { echo = 1; term.c_lflag &= ~ECHO; - (void)tcsetattr(input, _T_FLUSH, &term); + (void)tcsetattr(input, TCSANOW, &term); } } @@ -141,7 +135,7 @@ if (status != _POSIX_VDISABLE) term...
2007 Sep 17
2
No subject
...cification, expecting identifier, found `)' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode In file included from readpass.c:42: xmalloc.h:26: warning: `__nonnull__' attribute directive ignored readpass.c: In function `read_passphrase': readpass.c:119: `RPP_ECHO_ON' undeclared (first use in this function) readpass.c:119: (Each undeclared identifier is reported only once readpass.c:119: for each function it appears in.) readpass.c:119: `RPP_ECHO_OFF' undeclared (first use in this function) readpass.c:128: `RPP_REQUIRE_TTY' undeclared (first use in...
2004 Oct 03
3
[PATCH] PreferAskpass in ssh_config
...quot;pathnames.h" #include "log.h" #include "ssh.h" +#include "readconf.h" + +extern Options options; static char * ssh_askpass(char *askpass, const char *msg) @@ -103,7 +106,9 @@ int rppflags, use_askpass = 0, ttyfd; rppflags = (flags & RP_ECHO) ? RPP_ECHO_ON : RPP_ECHO_OFF; - if (flags & RP_USE_ASKPASS) + if (flags & RP_USE_ASKPASS || + (options.prefer_askpass && getenv(SSH_ASKPASS_ENV) && + !(flags & RP_ECHO))) use_askpass = 1; else if (flags & RP_ALLOW_STDIN) { if (!isatty(STDIN_FILENO)) Index: ssh-add.c =...
2008 Aug 29
7
[Bug 69] Generalize SSH_ASKPASS
https://bugzilla.mindrot.org/show_bug.cgi?id=69 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Alias| |generalised-askpass -- Configure bugmail:
2001 Oct 12
17
Please test snapshots for 3.0 release
Could everyone please test the latest snapshots as we will be making a new release soon. If you have any patches you would like us to consider, please resend them to the list ASAP. -d -- | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's | http://www.mindrot.org / distributed filesystem'' - Dan Geer