Difference between revisions of "Bitcoin"

From MgmtWiki
Jump to: navigation, search
(Cryptography)
(Acceptance)
 
(13 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
==Problems==
 
==Problems==
 
* Bitcoin and its offshoots, like [[Decentralized ID]] have been focused on using non-standard crypto under a mistaken assumption that they will thus not be the first crypto to be cracked in the near future. Unfortunately that also means that these non-standard cryptos are not implemented in hardware modules, like the one inside of Android Smartphones. That means that they must be used in less secure execution environments. Not a good choice for modern computers.
 
* Bitcoin and its offshoots, like [[Decentralized ID]] have been focused on using non-standard crypto under a mistaken assumption that they will thus not be the first crypto to be cracked in the near future. Unfortunately that also means that these non-standard cryptos are not implemented in hardware modules, like the one inside of Android Smartphones. That means that they must be used in less secure execution environments. Not a good choice for modern computers.
 +
* Bitcoin is maintained by amateur volunteers and the result reflects that. At sometime prior to Bitcoin Core Satoshi 0.20.xx the location of nearly all the tabs was reworked, but not the documentation, so be prepared to look around for the feature you want.
 +
==Acceptance==
 +
There have been a wide range of responses to [[Bitcoin]] from disbelief to wide-eyed wonder.
 +
* in 2018-12-27 we saw this response [https://www.nytimes.com/2018/12/27/technology/bitcoin-cryptocurrency-crash.html?searchResultPosition=2 Remember Bitcoin? Some Investors Might Want to Forget]
 +
* In 2019-04-09 we saw this response [https://www.nytimes.com/2019/04/02/technology/cryptocurrency-bust-wall-street.html?searchResultPosition=1 Amid Bitcoin Uncertainty, ‘the Smart Money Knows That Crypto Is Not Ready’]
 +
* In 2021-04-25 we saw this response [https://www.nytimes.com/2021/04/25/technology/cryptocurrency-mainstream.html?searchResultPosition=1 We’re All Crypto People Now] but... <blockquote>Bitcoin and other cryptocurrencies have gone from curiosity to punchline to viable investment, making them almost impossible to ignore — for better or worse. ... NFT combines crypto to create fully digital artwork. Mark Greenberg, a photographer, had that thought in March when he auctioned off an NFT of a previously unpublished portrait he’d taken of Andy Warhol in 1985. Watching the bids climb to $100,000, he was elated. He hadn’t been able to work much in the pandemic, and this money could help with his daughter’s upcoming wedding and the house he’d just bought. But then he started to worry. His sale’s bounty was stored in a digital account that only he had access to. What would happen to it if he, a 69-year-old with some health issues, suddenly dropped dead? As a precaution, he added his goddaughter’s thumbprint to his phone’s security. That turned out to be “a hideous, painful mistake,” he said, because it triggered security measures and permanently disabled his cryptocurrency accounts. (Mr. Greenberg, a crypto newbie, had not saved the crucial “seed phrase” that could get him back in.)  His joy from the sale quickly turned to horror. “My head started to get vibrate-y,” he said. “I thought, ‘Is this a bad dream?’” Lost cryptocurrency, he learned, is gone for good. Adding insult to injury, Mr. Greenberg’s inaccessible account receives a royalty payment every time his NFT is resold.</blockquote>
 +
* What's next on this rolly coaster?
  
 
==Implementation==
 
==Implementation==
 +
 +
===Bitcoin Core===
 +
Which has had other names like Bitcoin-qt which is still the name of the exe for version 0.20.xx. Here is the way to deal with that version. Caveat Emptor, your version may be different yet.
 +
* Note that a "Bitcoin Wallet" is nothing more that a public/private key pair in Bitcoin canonical format. To see this go to bitaddress.org.
 +
* Be sure to actually create a wallet before you look for its privatekey that you will need to access Bitcoin from any ID app.
 +
* Get the Receiving address from the Window tab. If there is no address listed, go to Receive tab and select "Create new Receiving Address".
 +
* There is no "Debug Window" under help, but there is a "console" under Window, which is where you will find the "receiving address" as well.
 +
* walletpassphrase "your walletpassphrase here" 600 dumpprivkey [your Bitcoin address here]
 +
* Ensure that the correct wallet is selected in the drop-down box at the top of the console window.
  
 
===Terminology===
 
===Terminology===
 
* You can set any values you want for rpcuser and rpcpassword in bitcoin.conf. Those values will be your username and password when you will be connecting to your bitcoind through HTTP JSON RPC. Also be sure to set other important values in .conf file, like server, rpcallowip and a few others to ensure your server is running correctly and securely.
 
* You can set any values you want for rpcuser and rpcpassword in bitcoin.conf. Those values will be your username and password when you will be connecting to your bitcoind through HTTP JSON RPC. Also be sure to set other important values in .conf file, like server, rpcallowip and a few others to ensure your server is running correctly and securely.
 
* A [https://en.bitcoinwiki.org/wiki/Data_directory Data Directory] is included in the Bitcoin wiki.
 
* A [https://en.bitcoinwiki.org/wiki/Data_directory Data Directory] is included in the Bitcoin wiki.
 +
 
===Cryptography===
 
===Cryptography===
 
*Is secp256r1 more secure than secp256k1?
 
*Is secp256r1 more secure than secp256k1?

Latest revision as of 10:14, 25 April 2021

Full Title

Bitcoin was the first successful demonstration of the value of Distributed Ledger Technology (DLT) often referenced as Blockchain which has been around for decades.

Problems

  • Bitcoin and its offshoots, like Decentralized ID have been focused on using non-standard crypto under a mistaken assumption that they will thus not be the first crypto to be cracked in the near future. Unfortunately that also means that these non-standard cryptos are not implemented in hardware modules, like the one inside of Android Smartphones. That means that they must be used in less secure execution environments. Not a good choice for modern computers.
  • Bitcoin is maintained by amateur volunteers and the result reflects that. At sometime prior to Bitcoin Core Satoshi 0.20.xx the location of nearly all the tabs was reworked, but not the documentation, so be prepared to look around for the feature you want.

Acceptance

There have been a wide range of responses to Bitcoin from disbelief to wide-eyed wonder.

  • in 2018-12-27 we saw this response Remember Bitcoin? Some Investors Might Want to Forget
  • In 2019-04-09 we saw this response Amid Bitcoin Uncertainty, ‘the Smart Money Knows That Crypto Is Not Ready’
  • In 2021-04-25 we saw this response We’re All Crypto People Now but...
    Bitcoin and other cryptocurrencies have gone from curiosity to punchline to viable investment, making them almost impossible to ignore — for better or worse. ... NFT combines crypto to create fully digital artwork. Mark Greenberg, a photographer, had that thought in March when he auctioned off an NFT of a previously unpublished portrait he’d taken of Andy Warhol in 1985. Watching the bids climb to $100,000, he was elated. He hadn’t been able to work much in the pandemic, and this money could help with his daughter’s upcoming wedding and the house he’d just bought. But then he started to worry. His sale’s bounty was stored in a digital account that only he had access to. What would happen to it if he, a 69-year-old with some health issues, suddenly dropped dead? As a precaution, he added his goddaughter’s thumbprint to his phone’s security. That turned out to be “a hideous, painful mistake,” he said, because it triggered security measures and permanently disabled his cryptocurrency accounts. (Mr. Greenberg, a crypto newbie, had not saved the crucial “seed phrase” that could get him back in.) His joy from the sale quickly turned to horror. “My head started to get vibrate-y,” he said. “I thought, ‘Is this a bad dream?’” Lost cryptocurrency, he learned, is gone for good. Adding insult to injury, Mr. Greenberg’s inaccessible account receives a royalty payment every time his NFT is resold.
  • What's next on this rolly coaster?

Implementation

Bitcoin Core

Which has had other names like Bitcoin-qt which is still the name of the exe for version 0.20.xx. Here is the way to deal with that version. Caveat Emptor, your version may be different yet.

  • Note that a "Bitcoin Wallet" is nothing more that a public/private key pair in Bitcoin canonical format. To see this go to bitaddress.org.
  • Be sure to actually create a wallet before you look for its privatekey that you will need to access Bitcoin from any ID app.
  • Get the Receiving address from the Window tab. If there is no address listed, go to Receive tab and select "Create new Receiving Address".
  • There is no "Debug Window" under help, but there is a "console" under Window, which is where you will find the "receiving address" as well.
  • walletpassphrase "your walletpassphrase here" 600 dumpprivkey [your Bitcoin address here]
  • Ensure that the correct wallet is selected in the drop-down box at the top of the console window.

Terminology

  • You can set any values you want for rpcuser and rpcpassword in bitcoin.conf. Those values will be your username and password when you will be connecting to your bitcoind through HTTP JSON RPC. Also be sure to set other important values in .conf file, like server, rpcallowip and a few others to ensure your server is running correctly and securely.
  • A Data Directory is included in the Bitcoin wiki.

Cryptography

  • Is secp256r1 more secure than secp256k1?

It is said that "Satoshi picked non-standard crypto (secp256k1) which conventional wisdom says will be cracked in 5-10 years."

The main difference is that secp256k1 is a Koblitz curve, while secp256r1 is not. Koblitz curves are known to be a few bits weaker than other curves, but since we are talking about 256-bit curves, neither is broken in "5-10 years" unless there's a breakthrough.

The other difference is how the parameters have been chosen. In secp256r1 they are supposedly from random numbers, however, it is impossible to prove that's really the case. See e.g. these slides from Bernstein and Lange for an easily understandable treatment.

The Koblitz curve, on the other hand, has had its parameters chosen relatively rigidly. The post runeks linked in the comments has an explanation for why they were chosen.

So rather than saying one is more secure, I would say that the risks are different. If neither curve has backdoors or accidental weaknesses, both are secure. The few extra bits of security secp256r1 has won't matter unless you happen to own e.g. a moderately sized quantum computer that can just manage one but not the other. It would have been easier to backdoor the secp256r1 curve, but on the other hand, Koblitz curves as a class could be completely weak in some way not currently known.

I.e. which to prefer is somewhat subjective. If you don't like Koblitz curves but are afraid secp256r1 is backdoored, there's always the option to use some other curve designed according to criteria you like. (Though you cannot, of course, change what BTC uses.)

Comments clipped from this site.

Testnet

"Coins" are transferred on Testnet they same way that they are on Mainnet, but they have no value.

References