Bitcoin Forum
May 06, 2024, 04:51:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Safest way to upgrade from 2.6.4 wallet on old offline machine?  (Read 82 times)
cipster8080 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 3


View Profile
January 18, 2021, 04:31:22 PM
Merited by Pmalek (1)
 #1

Thanks in advance for any help. I've dug through the archives and Electrum's documentation but I'll admit to being very confused about my best path forward.

Goal:
Transfer access of BTC and any worthwhile forked coins (BCH, BTG) from an offline version of Electrum 2.6.4 to the newest version and/or a hardware wallet

Situation:
  • Last accessed my Electrum wallet in ~2016. It's v2.6.4 on a Windows 7 laptop that has been offline since then, and that I will not be connecting to the internet again. I'm aware of the security vulnerabilities in running that old version while online. The laptop runs and I can still access Electrum on it via password. I know my 12-word seed.
  • I also have a new airgapped laptop running Windows 10 that has never been online, and another PC running Windows 10 that is online all the time. I'm not well-versed in Linux -- all Windows machines here.

Key questions:
  • I could install the latest version of Electrum on the online PC and restore my old wallet using its seed, but I'm reluctant to type the seed into an online computer. What would be the most secure way to move any coins from the addresses I control, either to the latest version of Electrum or to a Trezor or Ledger? I'm not clear on whether there's a way to, for example, do a restore or sweep using an exported wallet backup from the 2.6.4 version with my password but not the seed.
  • Is it possible to install Electrum new on the airgapped PC and then restore the old wallet via seed, while never going online? And then issue a signed transaction that I could copy over to the online PC for broadcasting? Or does Electrum need to be online to restore a wallet from seed?
  • Alternatively, I believe I can get the Master Public Key from my Electrum 2.6.4 wallet. If so, what if I create a watching wallet on my online PC, then create an unsigned transaction on the online PC -- would there then be risk in moving that to the old offline PC still running Electrum 2.6.4 and trying to sign the transaction on that old version, then transferring back for broadcasting? I'm not even sure if that's possible, let alone sensible.

I'll be very grateful to anyone who might help lead me down the right path here. Any pointers on the best way to deal with BCH and BTG after dealing with the BTC would also be welcome. Thank you so much.
1714971089
Hero Member
*
Offline Offline

Posts: 1714971089

View Profile Personal Message (Offline)

Ignore
1714971089
Reply with quote  #2

1714971089
Report to moderator
1714971089
Hero Member
*
Offline Offline

Posts: 1714971089

View Profile Personal Message (Offline)

Ignore
1714971089
Reply with quote  #2

1714971089
Report to moderator
1714971089
Hero Member
*
Offline Offline

Posts: 1714971089

View Profile Personal Message (Offline)

Ignore
1714971089
Reply with quote  #2

1714971089
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714971089
Hero Member
*
Offline Offline

Posts: 1714971089

View Profile Personal Message (Offline)

Ignore
1714971089
Reply with quote  #2

1714971089
Report to moderator
1714971089
Hero Member
*
Offline Offline

Posts: 1714971089

View Profile Personal Message (Offline)

Ignore
1714971089
Reply with quote  #2

1714971089
Report to moderator
1714971089
Hero Member
*
Offline Offline

Posts: 1714971089

View Profile Personal Message (Offline)

Ignore
1714971089
Reply with quote  #2

1714971089
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
January 18, 2021, 04:42:03 PM
 #2

Download the latest version of electrum on the aurgapped machine and restore it using your seed.

If you can get your master public key then you should be able to use something like a USB stick to transfer information between the devices in order to sweep the funds (or you can use qr codes for higher security).
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6379


Looking for campaign manager? Contact icopress!


View Profile
January 18, 2021, 04:46:33 PM
 #3

Download the latest version of electrum on the aurgapped machine and restore it using your seed.

No! The airgapped machine should remain airgapped. Why on earth would he go online with that, for downloading and give others' a chance? No!

OP, download Electrum (electrum.org) onto the live machine, verify it, put it to an USB stick, move it to the airgapped machine, install it there.
Make sure you have the seed for the case something goes wrong. (making a backup of the .wallet file would also not hurt)

LE: if the upgrade doesn't work on Win7, do it on the airgapped Win10 machine.
Follow the steps from here for configuring the live machine too and make the transaction that will send your coins to hardware wallet.

PS. After moving the bitcoins to HW, you can handle the fork coins, see LoyceV's Bitcoin Fork claiming guide (and service)

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
cipster8080 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 3


View Profile
January 18, 2021, 05:08:45 PM
 #4

Thanks so much for the fast replies. I assumed jackg meant download and verify Electrum on the online PC then transfer to airgapped via USB, as you said. 100% with you.

Quote
LE: if the upgrade doesn't work on Win7, do it on the airgapped Win10 machine.
I def prefer to install new on the airgapped Win10 rather than try to upgrade and mess with the old Win7.

So if I'm installing on the airgapped Win10 machine, do I go through the restore-using-seed process to essentially replicate the Win7 wallet on that machine? Or something different? Wasn't sure if that'd work while airgapped. If that seed-restore works and is safe on the airgapped Win10, then I think I do understand the process for creating the watching-only wallet on the online PC and using that to initiate the transfer of any coins into a hardware wallet.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6379


Looking for campaign manager? Contact icopress!


View Profile
January 18, 2021, 05:20:28 PM
 #5

So if I'm installing on the airgapped Win10 machine, do I go through the restore-using-seed process to essentially replicate the Win7 wallet on that machine?

Exactly.
Just make sure you download from official website and verify, as I already wrote.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 19, 2021, 12:58:24 AM
Merited by Pmalek (1)
 #6

I def prefer to install new on the airgapped Win10 rather than try to upgrade and mess with the old Win7.
I agree... stick with Win10. I wouldn't even bother attempting to do anything with the old Windows 7 Laptop. It's only really going to cause more issues Tongue


So if I'm installing on the airgapped Win10 machine, do I go through the restore-using-seed process to essentially replicate the Win7 wallet on that machine? Or something different?
Correct. You just use "Standard Wallet -> I already have a seed" during the wallet creation process. Then input your 12 word seed and Bob is your mother's brother! NOTE: you won't see any transaction history (as the wallet is "offline"), but you will be able to see the addresses and confirm they're the same.

So, download and verify Electrum from: https://electrum.org/#download  You can follow abdussamad's very useful guide on how to verify your Electrum download using Windows here: https://bitcoinelectrum.com/how-to-verify-your-electrum-download/

Once you have it installed on the airgapped machine, and the wallet restored using your 12 word seed, you can just goto "Wallet -> Info" and get your "Master Public Key" (aka XPUB) from the window there and then use that xpub on the online Win10 machine to create the "watching-only" wallet (Standard Wallet -> "Use a Master Key" option during wallet setup)

Then you'll be able to see the full wallet history on the online machine... and you can create a transaction (click "Export -> to File" when prompted) and save the ".psbt" (partially signed bitcoin transaction) file... copy the .psbt file to USB to transfer to the "offline" machine, open the .psbt file on the "offline" machine using "Tools -> Load Transaction -> From File"...

Then sign it... "export -> To file" and this time it will be saving a ".txn" (completed transaction) file... copy that .txn to USB, transfer back to "online" machine... open in Electrum using (Tools -> Load Transaction -> From File)... double check everything looks good and "Broadcast"! Wink

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
cipster8080 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 3


View Profile
January 19, 2021, 02:00:58 AM
Last edit: January 19, 2021, 02:12:25 AM by cipster8080
 #7

Hey, thanks again HCP and NeuroticFish. I've completed the (verified .exe) install on the airgapped Win10 machine via restore seed and the setup of the watching wallet on the online machine. I see the transaction history on the online machine, so all good there.

But I'm not seeing the option to export an unsigned transaction from my watching wallet:
Quote
you can create a transaction (click "Export -> to File" when prompted) and save the ".psbt" (partially signed bitcoin transaction) file

I'm on the 'Send' tab and have entered the destination address and the amount, but the only options I'm seeing are 'Clear', 'Save', and 'Pay...'. Clicking 'Save' just creates an item in the 'Outgoing payments' table below that with status=Unpaid, but I've gone through all the contextual menu options and cannot find an 'Export' function.

The UI also doesn't match the cold storage documentation, so maybe some things have changed for 4.0.9? There's definitely no 'Preview' control on the 'Send' tab as indicated here:
https://electrum.readthedocs.io/en/latest/coldstorage.html

I've double-checked the signature verification of the install file, which I got directly from electrum.org. Any ideas?
cipster8080 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 3


View Profile
January 19, 2021, 02:26:58 AM
Merited by HCP (2)
 #8

Solved it. The UI has definitely changed quite a bit and the documentation on electrum.org is out of date.

I needed to click 'Pay ...' on the 'Send' tab, then 'Send' on the dialog that appears after that, then there's a second dialog that allows the export via QR code, etc.

Thanks again for the help, everyone.
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
January 19, 2021, 03:29:46 PM
 #9

Yeah, I think when people say "download to the airgapped machine", they probably mean "sideload" the app. That's the term for android tho. Or amazon devices (which have a modified version of android).

Air gap implies the machine has never connected to any network (and thus no internet) and will never connect to anything, except through sneakernet or QR codes (needs camera). Disable wifi and bluetooth or make sure they can not run.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!