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

Re: --non-interactive and keyrings

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 06 Feb 2012 09:30:12 +0000

Daniel Shahaf <danielsh_at_elego.de> writes:

> We're left still with the original problem --- that kwallet
> prompts for unlock even if it doesn't contain the password, but gkeyring
> prompts for unlock regardless of whether it contains the password?

Yes. I can 'fix' gkeyring by moving the unlock prompt into
password_get_gnome_keyring. At present that function has no way to
return the "GNOME Keyring is locked and we are non-interactive" error
so we would either have to drop that error, or change the prototypes of
svn_auth__password_get_t/svn_auth__password_set_t.

The kwallet doesn't have an equivalent of that gkeyring error, in
non-interactive it simply fails to get a password but doesn't report an
error (hence my original patch). OSX switches of prompting but doesn't
report an error if that cause password retrieval to fail. Windows
appears to ignore the non-interactive flag. I don't know if that means
Windows never prompts or whether it means Windows will prompt in
non-interactive mode.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-02-06 10:31:00 CET

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.