-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use different WebDAV credentials for the same host #367
Comments
Huh, this is a reincarnation of #295… |
As mentioned above, the issue is caused by TLS (transport layer security) session caching in system's code. All the TLS stuff is abstracted away deep in the system code and there is no way for an app to flush or disable that cache. As a solution, Apple suggests to create a separate Unfortunately, this solution does not seem to work. Even when KeePassium uses a different Interestingly, the behavior differs among the tested WebDAV services. Synology WebDAV server and The only sure-fire solution I see would be to replace This leaves us with the following workarounds offered by Apple in the linked article:
See also: |
Previously, we used one `URLSession` instance for all WebDAV connections. It cached user credentials per host, causing issues when accessing different user accounts on the same server. Now, we use a separate session instance per file URL.
Description
If the user adds several DBs that are stored on the same WebDAV server, but under different user accounts, only one of these accounts will be used for all the connections.
How to reproduce
Steps to reproduce the behavior:
alice
, e.g.https://example.com/dav/alice/alice.kdbx
bob
, e.g.https://example.com/dav/bob/bob.kdbx
Expected behavior
Databases of both users should be fetched independently and refreshed correctly.
Environment:
Additional context:
Caused by TLS session caching.
[Thanks, William and Marco]
The text was updated successfully, but these errors were encountered: