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

[PATCH] is (null) gnome keyring locked?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 9 Jun 2011 22:24:24 +0300

My system 1.6 client (Debian package) often prompts me:

[[[
Password for '(null)' GNOME keyring:
]]]

I'm guessing that the following patch will sort the issue:

[[[
Index: subversion/libsvn_auth_gnome_keyring/gnome_keyring.c
===================================================================
--- subversion/libsvn_auth_gnome_keyring/gnome_keyring.c (revision 1133273)
+++ subversion/libsvn_auth_gnome_keyring/gnome_keyring.c (working copy)
@@ -171,6 +171,10 @@ check_keyring_is_locked(const char *keyring_name)
 {
   struct gnome_keyring_baton key_info;
 
+ /* Fast exit. */
+ if (! keyring_name)
+ return FALSE;
+
   key_info.info = NULL;
   key_info.keyring_name = NULL;
 
]]]

... but I can't reproduce the original error with my trunk client, so
I'm not sure the patch is correct.

Thoughts?

Daniel
(I have --config-option=config:auth:password-stores="" in effect)
Received on 2011-06-09 21:25:10 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.