Skip to content

Baking macaroons for tapd #635

Answered by guggero
alex-georgiou asked this question in Q&A
Discussion options

You must be logged in to vote

Hey. Sorry for getting back to you this late. The reason why you get an error is that the macaroon root key is different between lnd and tapd. So if you bake a macaroon in lnd, you get one that is signed/hashed with a key that only lnd knows. When tapd then tries to validate it, the verification fails for that reason.
So to do what you are trying to achieve, we would either need to implement baking macaroons in the tapd RPC as well.
Or, if you are running tapd as part of the Lightning Terminal (litd, see https://github.com/lightninglabs/lightning-terminal), you could bake a so called "super macaroon" that is valid for all daemons in the litd bundles (the gRPC/REST proxy basically swaps it…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alex-georgiou
Comment options

Answer selected by alex-georgiou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants