Closed cmjc closed 1 year ago
I thought that if I had a key specified in .autrc and I then specified a key in the command using the key file command, then the key file specified in the command would be used and the one specified in .autrc be ignored.
Yes, this is how it should behave. I'll look into this. Thanks.
Ah, I see the problem. You need to sign with the same keyfile, otherwise the "from" field in the tx and the signe account don't match.
OK, thanks for the clarification. Closing.
Description
In
autcli
I can specify my signing key in 2 places:.autrc
, which is then used by default and it doesn't need to be specified in the command options.-k
or--keyfile
.I thought that if I had a key specified in
.autrc
and I then specified a key in the command using the key file command, then the key file specified in the command would be used and the one specified in.autrc
be ignored.However if the key file set in
.autrc
differs to that in a specified-k
/--keyfile
option it errors:ValueError: MAC mismatch
.Is this correct, or should a key specified as a command option override one set in
.autrc
?