Password Doesn't Work After Hard Reset - But Wallet Works If I Don't Put Any Password

Discussion in 'Security' started by Tivra, Feb 27, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. Tivra

    Tivra Member
    Advocate (BitcoinTalk)

    Dec 30, 2015
    120
    60
    Europe
    After a hard reset of the PC (power blackout) , the wallet doesn't work when I run it normally , using the same password as always. I get:

    09:36:59 2016-02-27 [ERR] DCRW: invalid passphrase for master public key

    So I was playing with it to make it work, and I tried without putting any wallet passphrase (except the dcrd u/p)... and it works!

    I'm really puzzled by this.

    What gives?



    EDIT: Additional info: I was Stake mining before the rest.
     
  2. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    hmm odd, @ceejep can you say something about this?

    EDIT: maybe you should file an issue on github, it could be some kind of bug. or maybe your wallet got corrupted due to abrupt shutdown. But that won't explain why it will start working w/o a public passphrase.
     
    Tivra likes this.
  3. Tivra

    Tivra Member
    Advocate (BitcoinTalk)

    Dec 30, 2015
    120
    60
    Europe
    OK, I'll look into how to file a report on Github. Btw. how dangerous is it to run a wallet without a passphrase? What am I risking?
     
  4. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    you can also try https://webchat.freenode.net/?channels=decred-dev IRC channel for talking to devs directly. With no public passphrase people can only watch your address if they are able to steal your wallet file. With no private passphrase they can spend your coins too if they get your wallet file or seed.
     
    Tivra likes this.
  5. Tivra

    Tivra Member
    Advocate (BitcoinTalk)

    Dec 30, 2015
    120
    60
    Europe
    Thank you, I'll try asking there.

    By the way, if you create the wallet on another PC with seed, and choose a different password, it means there are then 2 copies of the wallet file, each having a different password, right? That's correct?
     
  6. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    That is a new case for me. You mean you create a wallet w/o password on first PC and then use same seed to create another wallet on other PC but this time with password or a different password? In that case, and i am speculating here, there should be problems in syncing tx if you make tx from both wallets as one will have encrypted key while other will not or both have different encryption. BTW why would you that? lol
     
  7. Tivra

    Tivra Member
    Advocate (BitcoinTalk)

    Dec 30, 2015
    120
    60
    Europe
    I was asking theoretically, I'm trying to understand what happened to my wallet.
    The password is stored in the wallet file, right?

    If I delete my wallet and recreate it with the seed, it should be OK with new passphrase, no?
     
  8. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    i am not at all sure so please wait until someone who knows answers this. BTW you need no login or ID for contacting devs on IRC, if someone is there you can ask right now w/o any fuss of creating an account.
     
    Tivra likes this.
  9. Tivra

    Tivra Member
    Advocate (BitcoinTalk)

    Dec 30, 2015
    120
    60
    Europe
    Is there a command to set/change the passphrase ?
     
  10. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    For private passphrase there is --wallet walletpassphrasechange "oldpassphrase" "newpassphrase"

    but i dont think there is one for public passphrase.
     

Share This Page