morley-client doesn't work with encrypted secret keys in tezos-client storage
Description
If you have an encrypted secret key in tezos-client
data storage and try to make an operation that should be signed with this key, morley-client
will fail
Steps to reproduce
morley-client transfer --from addr1 --to rich --amount 1 --parameter Unit
Prerequisites (if needed):
addr1
is revealed, its secret key is encrypted and known, it has positive balance.
Expected behaviour
There is a successful transaction.
Actual behaviour
An error containing Unix.Unix_error(Unix.ENOTTY
, "tcgetattr")`.
Environment
- archlinux, built with
cabal
- 542391c2