0
In Bitcoin we can have a light wallet where we are connected to a full node, by doing this, we have to trust that the full node is feeding correct information, but at least we can store our keys in the light wallet itself.
I've been looking around for a similar solution in lightning and the closest I found are some lightning wallets which host a node in their clouds and an app which controls the node.
Unlike layer 1, keys are not needed in order to perform transactions, which means that you are not only trusting the information the node is providing, also they could perform transactions without your knowledge.
Am I missing something here? Why are those wallets called non-custodial?
I know you can run a full lightning node on you phone like acinq does, but a safe cloud-based solution would lower the barrier of entry for some users
That makes sense. Then if the private key stays in the app controlling the lightning node, it would be safe. But that's not how it's done right? right now, to access the RPC and send transactions you only need the macaroon which leads me to believe that the keys are stored and managed in the lightning node not on the app which controls the node. – Enrique Alcazar – 2019-04-12T16:05:54.980
It doesn't matter which application controls the keys. If you're running the node on a machine which you don't control, you can forego any hope of those keys being private. The private keys must be on your own machine only, and even then, should ideally be on a hardware security module where the private keys can not be exposed through side-channels if any other software on the machine is exploited. We're not at the point where these HSMs are ready yet, but they will be coming. – Mark H – 2019-04-12T16:09:58.723
Then all services that configure the node or control the VPC in which is installed are custodial because right now all the signing is done at the node level, but there are people working on abstracting the signing logic so it can be ran separately and store keys on an HSM. Thanks for the explanation – Enrique Alcazar – 2019-04-12T19:59:24.943