macaroons: futher abstract NewService from root key store impl
In this commit, we modify the `macaroons.NewService` consturctor to accept the main interface rather than the raw DB. This allows us to use other backends other than bolt or the kvdb interface to store the macaroon root keys. We also create a new ExtendedRootKeyStore interface that implements some of the more advanced features we use such as macaroon encryption and password rotation.
This commit is contained in:
5 files changed
+91
-24
No files matched your search
@@ -5,7 +5,9 @@
|
||||
|
||||
* [Fixed error typo](https://github.com/lightningnetwork/lnd/pull/6659).
|
||||
|
||||
* [The macaroon key store implementation was refactored to be more generally useable](https://github.com/lightningnetwork/lnd/pull/6509).
|
||||
|
||||
# Contributors (Alphabetical Order)
|
||||
* Carla Kirk-Cohen
|
||||
* ErikEk
|
||||
|
||||
* Olaoluwa Osuntokun
|
||||
Reference in new issue
Block a user