-
Notifications
You must be signed in to change notification settings - Fork 832
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
Connecting to a server with TLS Client Authentication crashes app #4416
Comments
Thank you for your report! We've added this to our internal board for review. |
I have already started working on this. At first I discovered the SDK and started working my way inside it. Then I wanted to test the new SDK within the app but I was still having issues, only to see that the app is using a network provider. I have now started to patch the network provider, but I was wondering when is the SDK provider used. Can somebody familiar with the app help me with that? Depending on when are the network and SDK provider used, I think we could implement the certificates differently. In case only the network provider is used, it would be a better user experience to import the certificates in Android and load the certificates from the Android trust store in the app. In case both the network and SDK provider are used, we would need to allow the user to select their certificates inside the app, as the SDK cannot use the Android trust store (at least not that I know of). |
@rohm1 We won't be using the SDK for network calls for now. I've not looked into this yet, based on @oguzhane's work in the legacy codebase, I assumed we would have to support both approaches: bitwarden/mobile#2629 |
This might be helpful. Home Assistant another open source project uses MTLs in their iOS app written in swift and android written on kotlin. Here's a link to the repos you can have a look around them to see how their implementing MTLs and hopefully that helps ease implementing in the bitwarden apps. |
@rohm1 Let us know if you need any testers. I'm willing to test it out. |
@Daniel-dev22 Thanks for the links. I opened a PR: #4486 |
Steps To Reproduce
#582 has been closed as it concerns the old app. New issue for the new kotlin app
Expected Result
Connecting to a server with TLS client authentication crashes the app
Actual Result
Connecting to a server with TLS client authentication should work
Screenshots or Videos
No response
Additional Context
No response
Build Version
2024.11.1
What server are you connecting to?
Self-host
Self-host Server Version
Vaultwarden 1.32.5
Environment Details
No response
Issue Tracking Info
The text was updated successfully, but these errors were encountered: