Page MenuHomePhabricator

[Keyserver/rust] Initialize gRPC with host's TLS certs
ClosedPublic

Authored by jon on Jul 18 2023, 2:18 PM.
Tags
None
Referenced Files
F3384358: D8538.id28801.diff
Thu, Nov 28, 8:43 PM
F3383987: D8538.diff
Thu, Nov 28, 6:48 PM
Unknown Object (File)
Mon, Nov 25, 2:57 PM
Unknown Object (File)
Tue, Nov 19, 5:45 AM
Unknown Object (File)
Tue, Nov 19, 5:45 AM
Unknown Object (File)
Tue, Nov 19, 5:45 AM
Unknown Object (File)
Tue, Nov 19, 5:44 AM
Unknown Object (File)
Tue, Nov 19, 5:39 AM
Subscribers

Details

Summary

Ensure that connections using https have the host's
CA certificates loaded prior to connecting to identity service.

https://linear.app/comm/issue/ENG-4410

Test Plan
  • Dev Workflow:
    • Start localstack and identity service
    • cd keyserver && yarn dev
  • Prod Workflow:
    • export COMM_JSONCONFIG_secrets_identity_service_config="{\"identitySocketAddr\":\"https://identity.commtechnologies.org:50054\"}"
    • cd keyserver && yarn dev

In both workflows, the metadata table should be populated
with user_id and access_token

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 19 2023, 4:46 AM
This revision now requires review to proceed.Jul 19 2023, 9:16 AM

No context on Rust

This revision is now accepted and ready to land.Jul 19 2023, 11:48 AM