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

Re: svn --non-interactive preventing gnome-keyring access

From: Neels Janosch Hofmeyr <neels_at_elego.de>
Date: Wed, 03 Jun 2009 12:06:55 +0200

Christoph Caks wrote:
> Hi,
> I tried the same question last week on the users list. Seems like nobody had
> experienced the same issue - since nobody answered.
> I'm using svn in combination with maven. Since maven executes svn
> --non-interactive, i have to provide authentication data via the
> auth-cache.
> I'm using the gnome-keyring as key-store and everything works perfect
> until i use the --non-interactive switch:
> I get an authentication error:
> Could not read status line: SSL error: sslv3 alert handshake failure
> It seems to me that svn in non-interactive mode does not access the
> keyring and tries to connect without any auth info.

I was testing the GNOME keyring in 1.6.1 and I must say that it showed quite
confusing behaviour when the keyring was still locked. AFAIR things were
fixed later on...

In particular, if the GNOME keyring is still locked, Subversion *has* to
interactively ask for the passphrase to unlock it, otherwise it won't have
access to the stored password. Maybe that's the problem there.

If it is, we should add an error message that states "Sorry, keyring is
locked and can't ask for passphrase in non-interactive mode."

If it isn't, that's probably a bug. However, can you try 1.6.2 first, or
even trunk, before we go off investigating?


> I don't want to use the plaintext passwords ( but i have tried it and it
> works ).
> My svn version is 1.6.1 (r37116)
> Google told me that this was a bug for mac systems, but i'm using linux
> My config is as follows:
> server is https with client certificate
> ~/.subversion/servers
> === 8< ===
> [groups]
> myserver = myserver.domain
> [myserve]
> ssl-client-cert-file = /path/to/my/certificate
> === 8< ===
> ~/.subversion/config
> === 8< ===
> [auth]
> password-stores = gnome-keyring
> store-auth-creds = yes
> store-passwords = yes
> === 8< ===
> Could this be a svn bug - or do i have some configuration issues?
> greetings
> Christoph



Received on 2009-06-03 12:07:15 CEST

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

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