Author

Topic: How to decrypt electrum wallet encrypted file backup? (Read 153 times)

legendary
Activity: 2268
Merit: 18509
I disabled TrustedCoin and made it 2-of-2 multisig.
You didn't. It's still 2-of-3 multi-sig, you just have two private keys in the same wallet.

Does the wallet actually store 2 master private keys?
The standard 2FA wallet doesn't, it only stores one. If you use the seed phrase to recover the wallet and disabled TrustedCoin's 2FA, then the recovered wallet will indeed store two, so you can spend from it without going through the 2FA process.



I would say it's safer to not do any of this, and just keep your seed phrase securely stored offline. Once you start storing two private keys in the same unencrypted wallet file, then you have lost all the benefits of a multi-sig wallet and are essentially just using an insecure hot wallet.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
-snip- But what about if I backup the wallet encrypted and my laptop is damaged and I want to recover through encrypted backup file. Is it possible to buy another laptop, recover the private keys from the encrypted file backup if I download electrum on the new electrum wallet downloaded on new laptop?

Though I will have my seed phrase too in case that does not work.
Then just load the existing wallet file to the new laptop's Electrum.
It will work like how it used to be in the damaged laptop.

I can't see any reason to go for the trouble of decrypting the wallet file to get the keys if you have the seed phrase as backup.
copper member
Activity: 2184
Merit: 4238
Join the world-leading crypto sportsbook NOW!
I used this method for the unencrypted means to backup the file. But what about if I backup the wallet encrypted and my laptop is damaged and I want to recover through encrypted backup file. Is it possible to buy another laptop, recover the private keys from the encrypted file backup if I download electrum on the new electrum wallet downloaded on new laptop?

Though I will have my seed phrase too in case that does not work.

A corrupted file is a corrupted file, regardless of whether it's encrypted or not.  Sure they're may be some readable text in an unencrypted file that might give you most of the private key(s), but that's just a roll of the dice.  Regardless of whether the file is encrypted or not, you'll want to make regular backups and keep them secure.  An encrypted wallet file can be opened on any machine with Electrum installed, all that's needed is the password.
 

I would be more comfortable with using the seed as a backup method. It would definitely work and there is no reason why backing up the file would be better than it, unless you need the labels and stuff like that. I would probably avoid exposing the seed so much as well.

Of course the seed phrase should be your primary backup, but it's nice to save labels and contacts.  That is, in fact all that backing up the wallet file will buy you.
legendary
Activity: 2954
Merit: 4158
I used this method for the unencrypted means to backup the file. But what about if I backup the wallet encrypted and my laptop is damaged and I want to recover through encrypted backup file. Is it possible to buy another laptop, recover the private keys from the encrypted file backup if I download electrum on the new electrum wallet downloaded on new laptop?

Though I will have my seed phrase too in case that does not work.
It will. The password will work so long as the file is uncorrupted, no matter where you decrypt it.

I would be more comfortable with using the seed as a backup method. It would definitely work and there is no reason why backing up the file would be better than it, unless you need the labels and stuff like that. I would probably avoid exposing the seed so much as well.

If you're looking for a method, just make sure the wallet file is unencrypted (with the encrypted keys) then extract the encrypted seeds. Afterwards, just use OpenSSL or similar utility and decrypt it with AES-256-CBC.
hero member
Activity: 868
Merit: 1094
What's wrong with using Electrum itself? After all the software creates the wallet and encrypt/decrypt it itself and it is the best option to use instead of some third party application that may be buggy in best case scenario or malicious in worse.

You can remove the file's password inside Electrum by going to Wallet > Password option from menu and then entering your password and leaving the other two boxes empty.
Otherwise it is trivial to look at the source code and write something that decrypts wallet files using AES.
I used this method for the unencrypted means to backup the file. But what about if I backup the wallet encrypted and my laptop is damaged and I want to recover through encrypted backup file. Is it possible to buy another laptop, recover the private keys from the encrypted file backup if I download electrum on the new electrum wallet downloaded on new laptop?

Though I will have my seed phrase too in case that does not work.

Does the wallet actually store 2 master private keys? I thought the mnemonic was a representation of 2 but one of the keys wasn't stored in the wallet, one was and one was with trustedcoin? I'm just curious if this is going to be usable for people who lose their 2fa and only have their wallet file if 2 of the keys are stored there.
If you have disabled TrsutedCoin and make it 2-of-2 multisig, you will be able to access your two private keys on the file backup.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
I am using electrum, I created a 2fa wallet with it. I wanted to be able to access my two master private keys while the third is with TrustedCoin, I imported the seed phrase on another electrum wallet, I disabled TrustedCoin and made it 2-of-2 multisig. I removed the password and backup the wallet file. I used text editor to easily see my two master private key.

Does the wallet actually store 2 master private keys? I thought the mnemonic was a representation of 2 but one of the keys wasn't stored in the wallet, one was and one was with trustedcoin? I'm just curious if this is going to be usable for people who lose their 2fa and only have their wallet file if 2 of the keys are stored there.
legendary
Activity: 3444
Merit: 10558
I think the password of my electrum makes the file to be encrypted which is safer. Is there a way or a tool I can use to decrypt the file?
What's wrong with using Electrum itself? After all the software creates the wallet and encrypt/decrypt it itself and it is the best option to use instead of some third party application that may be buggy in best case scenario or malicious in worse.

You can remove the file's password inside Electrum by going to Wallet > Password option from menu and then entering your password and leaving the other two boxes empty.
Otherwise it is trivial to look at the source code and write something that decrypts wallet files using AES.
hero member
Activity: 868
Merit: 1094
I am using electrum, I created a 2fa wallet with it. I wanted to be able to access my two master private keys while the third is with TrustedCoin, I imported the seed phrase on another electrum wallet, I disabled TrustedCoin and made it 2-of-2 multisig. I removed the password and backup the wallet file. I used text editor to easily see my two master private key.

But I will prefer file backup with my password included, but if I backup the 2fa wallet with my electrum password enabled, I was unable to read the wallet file on text editor as it is full of what I did it know.

I think the password of my electrum makes the file to be encrypted which is safer. Is there a way or a tool I can use to decrypt the file?
Jump to: