Bitcoin Forum
May 27, 2024, 05:09:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 »
201  Bitcoin / Development & Technical Discussion / Re: The KRACK Wi-Fi attack...precautions? on: October 17, 2017, 04:40:05 PM
yup, correct.
Quote
None of which is an issue if the site is correctly configured
It becomes a discussion of trust (again).
Cloudflare is MITM. And yet they are here to protect websites (e.g. prevent DOS, and similiar).
I wanted to stay in the scope of the KRACK WiFi attack, so this would happen in your home environment or e.g. in public hotspots.

IMHO security is always a trade off - like how much do you need to invest to protect.
Small values (e.g. less than 100 Euros): you are ok with today's technology.
Values below 1000 Euros need some thoughts, and values above need proper investments in security (and even consulting, if unknown to you). There you want to talk about proper cold storage, but this exceeds certainly the scope of the discussion here - in this forum there are already exising threads.

Just wondering what is best answer to OP: KRACK and Bitcoin. For little values, I don't see immedeate action, as it requires high efforts to gain access.

When using a wallet (on desktop and iPhone), it's anyhow ok to use the wallet software. When using wallet via service provier or when doing trades, make sure Operating system is up to date, look for latest patches that include fix for this KRACK.

comments?
202  Bitcoin / Development & Technical Discussion / Re: The KRACK Wi-Fi attack...precautions? on: October 17, 2017, 01:35:28 PM
Man-in-the-middle attacks are not necessarily a risk, given that the exchange or online wallet is using a properly configured SSL / HTTPS connection -- which should be the common case nowadays -- ...

no, not really. In the past we have seen "heartbleed", and today tools like SSLstrip and MITMf allow to bypass SSL, by "downgrading" a connection to a standard HTTP session, then injecting JAVASCRIPT code etc ... and who is looking "all the time" to the green escrow in the top line of the browser?
I would like to add, that this is already a very sophisticated approach to hijack a connection. It certainly depends on "your value", if someone is ready to play with it. If you have less than 10 bitcoins, I'd be not in fear. But if you are "rich" and paranoid ...
203  Bitcoin / Development & Technical Discussion / Re: The KRACK Wi-Fi attack...precautions? on: October 17, 2017, 11:44:40 AM
based on the document here, it mainly drills down to update client software, and also the routers.
The traffic can be intercepted, and code could be injected.

Now to bitcoin: I have four use cases in mind, I describe below. Perhaps this can be worked out more and more by the audience :-)

using a full node:
===========
you can download up to latest block, "stay" offline, craft the tx, and sign it. Only when sending it, you can go online. If someone messes with your tx, then the signature and hashes will be invalid, and it will simply not be accepted by the network.

using an SPV wallet:
=============
It is difficult to create a tx offline. So you have to be online. I don't see, that electrum wallet would be affected, you'd have to inject code in the communication channel, to fetch tx and build them up locally. Don't know, which attack vector exists, to get "down" to the priv keys. Hoping to get more info from SPV wallet providers (same accounts for Bread and AirBitz).

using an online wallet:
==============
Here is a risk, i.e. if the software is just a "html" based wallet. Code could be injected. Any attack vector through "man-in-the-middle" is thinkable  Angry Sad

online trading:
=========
same as online wallets.

If you are paranoid, connect your PC with Ethernet cable to your router.
204  Bitcoin / Development & Technical Discussion / Re: IBM Article: miners to use resource intense calcs to verify tx? on: October 17, 2017, 11:16:02 AM
I'll answer based on the doc in Andreas' book "mastering bitcoin":

Each full node in the bitcoin network verifies every transaction against a long checklist of criteria. This can be time consuming, when a specially crafted tx is used. But usually tx are checked within milli seconds.

Mining nodes will also validate transactions, they are then added to the mempool, where transactions wait until they can be included into a block. The mining node will aggregate these transactions into a candidate block. The block becomes valid only if the miner succeeds in finding a solution to the proof-of-work algorithm. Usually a hardware mining rig is used to find a solution to the proof-of-work algorithm that makes the block valid. The proof of work is the intensive calculation step.
Once the candidate block is filled with transactions, the hash of this block's header is calculated, until the hash is less than a predefined target. At the current difficulty in the bitcoin network, miners have to try quadrillions of times before finding a nonce that results in a low enough block header hash.
And this is the calculation/computing power intensive step. Not validating transactions.
205  Bitcoin / Development & Technical Discussion / IBM Article: miners to use resource intense calcs to verify tx? on: October 17, 2017, 01:58:51 AM
In the IBM article on

https://www.ibm.com/blogs/blockchain/2017/05/the-difference-between-bitcoin-and-blockchain-for-business/?social_post=1099763016&linkId=43090982

it says:

Quote
How does the Bitcoin blockchain work?

The Bitcoin blockchain in its simplest form is a database or ledger comprised of Bitcoin transaction records. However, because this database is distributed across a peer-to-peer network and is without a central authority, network participants must agree on the validity of transactions before they can be recorded. This agreement, which is known as “consensus,” is achieved through a process called “mining.”

After someone uses Bitcoins, miners engage in complex, resource-intense computational equations to verify the legitimacy of the transaction.

I was wondering if this statement is correct. Isn't every full node checking conformity to the rules of a transaction? And for the miners the ressource intensive thing is to then find the nonce?
What would the mempool be in this scenario?

206  Bitcoin / Development & Technical Discussion / Re: how many possible private keys can be generated for a public key ????? on: October 15, 2017, 10:03:24 AM
...
Key pair encryption is based on an obscure relationship between larger prime numbers and their products.

first prime number    982450151
second prime number 982451581

product

982450151 * 982451581 = 965209704103638731

The private is key is made up of 982450151 and 982451581
The public key is 965209704103638731
...
How does this play with bitcoin priv keys?
I understand these principles, and the underlying math. Also read about ECDSA and points on the curve. This is what probably happens with open or libressl?
 $ openssl ecparam -genkey -name secp256k1 -rand /dev/urandom -out $PRIVATE_KEY

However: I read, that bitcoin priv keys are a random string of hex chars (2^64 Bytes), that can be generated by rolling dice. And eventually  converted to a hex representation (see e.g. here: http://www.swansontec.com/bitcoin-dice.html).

I think I am looking to match these two different approaches to the priv key. How do they "match"?
In your example what would the private key look like? The pub key is clear, would the priv key have some additional random chars (seed)?
207  Bitcoin / Development & Technical Discussion / Re: i had a doubt from a long time .............. on: October 09, 2017, 12:24:36 PM
Quote
You don't send bitcoins to a public key, you "send" it to an address.

Please give me one example of a private key generating multiple different public keys.
Are you maybe talking about a compressed and uncompressed addresses?

After rereading his post, it comes to me that he might talk about the addresses he sees in a (HD) wallet. There you usually have one priv key, and a set of derived pubkeys.
Seeing that the post is from a fairly new member, giving him direction to bitcoin.org is surely the right way.

@blackhat988 - in short:
the addresses and wallets are effectivly representations of the data, so we as humans can easily grasp the idea and use case. A wallet is then a combination of only priv/pub keys. You need these keys to do transactions. Transactions have inputs and outputs, from which you can spend. The input usually came to you via a bitcoin address, that you once provided. The output is generated by your wallet software with the target address. When the transaction is confirmed, it is  saved in the blockchain.
And as Bob123 replied, each transaction detail can be seen, e.g. on blockchain.info, you can search for your address or your transaction number. This helps to clarify, along with bitcoin.org.
208  Bitcoin / Development & Technical Discussion / analyze TRX via CLI/Unix Shell (tx_cl_suite): now with SegWit on: October 04, 2017, 09:22:44 AM
just another short update: as it is time to play with segwit, I have extended the tx analyzer (tcls_tx2txt.sh) with capabilities for SegWit. The decomposition would show now the details of any SegWit tx.
(as usual testcases are also included). 
209  Bitcoin / Development & Technical Discussion / Re: Recommendations for a guide to start a technical learning of blockchain tech on: October 03, 2017, 07:29:55 AM
similiar discussion here: https://bitcointalk.org/index.php?topic=2131710.0
210  Alternate cryptocurrencies / Altcoin Discussion / Re: 2X on: September 28, 2017, 08:38:13 AM
While most users talking here seem to be against SegWit2x, especially because for now it doesn't bring anything new and helpful, the miners are all for it.
If you look at coin.dance or xbt.eu websites, SegWit2x (or NYA) has well over 90% support.

this is correct, and I think the way to look at it is this: who can benefit from the Bitcoin system?
The community - aka the vast majority (e.g. running core nodes) definetly did not express their wish to use SegWit2x.

The miners would like to have SegWit2x. By this they are willing to take the vast majority of users as "hostage", to follow "their" will. This prevented already in the last 2 years the bring-in of SegWit, and with it the further development of the Bitcoin. Wether this was intentionally or accidentially, I don't want to judge.

The work of the miners is to stabilize the network, and get the incentive for it. As mining is more and more centralized, this is a super-vast minority, which from my point of view should not be in a position, to decide, what the super-super vast majority wants. I see, that many companies also signed the NYA. So what? This still doesn't make a majority.
There are more developpers listed on the bitcoin.org webpage (aka "core developpers"), then people/groups/companies in NYA.

I understand the community does not accept a minority giving direction against the way, the core developpers take.
And also I can see, that majority of SegWit2x people tend to think, that core devs are two or three names (Luke Jr, Greg Maxwell and Adam Beck). This is not the case, as I just showed with a look at bitcoin.org (there are hundreds of names). Looks like the SegWit2x group does not (want to) understand, that the concept of Bitcoin is a non-centralized system, where a single group or person is prevented from changing direction. There is no "king" or "government" in Bitcoin. With the current situation miners and NYA teams play the role of a government, and this contradicts the main principles of Bitcoin. 

211  Bitcoin / Development & Technical Discussion / Re: Bitcoin transaction help on: September 18, 2017, 12:12:45 PM
same question here, answered in the same sense:

https://bitcoin.stackexchange.com/questions/59678/questions-about-bitcoin-transactions/59684#59684

try to avoid, it's only double work. The experts are in both areas  Smiley
212  Bitcoin / Development & Technical Discussion / Re: Blockstream's Bitcoin Satelite WWW w/ OuterNet USB Reciever. on: September 17, 2017, 07:15:35 PM
Quote
I also don't quite get what the point is...
it is not a problem, that people don't get it. But unnecessary to post it.  Angry
And what is the reason, that people ask, how far "we" are from using this service also as upstrem?  Huh
Can these people outline, what was their contribution?
Have they payed people to develop uplink software? Have they invested in hardware to create an uplink channel? Have they tried to reflect, what it needs, to get un uplink up and running? Have they even read the documentation and intention of this blockchain distribution channel?
The answer must be "no".

And yes, with a very little bit of imagination one could think about creatng a tx and bring it to a service like blockchain.info, which uploads to the blockchain. An SMS, a letter, a file, and other options come to mind.
Come on people, go beyond your barriers and limitations, and proof, that the complaints here are only preps for your next extension in the wonderful crypto world.

213  Bitcoin / Development & Technical Discussion / Re: This is a Picture of a Private Key on: September 16, 2017, 07:00:12 AM
excellent explanation of a private key!!
But then again, what is the wallet if its now the public address?
The wallet can be seen as a container for your private keys and the derived public keys, and this container has special locks to open it (seeds, passwords, ...). Once you opened it, you can create with the wallet software a bitcoin transaction, that confirms to the rules of he network, and the wallet has software to send a transaction into the network. Also it is able to request data from the network (with light wallets), or it stores the blockchain itself  on a local drive (full node).
So the wallet is a piece of software that makes it easy for the enduser, to communicate/participate in the network.
214  Bitcoin / Development & Technical Discussion / Re: Bitcoin Core client 0.15 for Ubuntu has been released on: September 13, 2017, 12:01:12 PM
this page looks alot like https://bitcoincore.org/, and this one: I don't see it somehow protected or secured...
better double check to trust the information on this page.
215  Bitcoin / Development & Technical Discussion / Re: [IDEA] A new standard protocol for new or existing chains? on: September 13, 2017, 09:26:40 AM
Just out of curiosity where do coins go then from sending to a none existing address? Do they just stay in an unconfirmed state? If so why can't the same method be applied?

I think there is some misunderstanding: there are no such things as "none" existing addresses. Once a tx has been accepted by a full node, it is valid :-)
Maybe you think about addresses, who have "no known owner with his privkey"? Or do you think about those tx which are non-spendable (cause the script was invalid, stupid, intentionally ...)
This has been discussed already here in the forum, and the point is, who can decide what is invalid, and what not. The idea of bringing back coins into the cycle is nice, to avoid scarcity, but the problems around it are not yet fully understood (maybe the ideas are not yet mature). Danny and Achow provided already a short view on this. 
216  Bitcoin / Development & Technical Discussion / Re: How to get hands-on with bitcoin script development on: September 12, 2017, 05:05:56 PM
yup, and Andreas' book is great!
There are lots of OpCodes not used, or their combinations creates transactions, which are not forwarded.
I think this is a protection of the network, to avoid loops in scripts and similiar. But the experts need to confirm.
When trying to play with scripts, there is lot of history here, maybe a bit longer ago, but search the forum (maybe the keywords like "OpCode" and "bitcoin contracts").
And when you have an idea, try it on testnet first, then go to live net. I had a lot of help here: http://bitcoin-script-debugger.visvirial.com/

p.s.:
found the reference here in the forum: https://bitcointalk.org/index.php?topic=1840303.0
217  Bitcoin / Development & Technical Discussion / Re: Trying to understand P2PKH mechanism almost there but not quite there. on: September 09, 2017, 10:43:23 PM
I'd like to throw my 2 cents in:
generally tx are a serialization of bytes, which are constructed as explained for P2PKH here: https://bitcoin.org/en/developer-guide#p2pkh-script-validation
what helped me alot to go through was this: http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html
good pictures and nice tables to understand the layout of a tx (obviously no segwit Cheesy)
and this blockchain analyzer displays very nicely (with segwit): http://srv1.yogh.io/
I then created some shel lscripts for for decoding (and more) at the OpenBSD/Unix/OSX shells, there: https://github.com/pebwindkraft/trx_cl_suite
It displays and explains OpCodes in a tx...
218  Bitcoin / Development & Technical Discussion / Re: GSSSA - Hide your wallet in shares on: September 05, 2017, 09:07:27 AM
I have some concerns with this post:  Huh
The post is "a bit pushy", also the question why noone is answering - so soon? What is the offer? It is unclear. And some "I have a big project in my mind, which I cannot tell you at this point in time" creates more doubts than questions on the reputation of the post.

Usually it is not recommend to download software/libraries from untrusted sources.
As such it is good to have the sources on github.
Compiled executables can have too many negative impacts, and we don't know yet, what it gives. We'd need a reference with checksums first, so this can be verified on some systems with users from the community, to raise level of trust.

That said, I like the sharing idea, I see it like steganography. Also it is similiar to the seeds we have in use. What makes your approach different from the existing solutions? What improves their security or handling? Can you elaborate a bit?

219  Bitcoin / Development & Technical Discussion / Re: Lightning network compared to Dash and IOTA on: September 04, 2017, 10:08:26 AM
Maybe I am missing something in this logic, but yet it is just an opinion, and no proof:

Quote
In this “naive” scenario, middleman Bob still has to trust Alice and Carol. Bob has to trust Carol to really give him the value after he sent her a bitcoin, and Bob has to trust Alice to really give him a bitcoin once he presents her the value.
The bitcoin-for-value trades must therefore be absolutely guaranteed along the network. More specifically: if Bob gives a bitcoin to Carol, he must be guaranteed to get a bitcoin back from Alice.
That's where Hash Time-Locked Contracts (HTLCs) come in.

For sure, when it is money, we trust a lot, in Bitcoin world we trust the mathematical rules, not a person. Not sure what the author means by "Bob has to trust Carol". The author should explain, what happens, when Carol plays wrong, and what are the lightning protections to prevent this. IMHO, this has nothing to do with HTLCs. If Bob feels that Carol is not playing honestly, he can close the channel immedeatly... before the HTLC time locks in. Also the author doesn't explain, why multisig addresses are "funky". The multisig addresses can be seen as simple checks, where two or more people must sign, to validate it - what is funky about this?

Can't make up my mind yet, having difficulties to follow the logic in this article.  Huh
I hope some more enlighted people will explain  Grin
220  Bitcoin / Development & Technical Discussion / Re: Post your SegWit questions here - open discussion - big week for Bitcoin! on: September 01, 2017, 06:05:15 PM
thx, got it. And thanx for your patience, explaining twice to me.
I went through Andreas' book, which says:
Quote
Once a bitcoin transaction is sent to any node connected to the bitcoin network, the transaction will be validated by that node
...
But it doesn't mention this handshake or protocol. I might send him a note ...
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!