Closed
Description
System information
Version: 1.10.21-unstable
Git Commit: de1cecb
Git Commit Date: 20220701
Architecture: amd64
Go Version: go1.18.1
Operating System: linux
Bug description
I have a Keycard unlocked:
> personal.listWallets
[{
accounts: [{
address: "0x774a37cbe7e32752ed114b56ac019aa9579b5690",
url: "keycard://1a14/m/44'/60'/0'/0/0"
}],
status: "Online",
url: "keycard://1a144d65"
}]
When attempting to sign any message I get the following error:
> personal.sign("0xdeadbeaf", "0x774a37cbe7e32752ed114b56ac019aa9579b5690", "347390")
GoError: Error: unexpected response status Cla=0x80, Ins=0xc0, Sw=0x6a80 at web3.js:6365:9(45)
at github.com/ethereum/go-ethereum/internal/jsre.MakeCallback.func1 (native)
at <eval>:1:1(5)
Therefore I can't send a transaction either:
> tx
{
from: "0x774a37cbe7e32752ed114b56Ac019aA9579b5690",
to: "0x3b15ba77fd4f389dafbbf3d8ecb241f781eec943",
value: "1000000000000000"
}
> personal.sendTransaction(tx, "347390")
Error: unexpected response status Cla=0x80, Ins=0xc0, Sw=0x6a80
at web3.js:6365:9(45)
at send (web3.js:5099:62(34))
at <eval>:1:25(5)
According to this page, the error 6A80 is "The parameters in the data field are incorrect."
Note:
- I can easily sign messages using keycard-cli.
- I can perform other task with the Keycard with Geth, like generate new keys.