Author

Topic: bitcoin-qt: how to check my passphrase without transferring money (Read 5669 times)

legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
That is what is so disconcerting, there is not much indication that the wallet is locked at all. 
Do you see the lock symbol in the lower right corner?

I have the same question as the OP.  I just fired up bitcoin-qt and encrypted my wallet.  I am pretty sure the action succeeded, I see the lock on the lower right hand corner of the dialog. Now without sending any money I would like to trigger bitcoin-qt to prompt me for my passphrase, just as a sanity check.


And that's not indication enough?

Regardless every time you try to send it will ask for your passphrase. If your wallet was not encrypted it wouldn't ask. You can then cancel at that point. Or sign a message to test the process completely, as was mentioned.

You are correct that anyone could load that wallet.dat and see the same info about the balance and transactions etc.
newbie
Activity: 3
Merit: 0
That is what is so disconcerting, there is not much indication that the wallet is locked at all. 
Do you see the lock symbol in the lower right corner?

I have the same question as the OP.  I just fired up bitcoin-qt and encrypted my wallet.  I am pretty sure the action succeeded, I see the lock on the lower right hand corner of the dialog. Now without sending any money I would like to trigger bitcoin-qt to prompt me for my passphrase, just as a sanity check.
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
That is what is so disconcerting, there is not much indication that the wallet is locked at all.  

Do you see the lock symbol in the lower right corner?
newbie
Activity: 3
Merit: 0
Older versions used to.

The most recent version does not.
Ah, cool, many thanks for that confirmation.

Can't you just "unlock the wallet" to test?
Well, let's see.  In your copy of bitcoin-qt, do you see an item "unlock the wallet" in the menu?  I don't see that in mine.

That is what is so disconcerting, there is not much indication that the wallet is locked at all.  After encrypting the wallet, I expected that at the very latest on restarting bitcoin-qt I would be prompted for my passphrase.  I was not, which means that someone else could steal my wallet.dat and without even decrypting it load it into bitcoin-qt.

I suppose that the info that bitcoin-qt displays on the wallet without the passphrase is the same info that is publicly available about that wallet.  And I suppose that bitcoin-qt prompts for the passphrase only when absolutely necessary in order to avoid unnecessary exposure to keyboard logging attacks.

Also,
- I told bitcoin-qt to use a different data directory, and now when it starts up it automatically loads from the new directory.  Where does it remember that path?
- How can I prevent bitcoin-qt from downloading the blockchain at startup?  In the help I see various startup options for the network, so I assume I could just pass in an invalid value to one of those parameters, in order to break bitcoin-qt's network connection, is that the best way?
- If I want to wipe the slate clean and start again, should I delete just the wallet file, or the entire data directory?  After the blockchain is downloaded, where does that get stored, in wallet.dat?
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Can't you just "unlock the wallet" to test?

(only just started playing around with raw txs again today so haven't done this stuff for a while)

BTW - For anyone that has downloaded the CIYAM Safe I have updated it today due to a JSON issue that was in the "signtx" script (never received a bug report so am guessing no-one else has come across the issue yet).
legendary
Activity: 3472
Merit: 4801
I have also read elsewhere that bitcoin-qt prompts you for your passphrase when you create a new address, but that is not what I observe.  bitcoin-qt lets me create a new address and it does not ask me for my passphrase.  So is it true or not that bitcoin-qt prompts you for your passphrase when you create a new address?


Older versions used to.

The most recent version does not.
newbie
Activity: 3
Merit: 0
I have the same question as the OP.  I just fired up bitcoin-qt and encrypted my wallet.  I am pretty sure the action succeeded, I see the lock on the lower right hand corner of the dialog. Now without sending any money I would like to trigger bitcoin-qt to prompt me for my passphrase, just as a sanity check.

when using "sign message" you are prompted for the password. also if you create a new address.

I have also read elsewhere that bitcoin-qt prompts you for your passphrase when you create a new address, but that is not what I observe.  bitcoin-qt lets me create a new address and it does not ask me for my passphrase.  So is it true or not that bitcoin-qt prompts you for your passphrase when you create a new address?

Also,
- I told bitcoin-qt to use a different data directory, and now when it starts up it automatically loads from the new directory.  Where does it remember that path?
- How can I prevent bitcoin-qt from downloading the blockchain at startup?  In the help I see various startup options for the network, so I assume I could just pass in an invalid value to one of those parameters, in order to break bitcoin-qt's network connection, is that the best way?
- If I want to wipe the slate clean and start again, should I delete just the wallet file, or the entire data directory?  After the blockchain is downloaded, where does that get stored, in wallet.dat?

Many Thanks.
hero member
Activity: 668
Merit: 501
when using "sign message" you are prompted for the password. also if you create a new address.

if you just want to check if you still know it these options are most simple.
legendary
Activity: 2128
Merit: 1073
You can't change it to what it currently is?
It is not the same as leaving it unchanged. The key streetching parameter is recomputed afresh with each passphrase change, and this may be undesirable.

I simply tried to send more coins that the wallet contains in total: I would safely get an error message stating the above after the successfull decryption.

I haven't tried the most recent code, I'm still running the older versions, the code may have changed.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
It's not so convenient because I would not prefer to change current passphase.

You can't change it to what it currently is?
newbie
Activity: 30
Merit: 0
Also the "change passphrase" option can be used to check your passphrase which is a menu option in bitcoin-qt.

It's not so convenient because I would not prefer to change current passphase.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Also the "change passphrase" option can be used to check your passphrase which is a menu option in bitcoin-qt.

Good one (don't know how I missed that).
sr. member
Activity: 247
Merit: 250
Also the "change passphrase" option can be used to check your passphrase which is a menu option in bitcoin-qt.
newbie
Activity: 30
Merit: 0
Thanks!

debug window is good for me.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
If you are not worried that someone might *observe* your password if it appears on the screen then you could use Help->Debug then go to the Console and issue the RPC command: walletpassphrase 1

If you don't want it to be visible then perhaps try by sending funds to yourself?
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
You can use pywallet (https://github.com/joric/pywallet), but it sure is not the more practical way to do that
Maybe an rpc command?
newbie
Activity: 30
Merit: 0
Hi!

I have several wallets. I encrypted my wallets.

I would like to check my paraphrases sometimes to ensure that I do not forget it.
Jump to: