codemojo (OP)
Jr. Member
Offline
Activity: 35
Merit: 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 12:07:53 AM |
|
Hi,
suppose there was an online wallet service with a patched version of the official client:
The patch would: - prevent the client to generate a new address every time it needs to put the money change somewhere - instead, it would always put the change back to the source address
The benefit would be for the users to be able to check their total balance by simply checking their address on blockexplorer.
My question is, would this have any serious drawbacks, other than loss of anonimity?
|
|
|
|
patvarilly
Newbie
Offline
Activity: 42
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 12:21:01 AM |
|
My question is, would this have any serious drawbacks, other than loss of anonimity?
The current system of change isn't even very anonymous to begin with. Take a look at any block in blockexplorer, and you'll find that it's terribly easy in most cases to pick out, with reasonable certainty, which output is change and which is a real transfer from A to B. I've boiled it down to a set of three rules that work almost all of the time here: https://forum.bitcoin.org/index.php?topic=27472.msg346658#msg346658. It's only a matter of time before somebody puts together an alternative block explorer that works around the supposed anonymity of "change" being sent to a new address.
|
|
|
|
davux
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 12:39:55 AM |
|
Should the title be "single address wallets" instead, or would multiple-account wallets with single-address accounts work with your idea?
|
1DavuxH9tLqU4c7zvG387aTG4mA7BcRpp2 México (Oaxaca) – France - Leeds
|
|
|
codemojo (OP)
Jr. Member
Offline
Activity: 35
Merit: 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 12:42:26 AM |
|
Should the title be "single address wallets" instead, or would multiple-account wallets with single-address accounts work with your idea?
Yeah, the idea is to have one wallet with multiple "accounts", as the client calls them. And only one address per account.
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 05:44:00 AM |
|
Pick up any book on cryptography, open it to any page, stab your finger into any paragraph, and you will find a warning about key re-use. We don't think that our current systems have any serious weaknesses in this department, but virtually every cryptosystem in history has been weakened and then broken because keys were used multiple times.
Best practice for security: use each key once, and only once. Not best practice, but still pretty good: allow multiple uses, but discourage. Worst practice: design a system that keeps using one key over and over and over again.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
ByteCoin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 01:27:31 PM |
|
Pick up any book on cryptography, open it to any page, stab your finger into any paragraph, and you will find a warning about key re-use.
Such concerns are not relevant for the security of modern cryptosystems. In particular, public key cryptography relies on the public key being published and used multiple times. Please cite any modern technical publications which claim otherwise. Codemojo's scheme is simple, viable and secure. ByteCoin
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 02:12:06 PM |
|
Pick up any book on cryptography, open it to any page, stab your finger into any paragraph, and you will find a warning about key re-use.
Such concerns are not relevant for the security of modern cryptosystems. In particular, public key cryptography relies on the public key being published and used multiple times. Please cite any modern technical publications which claim otherwise. Codemojo's scheme is simple, viable and secure. I already said that we don't think the our modern systems have this problem, but every other PK cryptosytem goes to great lengths to minimize usage of the actual private key, just in case.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
JoelKatz
Legendary
Offline
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 02:31:34 PM |
|
I already said that we don't think the our modern systems have this problem, but every other PK cryptosytem goes to great lengths to minimize usage of the actual private key, just in case.
Bitcoin only uses the actual private key when something has to be signed to prove it was generated by the owner of that private key. I can't imagine how you could minimize it further or why you would want to.
|
I am an employee of Ripple. Follow me on Twitter @JoelKatz 1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
|
|
|
bitlotto
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 02:48:22 PM |
|
I was thinking that perhaps in the future it becomes plausible to brute force some keys. When it occurs it could be some time to switch to different encryption. So if it took say 100,000 USD of computer resources to brute force an address and **IF** ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) I was a Bitcoin millionaire I'd rather having many addresses with 1,000 than 1 with a million.
|
*Next Draw Feb 1* BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR TOR2WEB Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 03:13:35 PM |
|
I already said that we don't think the our modern systems have this problem, but every other PK cryptosytem goes to great lengths to minimize usage of the actual private key, just in case.
Bitcoin only uses the actual private key when something has to be signed to prove it was generated by the owner of that private key. I can't imagine how you could minimize it further or why you would want to. You minimize it further by not needing to sign multiple transactions with the same key. Again, I'm not saying that an attack is likely from this direction, I'm just saying that key reuse is considered harmful in general, and should be minimized unless there is a very compelling reason.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
imperi
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 03:26:44 PM |
|
Pick up any book on cryptography, open it to any page, stab your finger into any paragraph, and you will find a warning about key re-use. We don't think that our current systems have any serious weaknesses in this department, but virtually every cryptosystem in history has been weakened and then broken because keys were used multiple times.
Best practice for security: use each key once, and only once. Not best practice, but still pretty good: allow multiple uses, but discourage. Worst practice: design a system that keeps using one key over and over and over again.
What if we don't care about secrecy with transactions?
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 03:45:29 PM |
|
What if we don't care about secrecy with transactions?
Secrecy isn't the issue. The issue is attackers gradually learning bits of your private key.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
kokjo
Legendary
Offline
Activity: 1050
Merit: 1000
You are WRONG!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 04:02:25 PM |
|
What if we don't care about secrecy with transactions?
Secrecy isn't the issue. The issue is attackers gradually learning bits of your private key. an attacker is learning nothing, that the whole point of publickey-cryptography. go look it up on Wikipedia, before talking about anything you don't know anything about. or go read some bruce schneier, he have made a good heavy book, about cryptography. (you know the big red one, with a ufo on the front)
|
"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 04:43:26 PM |
|
I've read it, thanks.
You may want to flip through it again so that you can see how every other cryptosystem other than bitcoin takes great pains to minimize and obfuscate use of the private key, and how every PKI system in the world, again not counting bitcoin, insists on using expiration dates for keys.
Bitcoin private keys have no expiration date, and are used to sign plaintexts that are partially repetitive and predictable. If these factors don't make your sphincter tighten, you missed some big lessons from the history of cryptanalysis.
We can't expire keys, and we can't compress ( =randomize) scripts. The one thing that we do is discourage key re-use. We should not abandon the one good practice that we are capable of doing without a damn good reason, even though we are pretty confident that we are safe doing so.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
kokjo
Legendary
Offline
Activity: 1050
Merit: 1000
You are WRONG!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 05:51:26 PM |
|
I've read it, thanks. you does not sound like you have. You may want to flip through it again so that you can see how every other cryptosystem other than bitcoin takes great pains to minimize and obfuscate use of the private key, and how every PKI system in the world, again not counting bitcoin, insists on using expiration dates for keys. example please. Bitcoin private keys have no expiration date, and are used to sign plaintexts that are partially repetitive and predictable. If these factors don't make your sphincter tighten, you missed some big lessons from the history of cryptanalysis. LOL! expiration date! the only reason for them is for 512 bit RSA keys, and for CAs to earn money. 512bit RSA was secure in 1990 and broken(practicaly) in 1999. samething thing now: bitcoin private keys today are secure. in 10 years they may not be. on a busy SSL server, things gets signed and encrypted, 1000 times per second. with the same 1024/2048 bit key. they are not broken (yet). it has nothing to do with key reuse. We can't expire keys, and we can't compress ( =randomize) scripts. which is good. The one thing that we do is discourage key re-use. We should not abandon the one good practice that we are capable of doing without a damn good reason, even though we are pretty confident that we are safe doing so. Abandon good practice? did you ever hear of X.509? i would like to abandon it, as fast as possible.
|
"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
|
|
|
codemojo (OP)
Jr. Member
Offline
Activity: 35
Merit: 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 05:56:10 PM |
|
We can't expire keys, and we can't compress ( =randomize) scripts. The one thing that we do is discourage key re-use. We should not abandon the one good practice that we are capable of doing without a damn good reason, even though we are pretty confident that we are safe doing so.
Thanks for your insight, very interesting. The way I see it now is, if the person holding the single-address account doesn't care that much about his money being stolen (like maybe he only keeps small amounts there), then this approach would be sane. I mean, I'm mostly concerned about this patch having a negative impact on some other unrelated bitcoin user, or the network as a whole. For example, could this behavior make another user less anonymous, or make some other client break (because there is a direct cycle - an input is the same as an output), etc...
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 06:21:30 PM |
|
on a busy SSL server, things gets signed and encrypted, 1000 times per second. with the same 1024/2048 bit key. they are not broken (yet).
Dude. SSL never encrypts anything with the server's private key. Never.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
dinox
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 06:58:29 PM |
|
on a busy SSL server, things gets signed and encrypted, 1000 times per second. with the same 1024/2048 bit key. they are not broken (yet).
Dude. SSL never encrypts anything with the server's private key. Never. Dude. Bitcoin never encrypts anything with the user's private key. Never.
|
blockchain.info/fb/1dinox - 1Dinox3mFw8yykpAZXFGEKeH4VX1Mzbcxe Active trader on #bitcoin-otc - See here - Proof that my nick is dinox here
|
|
|
kokjo
Legendary
Offline
Activity: 1050
Merit: 1000
You are WRONG!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 07:09:53 PM |
|
on a busy SSL server, things gets signed and encrypted, 1000 times per second. with the same 1024/2048 bit key. they are not broken (yet).
Dude. SSL never encrypts anything with the server's private key. Never. partly true. but it is used(to sign) in the key-exchange protocol, to prevent a 3. party for modifying the protocol messages.
|
"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2011, 07:15:17 PM |
|
on a busy SSL server, things gets signed and encrypted, 1000 times per second. with the same 1024/2048 bit key. they are not broken (yet).
Dude. SSL never encrypts anything with the server's private key. Never. Dude. Bitcoin never encrypts anything with the user's private key. Never. Like the signature? Are you going to quibble that the ECDSA step isn't technically an encryption because it can't be reversed? How about this then: In SSL, the server's private key is not used for encryption, nor for hashing, nor for any other operation, cryptographic or otherwise, of anything that is released to any other party.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
|