Commit graph

68 commits

Author SHA1 Message Date
Oliver Gugger
c7fb004378
cmd/litcli: add account commands 2022-12-02 10:06:51 +01:00
Elle Mouton
15cd1bdef9
multi: support regex URIs
With this commit, a user can now specify a regex when specifying custom
permissions for an LNC session. This regex will be used to select
permissions for URIs that match the regex.
2022-11-29 12:32:14 +02:00
Elle Mouton
61792bf8db
litcli: update to allow for custom URI list 2022-10-26 12:59:28 +02:00
Oliver Gugger
c3cad46aa2
multi: fix linter issues 2022-10-19 10:57:18 +02:00
Oliver Gugger
a144cfea63
cmd/litcli: refactor client conn
As a preparation to add more litd specific RPCs, we refactor the client
connection to use the generic interface instead of a specific type.
2022-10-19 10:57:17 +02:00
Elle Mouton
7a4d84a21b
cmd/litcli: use macaroon instead of ui password
Remove the use of the UI password from litcl. Use the litd macaroon
instead. Note, this means that in stateless mode, litcli won't have a
macaroon to use on disk and one must be baked specifically.
2022-06-07 11:46:02 +02:00
Elle Mouton
bcf80064d4
cmd/litcli: fix tls cert path
Currently, if in lnd-remote mode, the tls cert path will be constructed
to be in the network directory which it should not be.
2022-06-05 10:51:31 +02:00
Elle Mouton
ee25096bff
litcli: add app version 2022-04-19 20:41:51 +02:00
Oliver Gugger
a37b56393e
cmd/litcli: change default session expiry to 3 months
The default expiry of one hour was way too short for anything practical
and we increase it to 90 days which is almost three months.
The user can still override this value manually by specifying the flag.
2022-02-23 09:48:50 +01:00
Oliver Gugger
43ed7ed27a
rpc_proxy+litcli: replace dummy string with empty macaroon
To avoid the macaroon parsing to fail in session.IsSuperMacaroon(), we
want the dummy macaroon to be formally valid (meaning, it can be parsed)
but not actually valid (meaning, it will fail the signature verification
since we don't have the root key for it anywhere).
2022-02-17 15:00:40 +01:00
Elle Mouton
3b5d99048d
cmd/litcli: add session type flag to litcli
Add flag to litcli so that we can create sessions of the admin or
readonly macaroon type through the cli.
This commit also results in it no longer being possible to create a
UIPassword session through the CLI.
2022-02-15 10:41:42 +00:00
Oliver Gugger
52896210be
app+litcli: fix mailbox URL 2021-11-24 20:48:38 +01:00
Elle Mouton
9b84dbc7c9
cmd/litcli: add litcli for session functions 2021-11-24 13:44:26 -05:00
Oliver Gugger
d917e13810
multi: run make fmt 2021-02-18 14:37:38 +01:00
Oliver Gugger
9a0315130d
terminal+config: implement remote lnd mode
With this commit we add all config options that are necessary to connect
to a remote lnd node instead of starting one in the same process as LiT.
2020-10-12 15:32:04 +02:00
Oliver Gugger
881ab4093a
cmd: rename binary to litd 2020-07-21 22:10:33 +02:00
Oliver Gugger
33df4a1698
multi: rename golang and make files to lightning-terminal 2020-07-21 22:06:15 +02:00
Oliver Gugger
b96b4977f0
multi: replace standalone gRPC web proxy with unified binary 2020-06-02 14:29:38 +02:00