Git Product home page Git Product logo

Comments (3)

tehelsper avatar tehelsper commented on August 13, 2024

The lncli should work fine for managing macaroons. Was there a specific error you saw?

I don't really want to add it to the UI since I'm afraid many users would accidentally shoot themselves in the foot and the option to download the admin / readonly macaroons is available and meets nearly all normal uses.

from mynode.

secondl1ght avatar secondl1ght commented on August 13, 2024

My use case is that if you think your macaroon has been exposed you need to delete and create a new one.

I am fine doing this via command line but others might not be. I understand the concern though about making sensitive commands available in the UI though which could lead to more customer support tickets.

Here are the commands that I tried and the responses I got back, first I am just trying to list my macaroons before deleting and creating a new one:

admin@myNode:~ $ lnd listmacaroonids
failed to load config: ValidateConfig: either bitcoin.active or litecoin.active must be set to 1 (true)
admin@myNode:~ $ lncli listmacaroonids
[lncli] rpc error: code = Unknown desc = permission denied
admin@myNode:~ $ sudo lncli listmacaroonids
[sudo] password for admin: 
[lncli] could not load global options: could not load TLS cert file: open /root/.lnd/tls.cert: no such file or directory

Thanks

from mynode.

tehelsper avatar tehelsper commented on August 13, 2024

You may need to regen your macroons. The second command should work and this issue had a similar possible root cause. #763

from mynode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.