L2-Technology / sensei

A lightning node implementation for everyone
https://l2.technology/sensei
Other
199 stars 39 forks source link

RPC Cookie support for bitcoind rpc support #159

Open jeffw387 opened 1 year ago

jeffw387 commented 1 year ago

Looking through the main.rs file, I see support for RPC password auth, but cookie authentication seems to be the recommended "most secure" method of connection to bitcoind. Is there any chance of this being supported in the future?

jeffw387 commented 1 year ago

I've just realized that the cookie file is user/password auth as well, so the main difference is how it's generated and accessed. So adding support for it would be pretty easy, I think. Would need to adjust the CLI interface, and allow for choosing a cookie file instead of supplying RPC user/password.