erik
789c6bac8c
multi: replace ioutil.WriteFile
2024-04-25 11:23:31 +02:00
erik
ab83343c87
multi: repleace ioutil.ReadFile
2024-04-25 11:22:43 +02:00
Oliver Gugger
648fb22f63
multi: wrap all errors
2024-04-11 15:04:03 +02:00
ffranr
cd566eb097
multi: fix fmt.Errorf error wrapping
...
Refactor fmt.Errorf usage to correctly wrap errors instead of using
non-wrapping format verbs.
2024-02-27 11:13:40 +00:00
Thabokani
b8d2fc3816
kvdb+cmd: fix typos
2024-01-03 12:06:32 +08:00
Oliver Gugger
f9436ec05d
mod+cmd/lncli: use google.golang.org/protobuf package
2023-05-11 22:51:16 +02:00
Oliver Gugger
968393975b
cmd/lncli: add constrainmacaroon command
2022-05-13 13:41:10 +02:00
Oliver Gugger
f4e1f60e4d
cmd/lncli: extract macaroon caveat flags
...
As a preparation for re-using the macaroon caveat/constraints CLI flags,
we extract the parsing and adding of those constraints into its own
function.
2022-05-13 13:38:53 +02:00
Oliver Gugger
7b822f41df
lncli: add custom caveats to bakemacaroon
...
With the new condition and checker in place, we can give the end user
the ability to add such a custom caveat to a baked macaroon.
There won't be an RPC counterpart for this operation since all first party
caveats currently are only added on the client side.
2021-09-20 13:05:47 +02:00
Turtle
38c47e86f7
lncli: Add allow external permissions option to bakemacaroons cli call
2021-09-14 16:27:02 -05:00
whythat
54c93b1b86
lncli: cancel RPC context on OS interrupts
2021-03-12 10:07:49 +02:00
Oliver Gugger
384ab9f616
lncli: print all permission actions
...
Due to a misunderstanding about how the entities/actions are encoded
inside the macaroon, only the first action was printed per entity.
Even though we add them as separate pairs in the macaroon service (for
example "offchain:read" and "offchain:write"), they are grouped in the
serialized macaroon ("offchain:read,write").
2020-09-14 10:55:19 +02:00
Oliver Gugger
a2721a15a8
lncli: use CleanAndExpandPath from lncfg
2020-09-07 15:55:04 +02:00
Oliver Gugger
4996b28dab
lnrpc+lncli: add command to print macaroon
2020-09-04 09:50:42 +02:00
Oliver Gugger
3ce7f72cd4
lncli: add new listpermissions command
2020-09-04 09:50:41 +02:00
Oliver Gugger
830ce163c6
lncli: add new URI permissions to bakemacaroon
2020-09-04 09:50:41 +02:00
yyforyongyu
c8a2916d91
lncli: support list/delete on marcaroon IDs
2020-08-14 12:36:21 +08:00