Is There An Interactive Wallet Unlock Feature?

Discussion in 'Questions' started by in-cred-u-lous, Sep 3, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. in-cred-u-lous

    in-cred-u-lous New Member

    Apr 25, 2016
    17
    4
    Oslo
    I am running into some issues unlocking my wallet. I use the command `./dcrctl --wallet walletpassphrase "secret" 0` byt my "secret" happens to include some unusual characters that does not seem to parse correctly. So, I get this error:

    Code:
    $ ./dcrctl --wallet walletpassphrase "secret" 0
    > ^C
    $
    like that...

    And this is when I realize that I probably just saved my secret in .bash_history...

    How can I now proceed to unlock my wallet?

    For safety, is there also a feature, using either dcrwallet or dcrclt that allows me to unlock my wallet interactively? i.e. that does not require me enter my secret on the command line or in a conf file?
     
  2. N3wb1e

    N3wb1e New Member

    Jun 12, 2016
    65
    12
    Europe
    Do you use config-file in dcrwallet?, if yes try add "promptpass=1" Then it asks passwords immediatly, when you start dcrwallet.
     
    jy-p and in-cred-u-lous like this.
  3. in-cred-u-lous

    in-cred-u-lous New Member

    Apr 25, 2016
    17
    4
    Oslo
    Perfect, just what I was looking for :)
     
  4. jy-p

    jy-p Sr. Member
    Organizer

    Jan 2, 2016
    133
    340
    Male
    the best option for typing the passphrase on the command line directly is single quotes, not double quotes. that said, doing this interactively and not on the command line is the right way to do it for maximum security.
     

Share This Page