#802315 subversion: https authentication with gnome-keyring (the default) hangs forever

Package:
subversion
Source:
subversion
Description:
Advanced version control system
Submitter:
IOhannes m zmölnig
Date:
2015-10-19 12:15:06 UTC
Severity:
important
#802315#5
Date:
2015-10-19 11:34:37 UTC
From:
To:
Dear Maintainer,

Trying to checkout (or commit to) a repository that requires authentication via
https:// hangs forever.

I first came across this when trying to checkout some github repository via svn
(they offer a git/svn bridge); checkout would work fine (as it doesn't require
authentication) but commits would stall.
In the meantime I have been able to confirm the problem with my local svn
servers (so it's *not* a gh problem).

I noticed this problem on two separate machines.

Attaching an strace to the svn process indicates that it is waiting:

   Process 28117 attached
   restart_syscall(<... resuming interrupted call ...>) = 0
   poll([{fd=6, events=POLLIN}], 1, 200)   = 0 (Timeout)
   poll([{fd=6, events=POLLIN}], 1, 200)   = 0 (Timeout)
   poll([{fd=6, events=POLLIN}], 1, 200)   = 0 (Timeout)
   poll([{fd=6, events=POLLIN}], 1, 200)   = 0 (Timeout)
   poll([{fd=6, events=POLLIN}], 1, 200)   = 0 (Timeout)
   [ad infinitum]

I removed the entire ~/.subversion/ folder, but to no avail.

Also IIRC, it works fine with http:// authentication.

after a little digging, it turns out that the problem is related to the
gnome-keyring password store.
At least, if i set
    password-stores =
the problem goes away, and if i set
    password-stores =  gnome-keyring
the problem re-appears.

(It might be that http:// works in any case, because this is in any case so
insecure that svn doesn't even bother to use a password-store.)

The problem might be really a gnome-keyring problem, but I haven't found a way
to quickly test the functionality of gnome-keyring alone and I haven't noticed
hickups with other applications.

   $ gnome-keyring version
   gnome-keyring: 3.18.1
   $ zcat /usr/share/doc/gnome-keyring/changelog.Debian.gz | head -1
   gnome-keyring (3.18.1-1) unstable; urgency=medium

I'm running xfce4 (NOT gnome), in case this is related.


mfgadr
IOhannes