[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: Christoph Caks <ccaks_at_bestsolution.at>
Date: Wed, 03 Jun 2009 14:53:33 +0200

Neels J Hofmeyr wrote:
> 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?
>
> Thanks,
> ~Neels
>

Hi,

first of all
Neels, thanks for the fast response

I already found out that subversion asks for the keyring password while the
keyring is locked. After providing the password, everything works fine, except
for the --non-interactive mode. So to me the problem does not seem to be the
locked keyring.

I will try 1.6.2 and the trunk version and report back later. This may take a
while, since i have a lot of work.

greets,
Christoph

>> 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)
>>
>>
>> === 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
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2359015
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2359066

Received on 2009-06-03 15:00:00 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.