From 20e367c4e77ad19d564b7887e59aca878074a1c2 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 31 Dec 2015 00:28:22 -0600 Subject: [PATCH] lncli: note to self about future auth --- cmd/lncli/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/lncli/main.go b/cmd/lncli/main.go index 9c525b4cf..3c88120bd 100644 --- a/cmd/lncli/main.go +++ b/cmd/lncli/main.go @@ -27,6 +27,9 @@ func getClient(ctx *cli.Context) lnrpc.LightningClient { func getClientConn(ctx *cli.Context) *grpc.ClientConn { // TODO(roasbeef): macaroon based auth + // * http://www.grpc.io/docs/guides/auth.html + // * http://research.google.com/pubs/pub41892.html + // * https://github.com/go-macaroon/macaroon opts := []grpc.DialOption{grpc.WithInsecure()} conn, err := grpc.Dial(ctx.GlobalString("rpcserver"), opts...)