lbry-sdk icon indicating copy to clipboard operation
lbry-sdk copied to clipboard

Fix wallet encryption design

Open lyoshenka opened this issue 4 years ago • 1 comments

Current wallet encryption is simple AES, so its impossible to differentiate between a wrong password and a corrupted wallet file. We need to add an HMAC to make password checking easy.

lyoshenka avatar Oct 19 '21 18:10 lyoshenka

See this https://github.com/lbryio/lbry-sdk/issues/3658 for trouble this caused in tests.

moodyjon avatar Sep 23 '22 16:09 moodyjon