Can't Unlock Bitcoin Wallet With Correct Password #24015

issue David67821 opened this issue on January 9, 2022
  1. David67821 commented at 8:41 AM on January 9, 2022: none

    I encrypted my wallet. used special characters in the password. And now the password doesn't work (exactly correct). Maybe the problem is in special characters?

    the first character of the password is - ! and the body of the password contains - ~

  2. David67821 added the label Bug on Jan 9, 2022
  3. MarcoFalke removed the label Bug on Jan 9, 2022
  4. MarcoFalke added the label Questions and Help on Jan 9, 2022
  5. MarcoFalke added the label Wallet on Jan 9, 2022
  6. MarcoFalke commented at 9:03 AM on January 9, 2022: member

    What software are you using to send the password to Bitcoin Core? You may have to quote the string with 's.

  7. David67821 commented at 9:05 AM on January 9, 2022: none

    used Bitcoin Core 0.21.1

  8. MarcoFalke commented at 9:29 AM on January 9, 2022: member

    The GUI, the CLI, or the RPC with a third party software?

  9. David67821 commented at 9:32 AM on January 9, 2022: none

    The GUI, the CLI

    maybe there is a way to change the password without GUI?

  10. MarcoFalke commented at 10:24 AM on January 9, 2022: member

    I can neither reproduce with the GUI, nor the CLI on current master.

    ./bitcoin-cli walletpassphrase  '!a~b' 1
    

    works for me.

    How did you set the passphrase and how did you verify that it was set correctly?

  11. David67821 commented at 10:33 AM on January 9, 2022: none

    ./bitcoin-cli walletpassphrase '!a~b' 1

    did on command line, reports: error: Could not connect to the server 127.0.0.1:8332 (error code 1 - "EOF reached") Make sure the bitcoind server is running and that you are connecting to the correct RPC port.

    How did you set the passphrase and how did you verify that it was set correctly? copy - paste

  12. David67821 commented at 10:39 AM on January 9, 2022: none

    after running bitcoind.exe reports: C:\Program Files\Bitcoin8\daemon>bitcoin-cli walletpassphrase '!xxxx~xxxxx' 1 error code: -15 error message: Error: running with an unencrypted wallet, but walletpassphrase was called.

  13. MarcoFalke commented at 11:02 AM on January 9, 2022: member

    Error: running with an unencrypted wallet, but walletpassphrase was called.

    The error says you are running with an unencrypted wallet

  14. MarcoFalke closed this on Jan 9, 2022

  15. DrahtBot locked this on Jan 9, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me