[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn 1.6 client echoes password

From: Patrick Oor <patrick.oor_at_nxp.com>
Date: Tue, 12 Jan 2010 01:27:51 +0100

Hi Stefan.

Thanks for your tip. I recompiled my client using the "dependency package" [1]. This way, I got the right APR installation, and my client no longer echoes the password when I type it.

Issue resolved.

- Patrick

1. http://svn.collab.net/repos/svn/trunk/INSTALL

-----Original Message-----
From: Stefan Sperling [mailto:stsp_at_elego.de]
Sent: Tuesday, January 05, 2010 3:13 PM
To: Patrick Oor
Cc: users_at_subversion.apache.org
Subject: Re: svn 1.6 client echoes password

On Tue, Jan 05, 2010 at 02:25:00PM +0100, Patrick Oor wrote:
> When I switched my SVN client on Red Hat Linux 4 from SVN 1.5.4 to
> 1.6.3 I found out that the newer SVN client echoes my password to the
> screen when I type it. I looked for a fix on the internet (including
> this project) but have not found anything yet. Who can help? Why is
> SVN echoing the password and how can I switch it off again?

Subversion relies on APR to read passwords without echoing.
So this must be a problem with APR, not Subversion.

Check your APR installation.
If the APR compilation process does not detect a getpass(),
getpassphrase(), or getpass_r() routine, or the termios.h
header file, then APR stupidly falls back to reading the password
with a simple fgets() call. This might explain your situation.

The above is valid for APR-1.3.x. I haven't checked other versions.

Received on 2010-01-12 01:28:55 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.