vulpemventures / ocean

:ocean: Elements/Liquid wallet daemon
MIT License
5 stars 7 forks source link

Auth rpc #46

Closed altafan closed 1 year ago

altafan commented 1 year ago

We need a new authentication RPC that basically verifies whether the given password is valid without unlocking the wallet (which is always an expensive operation if the password is correct).

Spec:

rpc Auth(AuthRequest) returns (AuthResponse)

message AuthRequest { string password = 1; }
message AuthResponse { boolean verified = 1; }