Bitcoin Core released its latest software version 0.13.1 last week, which includes the Segregated Witness soft fork. If the proposal is supported by a majority of miners, Segregated Witness will be activated on the Bitcoin network - perhaps as early as December. This soft fork will bring a number of benefits, including an effective increase in the block size limit and scalability fixes. However, a lesser-known benefit is that transaction inputs — the amount of bitcoin being sent — will for the first time be cryptographically signed by the user: It’s a small change, but according to Ledger CTO Nicolas Bacca, ‘this change fixes one of the biggest issues currently facing bitcoin hardware wallets.’ InputAll Bitcoin transactions send Bitcoins from 'inputs' to 'outputs', where inputs specify the addresses to which Bitcoins are sent and outputs specify the recipient addresses. Of course, all inputs are at least as large as the outputs. It is impossible for a sender to create bitcoins out of thin air. However, in fact, in general, the input bitcoins are slightly more than the output. And this difference is the handling fee. So if all inputs are 1BTC, then all outputs may be 0.999 BTC, and anyone who processes this transaction can get 0.001BTC as a reward. But there is one quirk. While the outputs contain explicit amounts, the inputs do not. This isn’t really a problem, because every input depends on a previous transaction, so Bitcoin wallets can check the blockchain to see how much an input has. However, hardware wallets are an exception, as Bacca explained to Bitcoin Magazine:
In many cases, this is fine. The hardware wallet generates a transaction to send a certain amount of Bitcoin to a certain address. If the user really wants to send Bitcoin to these addresses, he can sign the transaction. There is no risk in sending funds to the input. However, this could create a risk of a ‘fee attack,’ Bitcoin Core and Digital Bitbox developer Jonas Schelli told Bitcoin Magazine.
While this may be unlikely, the risk severely undermines one of the key uses of hardware wallets. After all, the point of hardware wallets is that these devices cannot be hacked even if they are connected to an insecure computer. Segregated WitnessCountermeasures against this "fee" attack do exist. Hardware wallets can connect to software to obtain the previous transaction on the blockchain, convert the output amount into a hash, and then compare it with the input amount hash of the new transaction. However, Trezor architect Marek “Slush” Palatinus explained,
Due to the limited computing resources of hardware wallets, they may not even be feasible in some cases. Palatinus said:
Segregated Witness offers a better solution. Segregated Witness moves cryptographic signatures to a kind of “additional” part of a transaction: the ‘witness’ part. This in itself is not important for hardware wallets. But as the signature data is moved, and changes the way wallets read it, Bitcoin Core developers decided to slightly change the signature generation process. Specifically, the input amounts are signed — though they are still not part of the transaction itself. In a way, these input amounts become 'part' of the cryptographic signature. For example, a hardware wallet user would only sign the exact amount of bitcoin being sent — without going through a complicated and slow process and risking sending too much money. (If a Trojan tried to change the input amounts after signing, the transaction would be considered invalid by the Bitcoin node.) If SegWit is activated, it will be easy to upgrade all existing hardware wallets to take advantage of this option. Ledger has already made upgrades to the Ledger codebase, while Trezor and Digital Bitbox will also be ready to integrate if the SegWit soft fork is activated. Palatinus stressed:
|
<<: On the monetary function of Bitcoin
Nowadays, both men and women love beauty and want...
Key points: Ethereum Classic has recently been th...
In palmistry, the love line represents a person...
A person's facial features can reflect whethe...
We all know that the security of a Bitcoin wallet...
In today's digital age, with the growing need...
Eyebrows show whether this person is worth making...
What does it mean to have many wealth lines on yo...
Three relatively rare palm lines, one of which ca...
Xinhua News Agency reporters Wu Yu and Wu Yanting...
This article is from All Weather Technology. For ...
Whether a person will give birth to a boy or a gi...
People have all heard of women who bring bad luck...
Currently, most international financial transacti...
Palmistry characteristics of weak affinity with c...