python-teos
python-teos copied to clipboard
Add authentication to teos_cli
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.
Thinking of giving this a shot. Good ol' SSL?
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(...)).