Go-ethereum: could not decrypt key with given passphrase

Created on 13 Jan 2018  ·  6Comments  ·  Source: ethereum/go-ethereum

Hi there,

I Call personal_signAndSendTransaction method by RPC.
return follow error:
“could not decrypt key with given passphrase”.
I want to know
The two parameters used by the function passphrase must be the same one?
person.newAccount ()
personal_sendTransaction

System information

Geth version: 1.7.3
OS & Version:Linux

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Backtrace

[backtrace]

All 6 comments

Well, yes. When creating a new account, you encrypt your private key with a password. In order to access that account, you need to decrypt it with the original password you use to encrypt it with.

Same issue with: instance=Geth/v1.8.22-stable-7fa3509e/linux-amd64/go1.10.4

Failed account unlock attempt address=0x679fcd4F9d01601B15479977826F9763B71FFFFF err="could not decrypt key with given passphrase"

@chrc You need to provide more context.

  • Are you saying that you are unable to unlock with the password?
  • Are you saying that that line of text appears in your logs?

If it's the latter, someone is trying to bruteforce unlock your account, to steal your funds. Don't expose RPC on the internet, and definitely not with the personal API namespace enabled.

Same issue with: instance=Geth/v1.8.22-stable-7fa3509e/linux-amd64/go1.10.4

Failed account unlock attempt address=0x679fcd4F9d01601B15479977826F9763B71FFFFF err="could not decrypt key with given passphrase"

I also faced this error.
( ethereum version 1.8.23-stable-c9427004 , rinkeby and ropsten network , AWS ec2)

创世块的初始密码是什么呢?我给忘记了

I encountered a similar error when trying to unlock an account using the command-line flag for doing so on a mining/sealing node, in Geth 1.9.1. This cross-link is provided for reference.

Was this page helpful?
0 / 5 - 0 ratings