Author

Topic: Spaces in the password unlocking the wallet (bitcoin-cli). (Read 1332 times)

copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
No, that will not work. You have to surround your passphrase with quotes, so like
Code:
walletpassphrase "120 130 140" 150
What if the quote is a part of password?  Tongue (this ia s joke, not a question, not a problem)


Escape it  Roll Eyes
legendary
Activity: 1260
Merit: 1019
No, that will not work. You have to surround your passphrase with quotes, so like
Code:
walletpassphrase "120 130 140" 150
What if the quote is a part of password?  Tongue (this ia s joke, not a question, not a problem)
staff
Activity: 3458
Merit: 6793
Just writing some code
1. Using bitcoin-qt one can enter password with spaces in the window to decrypt the wallet. How to do it with bitcoin-cli? Imagine a password is 120 130 140 (two spaces between the numbers), if I type walletpassphrase 120 130 140 150 will bitcoin-cli interpret 120 130 140 as password (with two spaces) and 150 as timeout?
No, that will not work. You have to surround your passphrase with quotes, so like
Code:
walletpassphrase "120 130 140" 150

2. What if spaces are at the beginning and the end of password? How to send such phrase using bitcoin-cli (in GUI when typing spaces arrows appear, so I think GUI normally "sees" those spaces). Thanks!
Again, use double quotes around your entire passphrase.
newbie
Activity: 5
Merit: 0
1. Using bitcoin-qt one can enter password with spaces in the window to decrypt the wallet. How to do it with bitcoin-cli? Imagine a password is 120 130 140 (two spaces between the numbers), if I type walletpassphrase 120 130 140 150 will bitcoin-cli interpret 120 130 140 as password (with two spaces) and 150 as timeout?

2. What if spaces are at the beginning and the end of password? How to send such phrase using bitcoin-cli (in GUI when typing spaces arrows appear, so I think GUI normally "sees" those spaces). Thanks!
Jump to: