Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: include a super macaroon for litd in the GUI #1048

Open
ZZiigguurraatt opened this issue Nov 14, 2024 · 3 comments
Open

Feature Request: include a super macaroon for litd in the GUI #1048

ZZiigguurraatt opened this issue Nov 14, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers up for grabs Anyone can work on this

Comments

@ZZiigguurraatt
Copy link

Would like to see a super macaroon for litd available in the GUI.

We can open a terminal and run

litcli bakesupermacaroon --save_to ~/.lit/regtest/super.macaroon

however, it would be nice to just be in the GUI for quick copy and paste.

Also, all macaroons that are available in the GUI are available under a path on the host like

/home/xxxxxxxxxxx/.polar/networks/1/volumes/litd/dave/lit/regtest/lit.macaroon

which can be used by other test scripts running on the host as soon as the node is setup. Would be nice for the super macaroon to automatically be available this way too.

@ZZiigguurraatt ZZiigguurraatt added the enhancement New feature or request label Nov 14, 2024
@jamaljsr
Copy link
Owner

The Polar UI currently shows the macaroon files that are auto-generated on startup by lnd & litd. Since the super macaroon isn't automatically created by the nodes, Polar would need to make an RPC call to create it. This is certainly doable, but I just wanted to provide a bit of clarity on why this isn't already in Polar today.

@jamaljsr jamaljsr added good first issue Good for newcomers up for grabs Anyone can work on this labels Nov 15, 2024
@ZZiigguurraatt
Copy link
Author

I didn't think of that, but it makes sense.

Wondering if it would be better to have a config option for litd to auto generate super.macaroon on startup if it doesn't exist instead of doing that in polar? There could be a lot more use cases where you might want this outside of polar too.

@AmosOO7
Copy link

AmosOO7 commented Jan 28, 2025

Just to clarify, the fix to the issue raised here is to create a button, that when clicked on copies the lit-cli command, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers up for grabs Anyone can work on this
Projects
None yet
Development

No branches or pull requests

3 participants