BirthdayResearch / defichain-app

DeFi Blockchain desktop app for Windows, Linux and Mac.
https://defichain.com
MIT License
157 stars 57 forks source link

Are private keys saved within a backup file? #699

Closed ChLeonhartsberger closed 3 years ago

ChLeonhartsberger commented 3 years ago

What happened:

When starting the creation of a new wallet i faced some frozen screens and I forced the machine to close the app. What happened next .. I never got my private keys because when I reentered the app everything was like if I successfully created a new wallet. At the moment I am not able to unlock the wallet because i never saw my private keys. I have a few backups of my wallet. Is there some information in which can help to get the private keys out?

What you expected to happen:

Advice how to get the private keys?

What are your environment parameters?

Anything else we need to know?: -

BinaryLogs_2021-03-22_18_53.log AppLogs_2021-03-22_18_53.log

defichain-bot commented 3 years ago

@ChLeonhartsberger: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

In the meantime, you can:

  1. Checkout DeFiChain’s Github issue page to see if your issue has already been reported
  2. Submit any logs if you have them, this will greatly expedite the process for us.
  3. You can also join our Telegram or Reddit community channels.
Details I am a bot created to help the [DeFiCh](https://github.com/DeFiCh) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/DeFiCh/app/blob/master/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.
RobinTorque commented 3 years ago

Instructions for reading the private key: https://defichain-wiki.com/wiki/Private_key_read_out_of_the_app

Basically, it is not necessary to read out a private key. The Wallet.dat contains all important information.

izzycsy commented 3 years ago

Hi @ChLeonhartsberger , try to restore wallet using your wallet.dat. The route to the wallet.dat as stated, please backup first before updating to v2.3.2.

Mac — Go to Folder: 
/Users//Library/Application Support/DeFi/wallets/wallet.dat

Restore wallet from backup
izzycsy commented 3 years ago

v2.3.2 is a mandatory update. 
Please read through the release notes before updating.

Do give a thumbs up to this comment if your issue has been resolved, otherwise, please send new information (include screenshots) and app logs. Thank you

ChLeonhartsberger commented 3 years ago

Thank you for the quick feedback! I will check as soon as possible.

ChLeonhartsberger commented 3 years ago

I checked now and come to the conclusion that I never fully entered the passphrase. I searched in the app logs if i successfully entered the passphrase some time but i only see a time out log.

image

As a consequence I am not able to unlock my wallet again.

image

I already read in a different conversation that if you can't remember your passphrase you have no chance to unlock again, but what if I never entered the passphrase. Please confirm that timeout error in the logfile states that I never successfully changed the passphrase and please advice what I can do.

Sidenote: I only transferred DFI & Bitcoin to an address on the wallet, but nothing more.

thedoublejay commented 3 years ago

@ChLeonhartsberger How did you create your wallet?

izzycsy commented 3 years ago

Hi @ChLeonhartsberger , did you create a passphrase via the CLI? In the app UI, before you enter your wallet, setting of a passphrase consists of a double confirmation before the wallet is locked. To get to the screen you've shown, you did create a passphrase otherwise it's impossible for it to be locked.

ChLeonhartsberger commented 3 years ago

So you as an expert say that you can't see something wrong in the log file?

Damn I almost tried 1h to find out my passphrase. Normally I have only a hand full of easy passwords I use almost everywhere.

AppLogs_2021-03-22_18_53.log

izzycsy commented 3 years ago

Hi @ChLeonhartsberger , we are no experts, we're part of this community trying to help users resolve their issues. And we won't ask you for your passphrase, as it's crucial to unlocking your wallet. It's likely that you've created your passphrase otherwise you would not be directed to that screen. Please try to remember your passphrase. In the mean time I'll send your logs for investigation. Can you send you binary log & app config as well please.

2 Compress 1 App log
ChLeonhartsberger commented 3 years ago

Ok. Understand. Thanks. btw: compared with my experience you are for sure experts.

app logs.zip

ChLeonhartsberger commented 3 years ago

Hi again. You can close the issue. Found my passphrase.

Most of the time the problem sits in front of the PC!

thedoublejay commented 3 years ago

@ChLeonhartsberger no worries. Glad to be able to help.