Page MenuHomePhabricator

Use rustls-tls-webpki-roots on Android
ClosedPublic

Authored by marcin on May 7 2024, 4:43 AM.
Tags
None
Referenced Files
F3536833: D11920.id39919.diff
Wed, Dec 25, 7:08 PM
F3536832: D11920.id39918.diff
Wed, Dec 25, 7:08 PM
F3536831: D11920.id39884.diff
Wed, Dec 25, 7:07 PM
F3536830: D11920.id39883.diff
Wed, Dec 25, 7:07 PM
F3536821: D11920.id.diff
Wed, Dec 25, 7:07 PM
F3536816: D11920.diff
Wed, Dec 25, 7:07 PM
Unknown Object (File)
Thu, Nov 28, 10:01 PM
Unknown Object (File)
Thu, Nov 28, 9:20 PM
Subscribers

Details

Summary

Current TLS backend for Rust websocket code on Android doesn't work since if cannot verify backup service certificate. We used to have similar issues with gRPC and we resolved them by updating tls backend to use webpki roots. This diff does the same on Android.

Test Plan
  1. Build physical Android app.
  2. Toggle automatic backup upload and upload compaction to STAGING by clicking the upload button.
  3. Ensure upload succeeds and new compaction is visible in dynamodb.
  4. Type some drafts.
  5. Ensure new logs are visible in dynamodb.
  6. Log out and log in.
  7. Click restore button.
  8. Ensure restoration succeeds and drafts are brought back.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable