MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android
http://vespucci.io
Other
356 stars 82 forks source link

Add the ISRG X1 certificate to the trust store used by OkHttp #2577

Closed simonpoole closed 2 weeks ago

simonpoole commented 3 weeks ago

This allows connections to sites using letsencrypt certificates to continue to work for now on pre Android 7.1 devices. In particular this affects the OSM API.

It is likely that this fix increases memory usage by multiple MBs.

Note: this does not solve the issue for things that do not use OkHttp, for example ACRA. The change has undergone very limited testing, essentially it works on an Android 6 phone, that's it.

Resolves https://github.com/MarcusWolschon/osmeditor4android/issues/2556

Resolves https://github.com/MarcusWolschon/osmeditor4android/issues/1277