Skip to content

Conversation

@pinheadmz
Copy link
Contributor

@pinheadmz pinheadmz commented Sep 3, 2025

This enables a warnet to define unique admin credentials for lnd nodes which will be crucial when playing educational games in a lightning warnet. Similar to random RPC passwords for bitcoind, a network can be configured with unique root keys (from which all admin macaroons are derived) and then kubernetes access permissions will keep those secret from users in different namespaces.

Generating macaroons from the root keys still requires lncli.

For the sake of the test, this PR also updates the hard-coded TLS certificate we use for lnd in warnet so lncli requests can be made between nodes. Such requests will only work if the default macaroon keys have not been overriden by warnet configuration!

@pinheadmz pinheadmz marked this pull request as ready for review September 3, 2025 17:37
@pinheadmz pinheadmz merged commit cf667af into bitcoin-dev-project:main Sep 5, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant