ewallet
ewallet copied to clipboard
Better handle encryption errors
We need to handle these scenarios:
- When
EWALLET_SECRET_KEYandLOCAL_LEDGER_SECRET_KEYwere 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.