I fear I may have made an expensive error. I have an account that has more Tezos than I would like to admit. Upon trying to transfer Tezos out of the account like this:

./tezos-client transfer 1 from <account a> to <account b>

I receive a message that says:

Unknown secret key for <account a>

Fortunately, I have copied the secret key, the public key and the hash--or account number in my records. However, ./tezos-client doesn't seem to know the secret key for this account anymore. How can I sign this transaction with ./tezos-client?

I have tried

./tezos-client import secret key <alias> unencrypted:<secret key>

that yields:

Failed to read a b58check_encoding data (Signature.Secret_key): "<secret key>"

I have also tried 'encrypted' instead of 'unencrypted' and that yields:

Not a Base58Check-encoded encrypted key

1 Answer 1


If your secret key begins with 'edesk', then it is encrypted, it should also be either 98 or 54 characters in length. You should be able to import 'encrypted:edesk....' into the tezos client.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.