@kristapsdz I am investigating why kcaldav does not work with davdroid clients. The initial auth token sent by this client don't contain all tokens required by khttpdigest_input().
From the client-side log:
2018-04-07 10:18:16 2 [HttpClient] WWW-Authenticate: Digest realm="kcaldav", algorithm="MD5-sess", qop="auth,auth-int", nonce="2143224774774772"
This request is missing the required uri, username, and response tokens.
@kristapsdz Looks like this is the client-side code which fails: https://gitlab.com/bitfireAT/davdroid/blob/master-ose/app/src/main/java/at/bitfire/davdroid/ui/setup/DavResourceFinder.kt#L157
The propfind request results in an "UnauthorizedException" which isn't caught by this code.
Not sure if caldav's expectation to be able to find a "principal" without authorization makes sense.