Bug 338271 - Client certificate authentication doesn't seem to work with kdesvn 1.6.0
Summary: Client certificate authentication doesn't seem to work with kdesvn 1.6.0
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdesvn
Classification: Applications
Component: General (show other bugs)
Version: 1.6.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDESvn default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-14 15:44 UTC by 686f6c6d
Modified: 2017-06-18 07:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Build error when trying to 'make' kdesvn (73.59 KB, text/plain)
2016-03-17 13:03 UTC, 686f6c6d
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 686f6c6d 2014-08-14 15:44:16 UTC
I'm trying to use kdesvn "Version 1.6.0 (Using KDE Development Platform 4.11.5)" (on openSUSE 13.1 x86_64, kdesvn RPM version 1.6.0-5.1.3) with a client certificate with passphrase.


CLI svn itself works just fine with (~/.subversion/config):
---------- 8< ----------
# Same result with "password-stores = kwallet".
password-stores = 
store-passwords = yes
store-ssl-client-cert-pp = yes
---------- >8 ----------

and (~/.subversion/servers):
---------- 8< ----------
[groups]
whatever = my-server.example.org

[whatever]
ssl-client-cert-file = /path/to/my/clientcert.p12
---------- >8 ----------


svn asks me for my certificate (or kwallet, if enabled) passphrase and works just fine. When using kdesvn and trying to open my local checkout or https://my-server.example.org/svn/foo directly, kdesvn reacts like this:
---------- 8< ----------
Filling log cache in background
Unable to connect to a repository at URL 'https://my-server.example.org/svn/foo'
Error running context: An error occurred during SSL communication
Unable to connect to a repository at URL 'https://my-server.example.org/svn/foo'
Error running context: An error occurred during SSL communication
Filling log cache in background finished.
---------- >8 ----------

I'm no svn expert, but this seems to be the svn catch-all error message, it is the same i get with the CLI svn when i mistype my passphrase.
Comment 1 686f6c6d 2014-10-01 12:23:00 UTC
When I save my passphrase in the (~/.subversion/servers) config with "ssl-client-cert-password", kdesvn works. (However, I cannot use this, because company policy forbids it.)
Comment 2 Christian Ehrlicher 2015-12-13 14:21:05 UTC
Is there a chance to test a patch? I've no ssl enabeld svn-server to test this problem.
Comment 3 686f6c6d 2016-01-04 14:34:38 UTC
Sorry for the delay, I was on vacation and didn't have access to our repos or my account here, but I'll be happy to test patches now. (:

Thanks for your time, and a happy new year!
Comment 4 Christian Ehrlicher 2016-01-04 18:41:11 UTC
Is it possible for you to compile current sources from https://projects.kde.org/projects/extragear/sdk/kdesvn/repository ?
Comment 5 686f6c6d 2016-03-17 13:01:56 UTC
After building cmake 3.5 (openSUSE 13.1's cmake is too old, 2.8.11 or so), I'm stuck with the attached error. (I'm trying to build the current master (c0a133f4bd54eeb1d13a85ccee0bff9f40528dc8?).)
Comment 6 686f6c6d 2016-03-17 13:03:08 UTC
Created attachment 97936 [details]
Build error when trying to 'make' kdesvn
Comment 7 Christian Ehrlicher 2016-03-17 18:11:53 UTC
I'm sorry but this must be a problem on your side.
Tried it with cmake 3.3.2 & cmake 3.5.0 on openSUSE leap (kde4 4.14.17) and it also builds on opensuse build service:  https://build.opensuse.org/package/show/home:chehrlic/kdesvn --> cmake 3.0.2, 3.3.2 and 3.4.3
Comment 8 Christian Ehrlicher 2017-06-18 07:09:17 UTC
The Qt4/KF4 version of kdesvn is no longer supported - closing. Please open again if this still happens with kdesvn 2.0.