search for: readpassphrase

Displaying 20 results from an estimated 58 matches for "readpassphrase".

2001 Jun 28
1
`_POSIX_VDISABLE' undeclared
...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': readpassphrase.c:89: `_POSIX_VDISABLE' undeclared (first use this function) readpassphrase.c:89: (Each undeclared identifier is reported only once readpassphrase.c:89: for each function it appears in.) readpassphrase.c:54: warning: `status...
2001 Oct 26
5
New password echoes on Sol8
I tried replacing readpassphrase() for v2.9.9p2 on Sol8 with a different version that just calls getpassphrase(). It appears to solve the echo problem when the user tries to login in interactive mode and needs to change their password. Can anyone else try this with v2.9.9p2 on Solaris? Be sure to add: #define HAVE_GETPASSPHRAS...
2003 Feb 04
0
[PATCH] openssh-3.5p1: restore SIGTTOU in readpassphrase()
this line seemed to have been dropped somewhere b/w 3.1 and 3.5 --- openssh-3.5p1/openbsd-compat/readpassphrase.c.orig Tue Sep 10 20:29:13 2002 +++ openssh-3.5p1/openbsd-compat/readpassphrase.c Tue Feb 4 08:30:06 2003 @@ -152,6 +152,7 @@ (void)sigaction(SIGTERM, &saveterm, NULL); (void)sigaction(SIGTSTP, &savetstp, NULL); (void)sigaction(SIGTTIN, &savettin, NULL);...
2002 Apr 29
9
[Bug 230] UsePrivilegeSeparation turns off Banner.
http://bugzilla.mindrot.org/show_bug.cgi?id=230 ------- Additional Comments From krh at lemniscate.net 2002-04-29 10:53 ------- I should add that I also have PrintMotd off so that the motd is printed only once, and yes, I am connecting with the SSH 2 protocol. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2002 Aug 02
3
[Bug 377] New: Reduce compiler warnings. Use unsigned args to the ctype.h is*() macros.
...9; inet_aton.c:131: warning: subscript has type `char' inet_aton.c:133: warning: subscript has type `char' inet_aton.c:155: warning: subscript has type `char' match.c:138: warning: subscript has type `char' mktemp.c:168: warning: subscript has type `char' readpassphrase.c:123: warning: subscript has type `char' scp.c:758: warning: subscript has type `char' sshconnect.c:834: warning: subscript has type `char' Given the possibility of characters outside of the 0 thru 0x7f range and the implementation of the is*() macros as using an index into an...
2001 Oct 18
0
Patch for hanging ssh-add under Solaris CDE
...I assume so people can use "stty" to set their preferred settings) but is not attached to anything that can actually accept user input. Those of you with Solaris can reproduce with DTSOURCEPROFILE=true /usr/dt/bin/sdt_shell -c ssh-add I discovered that the problem was that the new readpassphrase() function is flushing (that is, discarding) the terminal input but the old function cli_read_passphrase() did not. When input is not flushed, then ssh-add gets an immediate end of file and exits. When the input is flushed, a subsequent read from stdin hangs. I see by truss that sdt_shell is ac...
2003 Sep 24
1
[Bug 711] 3.7.1p2 does not compile on redhat 5.1
...ity: normal Priority: P2 Component: Build system AssignedTo: openssh-bugs at mindrot.org ReportedBy: john at firstbase.com ./configure [snip] makegcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/ssl/include -DHAVE_CONFIG_H -c readpassphrase.c readpassphrase.c: In function `readpassphrase': readpassphrase.c:117: warning: implicit declaration of function `write' readpassphrase.c:119: warning: implicit declaration of function `read' [snip] ranlib libopenbsd-compat.a make[1]: Leaving directory `/usr/local/src/openssh-3.7.1p2...
2016 Sep 27
10
[Bug 2619] New: infinite loop, 100% cpu use in ssh if ^Z is pressed at password prompt
...er change or create a test login with /bin/sh as login shell (should work regarding shell) 2. "ssh user at localhost" and login 3. "sftp user at localhost" and press ^Z in the password prompt A few times it will work. It depends a bit on what code is being executed in the readpassphrase function, at openbsd-compat/readpassphrase.c in the openssh code. It has been verified that exec'ing again /bin/sh with --posix before running sftp, or exporting the environment variable POSIXLY_CORRECT before the "ssh user at localhost" step prevents the problem. So, while the prob...
2001 Sep 28
0
openssh-2.9.9p2 subscript violation problems with ctype macros
...m> * canohost.c (get_remote_hostname): Don't pass negative chars to ctype macros. * match.c (match_hostname): Likewise. * openbsd-compat/base64.c (b64_ntop): Likewise. * openbsd-compat/inet_aton.c (inet_aton): Likewise. * openbsd-compat/mktemp.c (_gettemp): Likewise. * openbsd-compat/readpassphrase.c (readpassphrase): Likewise. * scp.c (sink): Likewise. * sshconnect.c (sshconnect.c): Likewise. =================================================================== RCS file: canohost.c,v retrieving revision 2.9.9.2 retrieving revision 2.9.9.2.0.1 diff -pu -r2.9.9.2 -r2.9.9.2.0.1 --- canohost.c...
2002 Jan 27
1
Strange read_passphrase behaviour ?
Hi, I'm sorry if this has already come up on the list, I did a quick search of the archive and didn't notice it. I noticed IMHO strange behavior in read_passphrase: If readpassphrase returns NULL and sets errno to ENOTTY, then read_passphrase returns an empty passphrase to the caller instead of error, now what happens with password authentication is that if readpassphrase fails every time then ssh sends 3 empty passwords to the server. Is this the expected behaviour ? -Jarno...
2002 Jun 28
0
[Bug 314] New: switch to READPASSPHRASE_H to avoid conflicts with exiisting headers
http://bugzilla.mindrot.org/show_bug.cgi?id=314 Summary: switch to READPASSPHRASE_H to avoid conflicts with exiisting headers Product: Portable OpenSSH Version: -current Platform: Other OS/Version: FreeBSD Status: NEW Severity: normal Priority: P2 Component: Build system...
2005 Dec 01
0
[PATCH] Janitor duties
...files in openbsd-compat/ since "includes.h" is included prior to the others and therefore includes the headers first. Is it OK, or is it a design decision to have the includes specific to the c-files in the c-files as well? There is also the correction of an error. In openbsd-compat/readpassphrase.c there was #ifndef HAVE_READPASSPHRASE #include <termios.h> #include <readpassphrase.h> I changed <readpassphrase.h> to "readpassphrase.h". Cheers Johan Gill -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: openb...
2004 Jan 06
1
Keychain Patch Try II
...The patch is against the 3.7p1 release because that's the code I was using. If it's doesn't incorporate well into whatever you are working on now, let me know, and I'll try to get something from your CVS repositories and diff against that. (I don't think, however, that the readpassphrase portion of the code is changing much these days.) There is one major test which I have been unable to perform: I haven't checked to see what happens if you don't have access to a GUI for the "unlock keychain prompt" which OS X throws up (i.e. you are logging in to an OS X serv...
2001 Jun 27
0
two GCC-3.0 warnings
In openssh_cvs/openbsd-compat: readpassphrase.c: In function `readpassphrase': readpassphrase.c:116: warning: operation on `ch' may be undefined The offending line is: ch = ch &= 0x7f; probably should be: ch &= 0x7f; In openssh-2.9p2: readpass.c: In function `re...
2002 Dec 10
5
[PATCH] Password expiry with Privsep and PAM
...ession here because PAM on HP-UX does not + * work after the call to permanently_set_uid. + */ + do_pam_session(pw->pw_name,NULL); # endif /* USE_PAM */ # if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) irix_setusercontext(pw); Index: openbsd-compat/readpassphrase.c =================================================================== RCS file: /cvs/openssh/openbsd-compat/readpassphrase.c,v retrieving revision 1.9 diff -u -u -r1.9 readpassphrase.c --- openbsd-compat/readpassphrase.c 11 Sep 2002 00:29:13 -0000 1.9 +++ openbsd-compat/readpassphrase.c 10 Dec 2002...
2001 Oct 26
1
Makefiles in v2.9.9p2
If I change openbsd-compt/readpassphrase.c and type "make" from the top-level, nothing happens. I have to remove openbsd-compat/libopenbsd-compat.a to get "make" to do its thing. Ed Phillips <ed at udel.edu> University of Delaware (302) 831-6082 Systems Programmer III, Network and Systems Services finger -l ed...
2002 May 02
0
[Bug 234] New: OpenSSH does not compile on OpenBSD 3.1
...ared 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 this function) readpass.c:121: warning: implicit declaration of function `readpassphrase' *** Error code 1 The required defines are in openbsd-compat/readpassphrase.h, and they assume that HAVE_READPASSPHRASE is undefined. If I undefine HAVE_READPASSPHRASE, make clean, and make, everything compiles, but when I try to turn on sshd, I get: /usr/local/etc/sshd_config: line 68: Bad...
2002 Oct 21
1
[Bug 314] switch to READPASSPHRASE_H to avoid conflicts with exiisting headers
http://bugzilla.mindrot.org/show_bug.cgi?id=314 ------- Additional Comments From djm at mindrot.org 2002-10-21 10:40 ------- What existing headers? If the system provides its own readpassphrase() we should need the local copy. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2002 Oct 25
0
NeXT Community
...2.2 +++ configure.ac 25 Oct 2002 14:08:43 -0000 @@ -601,12 +601,15 @@ getaddrinfo getcwd getgrouplist getnameinfo getopt getpeereid\ getrlimit getrusage getttyent glob inet_aton inet_ntoa \ inet_ntop innetgr login_getcapbool md5_crypt memmove \ - mkdtemp mmap ngetaddrinfo openpty ogetaddrinfo readpassphrase \ + mkdtemp ngetaddrinfo openpty ogetaddrinfo readpassphrase \ realpath recvmsg rresvport_af sendmsg setdtablesize setegid \ setenv seteuid setgroups setlogin setproctitle setresgid setreuid \ setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \ socketpair strerror strlcat strlcpy...
2013 Feb 06
0
Miscellaneous compiler warnings
Hi, On RHEL 6.3 with gcc 4.4.6, a number of compiler warnings are emitted when building recent snapshots: These all seem to be harmless, but annoying. readpassphrase.c:127: warning: ignoring return value of ?write?, declared with attribute warn_unused_result readpassphrase.c:146: warning: ignoring return value of ?write?, declared with attribute warn_unused_result make[1]: Leaving directory `/u/wk/imorgan/src/openssh/warnings/openssh/openbsd-compat' log.c:4...