decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

Pass in ephemeral macaroon via pipetx #120

Open matheusd opened 3 years ago

matheusd commented 3 years ago

This would work somewhat similar to how dcrwallet generates an ephemeral client cert for decrediton use and passes it through the IPC pipe subsystem.

Basically, dcrlnd would always generate an ephemeral admin.macaroon file and instead of writing it to disk, it would pass it via the IPC. This should prevent any other applications in users' computers from performing calls to the running dcrlnd instance.