mintlayer-core icon indicating copy to clipboard operation
mintlayer-core copied to clipboard

Implement end-to-end encryption for RPC via a `tower` middleware.

Open ImplOfAnImpl opened this issue 1 year ago • 0 comments

Currently, end-to-end encryption is implemented on the ad hoc basis for RPC, e.g. in BlockProductionInterface the functions that accept sensitive data and which can be called via RPC (the "_e2e" ones) have to handle encryption explicitly. Now we'd like to be able to send sensitive data over the wallet PRC as well (#1748) and it's getting ugly. We need to implement e2e encryption for all RPC calls via a tower middleware and get rid of the ad hoc solution.

ImplOfAnImpl avatar May 09 '24 13:05 ImplOfAnImpl