Skip to content

feat: Secure React Native gRPC connections #113

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 6 commits into from
Feb 21, 2024

Conversation

D4ryl00
Copy link
Contributor

@D4ryl00 D4ryl00 commented Feb 8, 2024

To secure the React Native gRPC connection, we implement a transport that uses native calls to make the gRPC calls instead of a TCP connection.
Only the server streaming is implemented in this PR (we don't need the client streaming).

Flow:
React-Native gRPC client <-> native (Android/iOS) <-> golang gRPC client (UDS) <-> golang gRPC server

fixes #20

@D4ryl00 D4ryl00 self-assigned this Feb 8, 2024
@D4ryl00 D4ryl00 marked this pull request as draft February 8, 2024 13:34
@D4ryl00 D4ryl00 force-pushed the feat/secure-rn-grpc-connection branch from 5dfcdd3 to cab65db Compare February 15, 2024 15:00
Signed-off-by: D4ryl00 <d4ryl00@gmail.com>
Signed-off-by: D4ryl00 <d4ryl00@gmail.com>
Signed-off-by: D4ryl00 <d4ryl00@gmail.com>
@D4ryl00 D4ryl00 force-pushed the feat/secure-rn-grpc-connection branch from cf98f59 to 31f8b1b Compare February 20, 2024 16:27
@D4ryl00 D4ryl00 marked this pull request as ready for review February 20, 2024 16:28
@D4ryl00 D4ryl00 requested a review from jefft0 February 20, 2024 16:28
Signed-off-by: D4ryl00 <d4ryl00@gmail.com>
Signed-off-by: D4ryl00 <d4ryl00@gmail.com>
Signed-off-by: D4ryl00 <d4ryl00@gmail.com>
Copy link
Contributor

@jefft0 jefft0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Android and iOS simulators and real phones.

@jefft0
Copy link
Contributor

jefft0 commented Feb 21, 2024

Does this PR resolve issue #20?

@D4ryl00 D4ryl00 merged commit f16871c into gnolang:main Feb 21, 2024
@D4ryl00 D4ryl00 deleted the feat/secure-rn-grpc-connection branch February 21, 2024 10:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: securing gRPC HTTP connections
2 participants