This question already has an answer here:
I have an old
wallet.dat file with a few Bitcoins. It is stored in an isolated computer that is not connected to the internet.
I would like to get rid of the
wallet.dat file, and move all the Bitcoins in it to a few separate paper wallets (created using bitaddress.org).
The naive approach would be installing Bitcoin-QT, and make the transaction. Unfortunately, this is insecure - hackers could potentially steal my Bitcoins while I am online.
The secure way should probably be something like:
- Import the private key from
wallet.datusing some command-line tool, on the offline computer.
- Sign a transaction on the offline computer.
- Copy the signed transaction (sans any private key!) to an online computer using a flash drive.
- Publish the transaction from the online computer.
Any advice how to sign a transaction offline and publish it offline, to salvage the bitcoins from my