Bitcoin Forum
November 19, 2024, 03:30:22 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: How to spend from cold storage?  (Read 3415 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.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4851



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: 1014

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: 3486
Merit: 4851



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: 1014

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: 3696
Merit: 1584



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: 3696
Merit: 1584



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: 3696
Merit: 1584



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.
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!