Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Add authentication to teos_cli #230

Open
sr-gi opened this issue Sep 17, 2020 · 2 comments
Open

Add authentication to teos_cli #230

sr-gi opened this issue Sep 17, 2020 · 2 comments
Labels
cli enhancement New feature or request
Milestone

Comments

@sr-gi
Copy link
Member

sr-gi commented Sep 17, 2020

teos_cli is currently supposed to be used within the same machine as teosd, given the RPC server is offered in localhost and no authentication mechanism is offered. Exposing the RPC to the wild is highly unrecommended, since anyone would be able to interact with the tower.

An authentication method for the RPC server (gRPC) is needed in order to fix this.

@sr-gi sr-gi added enhancement New feature or request cli labels Sep 17, 2020
@sr-gi sr-gi added this to the v0.2.0 milestone Sep 23, 2020
@orbitalturtle
Copy link
Collaborator

Thinking of giving this a shot. Good ol' SSL?

@sr-gi
Copy link
Member Author

sr-gi commented Oct 25, 2020

gRPCoffers several authentication mechanisms AFAIK, but yeah I think SSL should do.

The goal is having something similar to bitcoind, where user and password is required. Currently we are using it through insecure channels (e.g. cli.grpc.insecure_channel(...)).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants