ewallet icon indicating copy to clipboard operation
ewallet copied to clipboard

Better handle encryption errors

Open sirn opened this issue 6 years ago • 0 comments

We need to handle these scenarios:

  • When EWALLET_SECRET_KEY and LOCAL_LEDGER_SECRET_KEY were not set.
  • When both keys were invalid.
  • When both keys were set, but were changed after there's already some data (e.g. via seed)

Right now it prints pretty cryptic error about unable to decode JSON.

sirn avatar Jan 30 '19 06:01 sirn