Bitcoin Forum
May 02, 2024, 12:24:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about using Armory offline  (Read 1171 times)
halfawake (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 05, 2013, 05:08:14 AM
 #1

I don't have a computer dedicated to using Armory offline, but I've noticed something about Armory that makes me question how usable it'd be in an offline computer.  Whenever Armory is in offline mode, it won't show me the balance of my wallets.  If this is also the case in totally offline mode, it doesn't seem like the user interface of Armory would be very useful.  After all, how useful is the offline client if you don't know how many BTC are in your wallets? 

Is this how Armory works in offline mode, or is there some trick I'm not aware of to getting the balance to show up when Armory isn't online?

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
1714609465
Hero Member
*
Offline Offline

Posts: 1714609465

View Profile Personal Message (Offline)

Ignore
1714609465
Reply with quote  #2

1714609465
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 05, 2013, 01:26:11 PM
 #2

You're right, it doesn't show your balance offline.  But it doesn't need to know your balance.  You only need that to create the transaction, which is done from the online computer.  Once the transaction is created (and a bunch of other verification data is bundled with it), the offline computer has everything it needs to know to determine "This wallet is sending X BTC to address Y with fee Z."  Then it allows you to sign it.

That's all the offline computer does:  lets you confirm the transaction details, and sign it. 

You can think of it like writing a checking that requires the signature of someone locked in a vault.  The person in the vault doesn't know how much money is in the bank account because they have no access.  But the check isn't valid without their signature.  So you go into the vault and they say "This check is sending X BTC to addr Y, is this what you intended?".  You approve, they sign it, and then you leave the vault and take the check to the bank (broadcast to the network). 

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
halfawake (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 05, 2013, 11:42:35 PM
 #3

You're right, it doesn't show your balance offline.  But it doesn't need to know your balance.  You only need that to create the transaction, which is done from the online computer.  Once the transaction is created (and a bunch of other verification data is bundled with it), the offline computer has everything it needs to know to determine "This wallet is sending X BTC to address Y with fee Z."  Then it allows you to sign it.

That's all the offline computer does:  lets you confirm the transaction details, and sign it. 

You can think of it like writing a checking that requires the signature of someone locked in a vault.  The person in the vault doesn't know how much money is in the bank account because they have no access.  But the check isn't valid without their signature.  So you go into the vault and they say "This check is sending X BTC to addr Y, is this what you intended?".  You approve, they sign it, and then you leave the vault and take the check to the bank (broadcast to the network). 


This makes a bit more sense now, but I'm still having a little bit of a hard time wrapping my mind around this.  Let me see if I understand this correctly.  Basically, the online computer says I want to send x amount of bitcoins with y transaction fee to z address.  The offline computer then looks at that and lets you say, yes this is correct, signs it, and then lets you broadcast it on the online computer?  I'm basically just restating what you said, but I want to make sure I'm understanding it properly.

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 05, 2013, 11:50:58 PM
 #4

Have you seen this?

https://bitcoinarmory.com/using-offline-wallets-in-armory/

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
halfawake (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 05, 2013, 11:58:39 PM
 #5


I've read it before, just didn't click through the slideshare portion previously.  This makes more sense now, thanks again.

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
halfawake (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 06, 2013, 06:10:00 AM
 #6

Also thanks again for answering the total newbie question.  It's just a little hard to wrap my brain around without actually carrying out an offline transaction, and I don't have an offline computer yet to do that with.

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
June 24, 2013, 05:33:22 AM
 #7

You just need to install linux on a USB drive -- you can boot to that as an "offline" computer.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
halfawake (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 25, 2013, 06:47:22 AM
 #8

You just need to install linux on a USB drive -- you can boot to that as an "offline" computer.

Huh, neat.  I didn't know you could do that.  Wouldn't that be a lot more of a risk of acquiring viruses if it's installed on a flash drive than if it's a separate computer?  Ideally my computer will never get compromised, but this seems somewhat less secure than the traditional method.  I suppose there's a bit more security in that it's linux rather than Windows which I've got on my regular computer.

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
June 25, 2013, 01:55:58 PM
 #9

Huh, neat.  I didn't know you could do that.  Wouldn't that be a lot more of a risk of acquiring viruses if it's installed on a flash drive than if it's a separate computer?  Ideally my computer will never get compromised, but this seems somewhat less secure than the traditional method.  I suppose there's a bit more security in that it's linux rather than Windows which I've got on my regular computer.

The only time it's at risk is when you download the linux image and then while you're installing armory -- from then on you disconnect the network and it's stand alone.  So it's about as secure as you get without some craziness.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 25, 2013, 02:11:53 PM
 #10

Huh, neat.  I didn't know you could do that.  Wouldn't that be a lot more of a risk of acquiring viruses if it's installed on a flash drive than if it's a separate computer?  Ideally my computer will never get compromised, but this seems somewhat less secure than the traditional method.  I suppose there's a bit more security in that it's linux rather than Windows which I've got on my regular computer.

The only time it's at risk is when you download the linux image and then while you're installing armory -- from then on you disconnect the network and it's stand alone.  So it's about as secure as you get without some craziness.

If you install Ubuntu 10.04 then you can use the offline bundle from the downloads page that has 100% of the dependencies included.  I've tested it:  it installs successfully in a completely first boot fresh install of 10.04, without any internet connection.

I will eventually make offline bundles for other versions of Ubuntu, but I picked that one because it will work no problem even on ancient hardware.  It's just that it's a lot of work to setup an offline bundle, so I haven't gotten around to the other versions yet.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
halfawake (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 25, 2013, 08:51:07 PM
 #11

Huh, neat.  I didn't know you could do that.  Wouldn't that be a lot more of a risk of acquiring viruses if it's installed on a flash drive than if it's a separate computer?  Ideally my computer will never get compromised, but this seems somewhat less secure than the traditional method.  I suppose there's a bit more security in that it's linux rather than Windows which I've got on my regular computer.

The only time it's at risk is when you download the linux image and then while you're installing armory -- from then on you disconnect the network and it's stand alone.  So it's about as secure as you get without some craziness.

If you install Ubuntu 10.04 then you can use the offline bundle from the downloads page that has 100% of the dependencies included.  I've tested it:  it installs successfully in a completely first boot fresh install of 10.04, without any internet connection.

I will eventually make offline bundles for other versions of Ubuntu, but I picked that one because it will work no problem even on ancient hardware.  It's just that it's a lot of work to setup an offline bundle, so I haven't gotten around to the other versions yet.

Nice!  I didn't notice that previously when looking at the downloads page.  While I can't speak for all Armory users, I personally would rather you work on updating Armory itself than creating more versions of Armory for other versions of Ubuntu or one of the other half a billion Linux variants.  At least it seems like there are that many, anyway.  I'd say one is enough personally, but that's just me.

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 25, 2013, 09:01:31 PM
 #12

Nice!  I didn't notice that previously when looking at the downloads page.  While I can't speak for all Armory users, I personally would rather you work on updating Armory itself than creating more versions of Armory for other versions of Ubuntu or one of the other half a billion Linux variants.  At least it seems like there are that many, anyway.  I'd say one is enough personally, but that's just me.

It used to be a lot of work, but now that I have most of release process scripted, I can do it much more easily.  Rather, it used to be a lot of work to recreate and re-release each bundle, which is why I only did so every 4th version or so.  Now that the process is scripted, I only have to put in effort once to create the original bundle, and then it's really not much extra work to include them on every release.

Ubuntu 10.04 is becoming pretty seriously outdated, so I'd like to at least create one more 32/64-bit pair of bundles to support a more-modern Ubuntu version.  After that, the one more bundle I need to [figure out] and create is a Raspberry Pi bundle.  I finally even got a RPi, but have had zero time to play with it!  One day, though...

Don't worry, my efforts right now are focused on the new Armory version.  It's kinda slow.  But steady...

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
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!