lightninglabs / lightning-node-connect

MIT License
79 stars 22 forks source link

LiT integration: bake and use super macaroon #17

Closed guggero closed 2 years ago

guggero commented 3 years ago

Depends on https://github.com/lightninglabs/lightning-terminal/pull/278.

Currently LiT uses the UI password in the authData payload of the noise handshake because there is no single macaroon that can be used for all calls (to lnd/loop/pool/faraday). With the possibility of baking and verifying a super macaroon in LiT we can instead use that super macaroon directly instead of the UI password that gets converted into the correct daemon specific macaroon on the LiT proxy side.

ellemouton commented 2 years ago

anything left to do for this issue @guggero ?

guggero commented 2 years ago

Nope, fixed by https://github.com/lightninglabs/lightning-terminal/pull/319.