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

Connecting LND wallet - invoice.macaroon is too permissive #827

Closed
RocketNodeLN opened this issue Feb 14, 2024 · 0 comments
Closed

Connecting LND wallet - invoice.macaroon is too permissive #827

RocketNodeLN opened this issue Feb 14, 2024 · 0 comments
Assignees
Labels
difficulty:good-first-issue feature new product features that weren't there before wallets

Comments

@RocketNodeLN
Copy link

Is your feature request related to a problem? Please describe.
Currently need to provide pre-baked invoice.macaroon which includes the follwing permission:

"permissions": [
  "address:read",
  "address:write",
  "invoices:read",
  "invoices:write",
  "onchain:read"
]

Describe the solution you'd like
Accept custom baked macaroon with only invoices:write permission (example below) or pre-baked invoices.macaroon with this permission:

"permissions": [
  "invoices:read",
  "invoices:write"
]

Command to create a custom macaroon for stacker news
lncli bakemacaroon invoices:write --save_to ~/.lnd/data/chain/bitcoin/mainnet/stackernews.macaroon

@RocketNodeLN RocketNodeLN added the feature new product features that weren't there before label Feb 14, 2024
@huumn huumn self-assigned this Feb 14, 2024
@huumn huumn closed this as completed in 5c3c7fb Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty:good-first-issue feature new product features that weren't there before wallets
Projects
None yet
Development

No branches or pull requests

2 participants