[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: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Wed, 3 Jun 2009 20:46:48 +0200

2009-06-03 09:53:55 Christoph Caks napisaƂ(a):
> 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 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?

It is intended behavior. We can use some functions from GNOME Keyring/KWallet
with --non-interactive option only if we are sure that they won't prompt user
for anything.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2009-06-03 20:45:50 CEST

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