buttercup / buttercup-mobile

:iphone: React-Native mobile application for Buttercup
https://buttercup.pw
GNU General Public License v3.0
395 stars 71 forks source link

Support using root CA certificates from Android user trust store #305

Closed casasfernando closed 2 years ago

casasfernando commented 2 years ago

Since Android 7.0 the user trust store is not included in the trusted anchors by default. This PR adds support to use root CA certificates installed in the Android user trust store to connect to Webdav vaults hosted on servers using certificates signed by private root CAs, using https. May also allow to use Buttercup with Webdav servers using self-signed certificates.

More information: https://developer.android.com/training/articles/security-config

Fixes https://github.com/buttercup/buttercup-mobile/issues/293 and most likely https://github.com/buttercup/buttercup-mobile/issues/159 as well.

perry-mitchell commented 2 years ago

Thanks for this!