<p>You could use MyEtherWallet.com to check your password. Go to the "<a href="https://www.myetherwallet.com/#view-wallet-info" rel="nofollow noreferrer">View Wallet Info</a>" section and select your keystore file (the wallet file with .json at the end). Enter the right password. If it shows "Success! Here are your wallet details." you have the right password.</p>

CC BY-SA 3.0
2017-05-24T18:15:30.290Z
This looks like a scam.  I advise anyone reading this to NOT upload your wallet file and give a website your password.
Jestin
CC BY-SA 3.0
2017-05-25T17:37:34.287Z
No, MyEtherWallet.com is legit. You don't upload anything. It processes your keys client-side. If you don't trust it, you can download it from git and use your own copy locally: https://github.com/kvhnuke/etherwallet
q9f
CC BY-SA 3.0
2017-05-25T19:23:01.373Z
@5chdn, thanks for the clarification.  You have to admit, this looked very sketchy.
Jestin
CC BY-SA 3.0
2017-05-26T07:09:08.133Z
@5chdn is right. I corrected the sloppy choice of words in my answer and replaced "upload" with "select". The file is not uploaded but processed client-side.
Sebastian Knopp
CC BY-SA 3.0
2017-05-23T08:11:47.657Z
2017-05-26T07:07:06.353Z
2017-05-26T07:07:06.353Z
Sebastian Knopp
<p>It is possible with <a href="https://github.com/ethereum/pyethsaletool/blob/master/pyethsaletool.py" rel="nofollow">pyethsaletool</a>:</p>

<pre><code>./pyethsaletool recover -w your-wallet.json -p password
</code></pre>

<p>In case of password failure it will throw something like </p>

<pre><code>ValueError: String ending with 'X' can't be PCKS7-padded
</code></pre>

<p>If password is valid, it will show your seed (long string of random characters).</p>

<p>Actually <code>pyethsaletool</code> uses supplied password to AES-decrypt <code>encseed</code> field from the wallet. This seed is SHA3-hashed to get private key and ethereum address which is compared to the one from the wallet.</p>

CC BY-SA 3.0
2014-10-03T17:09:55.777Z
2015-07-02T12:34:29.947Z
2015-07-02T12:34:29.947Z
max taldykin
<p>You can use the Parity Ethereum Wallet, it has a <em>test password</em> feature: <a href="https://parity.io" rel="nofollow noreferrer">parity.io</a>. You can either use the <code>parity_testPassword</code> <a href="https://github.com/paritytech/parity/wiki/JSONRPC-parity_accounts-module#parity_testpassword" rel="nofollow noreferrer">RPC call</a>:</p>

<pre><code>curl --data '{"method":"parity_testPassword","params":["0x407d73d8a49eeb85d32cf465507dd71d507100c1","hunter2"],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
</code></pre>

<p>Or use the graphical wallet interface and go to Accounts > Open the Account in question > Click password and chose "Test".</p>

<p><sup><em>Disclosure: I work for Parity.</em></sup></p>

CC BY-SA 3.0
2017-05-25T17:41:19.427Z
2017-05-25T17:41:19.427Z
q9f
<p>You could check by starting a <a href="https://github.com/ethereum/go-ethereum/wiki/geth" rel="noreferrer">geth console</a> and using the <a href="https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console#personalunlockaccount" rel="noreferrer">personal.unlockAccount</a> function: </p>

<pre><code>$ geth console
&gt; personal.unlockAccount("address", "password")
</code></pre>

CC BY-SA 3.0
2017-08-15T21:26:24.960Z
Ummm so I unlocked it... Do I need to lock it again, and if so, how do I do it?
Kebman
CC BY-SA 3.0
2017-08-16T10:36:19.177Z
The account should be automatically locked after few seconds.

personal.unlockAccount(addr, passwd, duration)

Unlock the account with the given address, password and an optional duration (in seconds). If password is not given you will be prompted for it.
Gotenks
CC BY-SA 3.0
2015-10-16T12:03:01.123Z
2015-10-17T12:20:27.723Z
2015-10-17T12:20:27.723Z
Gotenks
<p>I have an Ethereum wallet and wish to check if some password was used to create it.<br />
How this could be done?</p>

CC BY-SA 4.0
2022-10-06T12:15:53.923Z
I’m voting to close this question because it belongs on the Ethereum stackexchange site.
Pieter Wuille
<wallet><ethereum>
Check password for ethereum wallet
max taldykin
# Check password for ethereum wallet

(Asked by: username_0 on 2014-09-30)

I have an Ethereum wallet and wish to check if some password was used to create it.  
How this could be done?

**Tags:** wallet, ethereum

> **Comments:**
> **username_1**: I’m voting to close this question because it belongs on the Ethereum stackexchange site.  

---

## 4 answers

### Answer by username_5 on 2015-10-16. Score: 10 | Accepted answer

You could check by starting a [geth console](https://github.com/ethereum/go-ethereum/wiki/geth) and using the [personal.unlockAccount](https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console#personalunlockaccount) function:

```
$ geth console
> personal.unlockAccount("address", "password")

```

> **Comments:**
> **username_6**: Ummm so I unlocked it... Do I need to lock it again, and if so, how do I do it?  
> **username_5**: The account should be automatically locked after few seconds.  personal.unlockAccount(addr, passwd, duration)  Unlock the account with the given address, password and an optional duration (in seconds). If password is not given you will be prompted for it.  

---

### Answer by username_2 on 2017-05-23. Score: 3

You could use MyEtherWallet.com to check your password. Go to the "[View Wallet Info](https://www.myetherwallet.com/#view-wallet-info)" section and select your keystore file (the wallet file with .json at the end). Enter the right password. If it shows "Success! Here are your wallet details." you have the right password.

> **Comments:**
> **username_3**: This looks like a scam.  I advise anyone reading this to NOT upload your wallet file and give a website your password.  
> **username_4**: No, MyEtherWallet.com is legit. You don't upload anything. It processes your keys client-side. If you don't trust it, you can download it from git and use your own copy locally: https://github.com/kvhnuke/etherwallet  
> **username_3**: @5chdn, thanks for the clarification.  You have to admit, this looked very sketchy.  
> **username_2**: @5chdn is right. I corrected the sloppy choice of words in my answer and replaced "upload" with "select". The file is not uploaded but processed client-side.  

---

### Answer by username_0 on 2014-10-03. Score: 3

It is possible with [pyethsaletool](https://github.com/ethereum/pyethsaletool/blob/master/pyethsaletool.py):

```
./pyethsaletool recover -w your-wallet.json -p password

```

In case of password failure it will throw something like

```
ValueError: String ending with 'X' can't be PCKS7-padded

```

If password is valid, it will show your seed (long string of random characters).

Actually `pyethsaletool` uses supplied password to AES-decrypt `encseed` field from the wallet. This seed is SHA3-hashed to get private key and ethereum address which is compared to the one from the wallet.


---

### Answer by username_4 on 2017-05-25. Score: 1

You can use the Parity Ethereum Wallet, it has a *test password* feature: [parity.io](https://parity.io). You can either use the `parity_testPassword` [RPC call](https://github.com/paritytech/parity/wiki/JSONRPC-parity_accounts-module#parity_testpassword):

```
curl --data '{"method":"parity_testPassword","params":["0x407d73d8a49eeb85d32cf465507dd71d507100c1","hunter2"],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545

```

Or use the graphical wallet interface and go to Accounts > Open the Account in question > Click password and chose "Test".

*Disclosure: I work for Parity.*


---

