Bitcoin Forum
June 29, 2024, 03:57:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Feature Request to Combat USB Vulnerability  (Read 1174 times)
Razick (OP)
Legendary
*
Offline Offline

Activity: 1330
Merit: 1003


View Profile
August 17, 2014, 03:24:41 AM
Last edit: August 18, 2014, 02:17:58 PM by Razick
 #1

In light of the recently discovered vulnerability in USB and SD devices, I was trying to determine a good way to relay transactions from my offline wallet without exposing it to the internet or potentially infected devices. I would like to request two features:

1) The ability to create transactions from an offline wallet. This way I don't have to get the unsigned transaction from my online, watch-only wallet. I can verify that I have sufficient balance myself, and of course you could add a warning and require the user to check a box before this is allowed.

2) The ability to create a QR code from a signed transaction. This would allow me to scan the transaction with my phone and broadcast it while maintaining the security of my offline system.

I hope you will consider these features, I think they would be helpful for paranoid users.

ACCOUNT RECOVERED 4/27/2020. Account was previously hacked sometime in 2017. Posts between 12/31/2016 and 4/27/2020 are NOT LEGITIMATE.
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
August 17, 2014, 03:37:13 PM
 #2

In light of the recently discovered vulnerability in USB and SD devices, I was trying to determine a good way to relay transactions from my offline wallet without exposing it to the internet or potentially infected devices. I would like to request two features:

1) The ability to create transactions from an offline wallet. This way I don't have to get the unsigned transaction from my online, watch-only wallet. I can verify that I have sufficient balance myself, and of course you could add a warning and require the user to check a box before this is allowed.

2) The ability to create a QR code from a signed transaction. This would allow me to scan the transaction with my phone and broadcast it while maintaining the security of my offline system.

I hope you will consider these features, I think they would be helpful for paranoid users.

There is no such thing called "balance" in bitcoin protocol. Bitcoin doesn't work as you think. You are misled by blockchain.info

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
doug_armory
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250

Senior Developer - Armory


View Profile WWW
August 17, 2014, 11:48:33 PM
 #3

1) The ability to create transactions from an offline wallet. This way I don't have to get the unsigned transaction from my online, watch-only wallet. I can verify that I have sufficient balance myself, and of course you could add a warning and require the user to check a box before this is allowed.

I'm pretty sure this isn't possible. For technical reasons, you really need an up-to-date blockchain before creating a transaction. I'm not even sure an offline computer could create a Tx without somehow getting data to it that lets it know what you control. Without that info, you really can't create a Tx at the nuts-and-bolts level. At best, you might be able to pop the blockchain onto the offline computer and have Armory process it. Once again, there's the pesky matter of getting the data onto the offline computer....

Quote
2) The ability to create a QR code from a signed transaction. This would allow me to scan the transaction with my phone and broadcast it while maintaining the security of my offline system.

I think this would be technically possible, at least in some instances. (QR codes can only contain so much data.) That said, keep in mind that you'd have to start with an online computer, as Armory currently does. The data would also have to be in a format readable by the phone's app. At the moment, I'm not aware of any phone apps with such a capability. If this changes, we'll keep it in mind.

Senior Developer -  Armory Technologies, Inc.
TimS
Sr. Member
****
Offline Offline

Activity: 250
Merit: 253


View Profile WWW
August 18, 2014, 12:03:18 AM
 #4

1) The ability to create transactions from an offline wallet. This way I don't have to get the unsigned transaction from my online, watch-only wallet. I can verify that I have sufficient balance myself, and of course you could add a warning and require the user to check a box before this is allowed.
To add some details to what the others have said about the difficulties of doing this, see https://en.bitcoin.it/wiki/Transactions
In order to create a transaction offline, you'd need to not just tell the offline wallet that you have sufficient balance, but you'd need to tell it one or more (enough to equal or be greater than your desired output, less transaction fee) transaction outputs to spend. For your typical transaction, this means:
One (or more) 256-bit txid to spend (if it's a from another transaction the offline wallet already knows about, e.g. because it was a change output, you could simply choose it from the list)
One (or more) address from your wallet (could be chosen from the list of addresses in your wallets), being the address to spend corresponding to each txid you're spending
The address(es) you wish to spend to

Transmitting all of this data manually would be tedious, to say the least.
Razick (OP)
Legendary
*
Offline Offline

Activity: 1330
Merit: 1003


View Profile
August 18, 2014, 02:17:37 PM
 #5

In light of the recently discovered vulnerability in USB and SD devices, I was trying to determine a good way to relay transactions from my offline wallet without exposing it to the internet or potentially infected devices. I would like to request two features:

1) The ability to create transactions from an offline wallet. This way I don't have to get the unsigned transaction from my online, watch-only wallet. I can verify that I have sufficient balance myself, and of course you could add a warning and require the user to check a box before this is allowed.

2) The ability to create a QR code from a signed transaction. This would allow me to scan the transaction with my phone and broadcast it while maintaining the security of my offline system.

I hope you will consider these features, I think they would be helpful for paranoid users.

There is no such thing called "balance" in bitcoin protocol. Bitcoin doesn't work as you think. You are misled by blockchain.info

Haha, I meant the sum of all available inputs, but that is a good point. Unless I could somehow let the offline client know what inputs are available, which involves more than just the amount of bitcoin on each address, there would be no way to create a valid transaction. So I guess it's pretty much not possible.

ACCOUNT RECOVERED 4/27/2020. Account was previously hacked sometime in 2017. Posts between 12/31/2016 and 4/27/2020 are NOT LEGITIMATE.
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!