Bitcoin Forum
May 08, 2024, 02:28:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: 1 2 [All]
  Print  
Author Topic: How to spend from cold storage?  (Read 3370 times)
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
December 31, 2013, 02:28:32 PM
 #1

I'm testing my cold storage solution, here's what I've done.

Booted into Ubuntu 13.10 Live CD. Went to bitaddress.org and loaded the page. Pulled out my network cable. Created three wallets BIP38 encrypted with a 30 char passphrase which was generated from LastPass. The paper wallets were printed to pdf and stored in a truecrypt volume.

I've sent 0.01 BTC to one of the addresses as a test, and it seemed to work OK. I now want to test that I can spend that by sending it back. How can I spend a bitaddress.org address securely?

Thanks for any tips.
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715135288
Hero Member
*
Offline Offline

Posts: 1715135288

View Profile Personal Message (Offline)

Ignore
1715135288
Reply with quote  #2

1715135288
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
December 31, 2013, 04:21:46 PM
 #2

How can I spend a bitaddress.org address securely?

Import the private key into Armory running on a secure offline computer?

or

createrawtransaction & signrawtransaction
in Bitcoin-Qt running on a secure offline computer?
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
December 31, 2013, 04:26:56 PM
 #3

You can sweep the paper wallet with the Mycelium app. It only uses the private key in ram and then deletes it.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
December 31, 2013, 04:34:46 PM
 #4

Import the private key into Armory running on a secure offline computer?

How does the transaction get into the blockchain if it's offline? I want to send the bitcoin from my offline wallet to an online wallet to test that I can actually get my bitcoin out of cold storage before I put more in.

createrawtransaction & signrawtransaction
in Bitcoin-Qt running on a secure offline computer?
I have no idea what that means.  Shocked
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
December 31, 2013, 04:38:17 PM
 #5

You can sweep the paper wallet with the Mycelium app. It only uses the private key in ram and then deletes it.

I don't have an Android device, does it run on anything else? I have an iPhone but am thinking of ditching it soon...
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
December 31, 2013, 04:38:24 PM
 #6

Import the private key into Armory running on a secure offline computer?

How does the transaction get into the blockchain if it's offline? I want to send the bitcoin from my offline wallet to an online wallet to test that I can actually get my bitcoin out of cold storage before I put more in.

createrawtransaction & signrawtransaction
in Bitcoin-Qt running on a secure offline computer?
I have no idea what that means.  Shocked

Armory offline allows you to create a transaction, and then save that transaction to a USB drive.

You can then connect the USB drive to a computer running Armory online and use it to broadcast the transaction without every having your private key on an online computer.  It is essentially automating the process of using createrawtransaction & signrawtransaction for you.
nobbynobbynoob
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


Annuit cœptis humanae libertas


View Profile WWW
December 31, 2013, 04:39:10 PM
 #7

createrawtransaction & signrawtransaction
in Bitcoin-Qt running on a secure offline computer?
I have no idea what that means.  Shocked

Yeah, definitely don't attempt this method if you don't know what you're doing. I kind of understand the bitcoind createrawtransaction and signrawtransaction commands, but wouldn't mess with them myself.

Earn Free Bitcoins!   Earn bitcoin via BitcoinGet
BTC tip: 1PKkvuwC24Vqjv9odigXs1QVzE66jEJqmb (if <200 µBTC, please donate to charity)
LTC tip: LRqXaNdF79QHvhPpS5AZdEJZnLiNnAkJvq (if <Ł0,05, please donate to charity)
gsingh
Member
**
Offline Offline

Activity: 146
Merit: 10


View Profile
December 31, 2013, 05:19:33 PM
 #8

You can sweep the paper wallet with the Mycelium app. It only uses the private key in ram and then deletes it.

How secure is this method? Is there any chance of being hacked if device is infected?

cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
December 31, 2013, 07:07:35 PM
 #9

Until there is a Trezor style Armory, security will be an issue for most.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
kellrobinson
Sr. Member
****
Offline Offline

Activity: 304
Merit: 380


View Profile
January 01, 2014, 12:42:47 AM
 #10

yenom, to use Armory or QT, you would probably have to download the entire blockchain; at least that's my understanding of Armory and QT, though I've never used either.  If you have the bandwidth, then go ahead.
Or you could import your private key into a light client of your choice, based on the balance of convenience and security you desire, what operating system you use etc.
You could also do it without using a wallet at all.
Like you, I did a little experimenting with bitaddress.org, generating and funding a brainwallet address with a nominal amount of btc.  To spend from that address, I used brainwallet.org.
I did it the quick easy way by going to the transactions page and entering my private key. This obviously involved some risk, because I was online when I entered the private key.
If you're willing to go to a little effort, you can do the whole thing without ever exposing your private key.  It's called an offline transaction.  You can do offline transactions from some wallets.   I'm pretty sure you can do an offline transaction using brainwallet.org too, but I haven't done it yet, so I won't presume to give you instructions.
If you go the brainwallet.org route, I would suggest spending the entire contents of the address.   See this thread:
https://bitcointalk.org/index.php?topic=388977.0
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
January 01, 2014, 02:38:21 AM
 #11

You can sweep the paper wallet with the Mycelium app. It only uses the private key in ram and then deletes it.

I don't have an Android device, does it run on anything else? I have an iPhone but am thinking of ditching it soon...

Definitely ditch an iphone if you want any bitcoin functionality Wink
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
January 01, 2014, 02:50:55 PM
 #12

Today I tried to spend the money, no success.

I installed Electrum on my Ubuntu VM and disconnected the network. In Electrum I did Wallet->Private Keys->Import. I typed in my private key from bitaddress.org and got this screen. I double checked it and it is correct. What am I doing wrong?

nobbynobbynoob
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


Annuit cœptis humanae libertas


View Profile WWW
January 01, 2014, 03:18:05 PM
 #13

Maybe you need to decrypt the wallet first? This is how it works in Qt, don't know about Electrum though.

Earn Free Bitcoins!   Earn bitcoin via BitcoinGet
BTC tip: 1PKkvuwC24Vqjv9odigXs1QVzE66jEJqmb (if <200 µBTC, please donate to charity)
LTC tip: LRqXaNdF79QHvhPpS5AZdEJZnLiNnAkJvq (if <Ł0,05, please donate to charity)
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
January 01, 2014, 03:42:52 PM
 #14

Maybe you need to decrypt the wallet first? This is how it works in Qt, don't know about Electrum though.

How do I do that?
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
January 01, 2014, 07:23:29 PM
 #15

Maybe you need to decrypt the wallet first? This is how it works in Qt, don't know about Electrum though.

How do I do that?

Using bitaddress.org wallet details tab. Enter the encrypted private key there and then the password to decrypt it.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
January 01, 2014, 07:29:50 PM
 #16

The best way to spend from a paper wallet is to

-  Use armory's sweep key function on an online computer to sweep the funds to an existing address: https://bitcoinarmory.com/about/features/

- create a temporary blockchain.info (bci) mywallet for the express purpose of importing the private key and then send ALL the coins to an address in your main wallet.

If you do it any other way you risk getting caught by change flowing to different addresses that you had no idea you had to preserve.

Needless to say once you've spent the coins in a private key via any of the above two methods you should make it a point to never use the private key again.

Finally if all of this sounds too much work for you then that's because it is. It is wrong to advice newbies to go the paper wallet route. If you are that worried about your coins use offline electrum. Very easy and you get unlimited addresses.
nobbynobbynoob
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


Annuit cœptis humanae libertas


View Profile WWW
January 02, 2014, 01:02:14 AM
 #17

Maybe you need to decrypt the wallet first? This is how it works in Qt, don't know about Electrum though.

How do I do that?

Electrum? No idea, sorry. Sad
Bitcoin-QT? Access the Debug console from the Help menu and type:
Code:
walletpassphrase <passphrase, enclosed in quotes if it contains spaces> <duration in seconds to keep the wallet unlocked>
importprivkey <private key, compressed format?>

Earn Free Bitcoins!   Earn bitcoin via BitcoinGet
BTC tip: 1PKkvuwC24Vqjv9odigXs1QVzE66jEJqmb (if <200 µBTC, please donate to charity)
LTC tip: LRqXaNdF79QHvhPpS5AZdEJZnLiNnAkJvq (if <Ł0,05, please donate to charity)
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
January 02, 2014, 02:27:53 AM
 #18

Today I tried to spend the money, no success.

I installed Electrum on my Ubuntu VM and disconnected the network. In Electrum I did Wallet->Private Keys->Import. I typed in my private key from bitaddress.org and got this screen. I double checked it and it is correct. What am I doing wrong?



Ask about Electrum on the dedicate Electrum sub-forum
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
January 02, 2014, 08:08:11 AM
 #19

Using bitaddress.org wallet details tab. Enter the encrypted private key there and then the password to decrypt it.
Thanks that worked fine, got my coins back.

Finally if all of this sounds too much work for you then that's because it is. It is wrong to advice newbies to go the paper wallet route. If you are that worried about your coins use offline electrum. Very easy and you get unlimited addresses.

Thanks, I'm looking into using offline Electrum in an Ubuntu virtual machine hosted on ESXi 5.5. I've now got to think about how I back it up! Is saving the electrum seed for my cold storage wallet enough? Do I need to save the wallet files?

I consider myself an advanced PC user and using bitcoin in a relatively secure way is not straight forward!
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
January 02, 2014, 09:08:45 AM
 #20

Thanks, I'm looking into using offline Electrum in an Ubuntu virtual machine hosted on ESXi 5.5. I've now got to think about how I back it up! Is saving the electrum seed for my cold storage wallet enough? Do I need to save the wallet files?

I consider myself an advanced PC user and using bitcoin in a relatively secure way is not straight forward!

The seed is enough as a backup. Backing up the wallet file presents additional advantages such as a backup of address labels. But, yeah, when push comes to shove the seed is all you really need.

I am not sure what you mean by a virtual machine. Are you running electrum in a virtual machine that is on an online computer? That is not an offline electrum setup. Installing it in a virtual machine does not afford you any additional security. An offline setup is electrum installed on the bare metal OS on a computer that rarely goes online. Finally you can also install electrum on Windows. I wouldn't recommend it but it can be done if you don't like or are unfamiliar with Linux.
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
January 02, 2014, 09:32:13 AM
 #21

Thanks, I'm looking into using offline Electrum in an Ubuntu virtual machine hosted on ESXi 5.5. I've now got to think about how I back it up! Is saving the electrum seed for my cold storage wallet enough? Do I need to save the wallet files?

I consider myself an advanced PC user and using bitcoin in a relatively secure way is not straight forward!

The seed is enough as a backup. Backing up the wallet file presents additional advantages such as a backup of address labels. But, yeah, when push comes to shove the seed is all you really need.

I am not sure what you mean by a virtual machine. Are you running electrum in a virtual machine that is on an online computer? That is not an offline electrum setup. Installing it in a virtual machine does not afford you any additional security. An offline setup is electrum installed on the bare metal OS on a computer that rarely goes online. Finally you can also install electrum on Windows. I wouldn't recommend it but it can be done if you don't like or are unfamiliar with Linux.

I don't have any "spare" bare metal machines. I have ESXi running on bare metal and hosts a lot of VMs for my work. I have created an Ubuntu machine here with whole disk encryption and home encryption. I have updated Ubuntu, installed Electrum and saved the seed words to a piece of paper and I'm also going to put them in a truecrypt volume somewhere in a text file in case I lose the piece of paper. The Ubuntu VM has the vNIC completely removed so it's as if it is offline. The ESXi host cannot communicate with the Ubuntu OS and the disk is encrypted.

For me, this is "good enough". I don't have millions of $ worth of BTC. If my BTC stash was of much higher value then I would invest in something over-the-top paranoid. But this is good enough to me.

I'm going to call my solution Bitcoin Cool Storage, or the Bitcoin fridge because it's not cold, as in frozen, but cool enough for me. Cheesy

Oh, and thanks for the help!
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
January 02, 2014, 11:39:11 AM
 #22

Thanks, I'm looking into using offline Electrum in an Ubuntu virtual machine hosted on ESXi 5.5. I've now got to think about how I back it up! Is saving the electrum seed for my cold storage wallet enough? Do I need to save the wallet files?

I consider myself an advanced PC user and using bitcoin in a relatively secure way is not straight forward!

The seed is enough as a backup. Backing up the wallet file presents additional advantages such as a backup of address labels. But, yeah, when push comes to shove the seed is all you really need.

I am not sure what you mean by a virtual machine. Are you running electrum in a virtual machine that is on an online computer? That is not an offline electrum setup. Installing it in a virtual machine does not afford you any additional security. An offline setup is electrum installed on the bare metal OS on a computer that rarely goes online. Finally you can also install electrum on Windows. I wouldn't recommend it but it can be done if you don't like or are unfamiliar with Linux.

As an addendum, if you import any keys into Electrum you need to back up the wallet file as well as these are *not* restored from the seed. please correct me if I'm wrong on that.
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
January 02, 2014, 02:42:03 PM
 #23

As an addendum, if you import any keys into Electrum you need to back up the wallet file as well as these are *not* restored from the seed. please correct me if I'm wrong on that.

I think you are correct on that. I am sending my bitcoin from my old wallet to my offline wallet instead of importing the keys. I can live with the 0.1 mBTC transaction fee. Cheesy
Pages: 1 2 [All]
  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!