Bitcoin Forum
May 12, 2024, 05:37:44 AM *
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 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 [46] 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 »
901  Bitcoin / Electrum / Re: Electrum - Bitcoin client for the common users (friendly and instant) on: October 05, 2012, 01:16:40 PM
I am very sorry if I broke things you wrote. please understand that it was not my intention.

I made several changes last week in order to fix a few scripts that were broken.
To be more precise, Tachikoma added a third parameter to the constructor of the Interface class, and you added a fourth one.
Since that class was used elsewhere, the following scripts were broken: peers, blocks, watch_address, get_history

it would have been possible to add those parameters everywhere in order to fix this.
However, I feel that we should also try to reduce the complexity of the code whenever it is possible.
I decided that the third parameter was not really needed, and that the fourth one (proxy) could be optional.

Please do not take this as an aggression. You are very welcome to work on this project.
I did not complain about my scripts being broken, because I did not want to deter your contributions.
In return, I ask you to understand that I did not break things intentionally.

I reckon I did not properly test the proxy function after my commits, mostly because there was not manual for it;
but neither did you guys check that the parameters you added were not breaking things, so let us not blame eachother, ok?

In order to avoid such misunderstanding, it often helps to have direct communication (IRC), rather than delayed forum posts.
In addition, you could have write access to the repository; this would avoid the situation where changes in the repo conflict with your version.




I must say that I'm more than a bit peeved that my proxy code was rewritten and broken. The changes in current master break the ability to load a proxy config. I looked at the changes and thought it was broken but had to pull the current master branch to be sure. I also don't much like the numerous minor syntax changes. What I wrote was tested and worked and now it's a broken mess.

Currently if you set a proxy mode and save it will not get picked up when you start again. It also breaks the ability to disable a proxy to None with a cmd line option since None is no longer supported. These are things I tested fairly extensively before submitting my code. The changes also break fine tuning I made later and probably will result in conflicts when bringing in further improvements I've since made.

I've got whole slew of small and useful changes in my fork and I don't plan to do pull requests on any of them. All of the below are tested as working on my system. No one seems to have bothered testing them elsewhere. Socks support worked too before it was mangled up.

  confirmation-tooltips - use tooltip for confirm count instead of passing tx data
  exchanges-proxy-mode - proxy support for exchanges
  filter-history - show only selected address transactions
  import-addr-or-key-only - add watch only address support
  multi-exchange - allow selecting which exchange to use for quotes
  multi-select-send - easy coin control
  pro-show-currency - add currency quote next to balance in pro mode
  qr-scalable-centered - make qr code scale with window and centered
  red-debits - show withdraw/payments in red text as std for accounting
  remember-column-widths - stop having to re-set column widths
  sahara - new sandy brown theme
  shrink-gui-lite-settings - allow changing back to Lite mode from Pro

Right now, I'm a quite disgruntled with how this project is run. I'm not going to write code to just have it f'd with and overridden with breaking changes. I'd love to see Electrum improve but if the current devs prefer it stagnate then no problem, I can go put my efforts elsewhere.

I don't see that point of me testing my code extensively just to have it merged into master and then edited without my knowledge and broken. Shouldn't breaking changes be tested before merging in master? Doesn't that make bloody sense? Is there any rules about flow here or do people just edit willy nilly in master branch as they please?

902  Other / Beginners & Help / Re: Deterministic wallets and sharing private keys on: October 03, 2012, 02:10:09 PM
Here is a specific suggestion for Electrum: I want to take k pieces of paper, divide the wallet seed into n parts and write on each piece of paper m of the n parts. The pieces of paper will be stored in different locations, so that someone needs access to several locations simultaneously in order to recover the wallet seed. Now, the seed being 128bit long, simply dividing into n shorter parts doesn't work even for n=2 because 64bit is not secure enough against brute force attacks. Each part should be 128bit as well. Maybe Electrum can print out n seeds, 128bit each, which XORed together give the wallet's seed?


if you are geeky enough to want to do that, then I guess you can do it using the command line.
I don't want the GUI to include complicated options that only a minority of users will understand.
903  Economy / Service Announcements / Re: [ANN] ecsda.org: Diaspora node for Bitcoin users on: October 03, 2012, 11:44:02 AM
Per communication? So you exchange the key with someone? Ah okay, that would explain it.

I understood client side encryption merely as a feature that the encrypted messages are stored in the database so that not even the pod owner can see them, but users on other pods that don't have the same feature would then not be able to decrypt them (regardless of what diaspora additionally does in inter-pod communication), even if they are in your aspect.

well, it is more complicated than that... if you send a PM to someone who has enabled client-side encryption, then your message will be encrypted with their public key, even if they are on a different pod. Once received, the message will be decrypted by their client, not by their pod. The pod only sees it encrypted.

But of course, Diaspora also has its own encryption layer, so you have to see this as an extra layer of encryption, where private keys remain in the browser.
Here is a description of the system made by Justin Thomas: (source: https://ser.endipito.us/tags/serendipitous)

Quote
For purposes of posterity, here is how my cryptosystem is designed:

    Four keys are generated for each user, one key for each of these purposes: encryption, decryption, signing, verification.
    The decryption and signing keys are encrypted to the passphrase specified by the user.
    All keys are stored on the server.
    The passphrase is stored only in the user's browser using the HTML5 localStorage facility. Unlike traditional cookies, objects in localStorage are never sent over the network (unless explicitly made to via an AJAX call or something like that). This setup means that you need to re-enter your passphrase on any additional browser that you want to use to view encrypted messages (hence the reason for my first enhancement in my original post above).
    Encryption and verification keys are made public to all Diaspora users as part of each user's webfinger profile.
    When a private message is sent, a lookup is performed to verify two things: that a decryption key for the sending user is available and that an encryption key for all recipients exists. If both criteria are met, the message is encrypted prior to being submitted to the server. If either are not met, then the message is sent unencrypted.

I'm actually not using the signing and verification keys with Diaspora right now because D* already has it's own message signing mechanism and I don't see much point in duplicating that functionality.
904  Bitcoin / Electrum / Re: [Electrum] Independent monitoring of running servers? on: October 03, 2012, 08:32:28 AM
Electrum servers can have a lag of 1 (or even two) blocks caused by propagation delays in the bitcoin network. This is normal, and I would not consider this as an issue.

For larger lags, the current "official" server code also makes sure that the server does not go online until it has caught up with the blockchain.
If this mechanism fails, I would rather try to work on fixing/improving it, rather than asking users to use a monitoring website.
I believe that it would be very bad for Electrum usability if we cannot solve this problem at the server level.

now, this monitoring website could be useful for something else: to measure the percentage of uptime of servers, and maybe their ping time. I think this would be useful.

905  Economy / Service Announcements / Re: [ANN] ecsda.org: Diaspora node for Bitcoin users on: October 03, 2012, 05:04:25 AM
how does it work with the client-side encryption and communication to other pods? not, i guess.  Huh

huh? client-side encryption works with the plugin developed by Justin Thomas, which is already being used at ser.endipito.us.  (see the FAQ above.)

in order to activate client-side encryption, you need add a passphrase to your settings (go to settings->privacy)
Then, for each conversation, it will generate a private key.

Note that this is an additional encryption layer, which is not used in inter-pod communication.
In order to communicate with other pods, Diaspora already encrypts messages. However, that encryption layer requires you to trust the pod admin, because the private keys are stored on the server. What this plugin does is add an extra layer of encryption, for which only you have the keys.
906  Other / Beginners & Help / Re: Deterministic wallets and sharing private keys on: October 02, 2012, 06:43:56 PM
the latter.

Now that it's clear... why is this silly?

As now clarified:
the latter. people should not transfer value by communicating a private key to a stranger.

By the same broad logic, people shouldn't use checks.  Anyone could write a bad check, or put a stop payment on a good one until cashed.

Narrowing it a bit, using checks is sensible when the parties have trust or recourse.  Is the same not true for conveying private keys?  Conveying private keys allows people to transact in Bitcoin units in the immediate absence of power, internet, and/or properly configured hardware, an ability taken for granted with fiat cash/checks and a feature the common populace is going to expect from any currency meant to replace it.

You might be very well organized and aware of the risks, so that after you "redeem" one of your private keys at mtgox, you will also remove that key from your wallet, or otherwise mark it as "not secret anymore", so that you will never reuse the corresponding address to receive coins...

However, you cannot expect other people to have the same level of organisation, discipline and awareness as you have. It is a bad practice to share private keys, and I do not think we should encourage this.
907  Other / Beginners & Help / Re: Deterministic wallets and sharing private keys on: October 02, 2012, 05:54:02 PM
...the idea of "redeeming" a private key is silly; the only sensible way to transfer value is to create a transaction.

Why is this silly?

It sounds to me almost like saying "using any phone but the iPhone to make phone calls is silly".

Do you mean that the phrase "redeeming a private key" is a silly way to describe conveying a private key as a means of transferring bitcoins, or just that you believe that people ought never to transfer value by conveying the private keys encumbering it?

the latter. people should not transfer value by communicating a private key to a stranger.
908  Other / Beginners & Help / Re: Other Deterministic Wallet Concerns on: October 02, 2012, 05:49:26 PM
Another concern with deterministic wallets is that if a key is imported (not sure if my terminology is 100% correct here) into the wallet any btc associated with that transaction can't be recovered from the seed. Therefore, the wallet.dat needs to be backed up regularly and the seed can't be exclusively relied on to recover all the btc. I guess there is no free lunch. Despite the ease and benefits of a brain wallet you better not forget to backup the wallet!

Is this true or am I confused?

Also, why is it even necessary to import keys from another wallet (is the term sweep)? Why not just send the btc via a transaction to avoid the above problem? Is it a matter of how time consuming it might be?

yes, you are right.
I was not a big fan of the "import" function in Electrum, but some users really insisted to have it.
I hope it will not be proposed in the GUI

909  Other / Beginners & Help / Re: Deterministic wallets and sharing private keys on: October 02, 2012, 05:45:29 PM

Correct. Well, to be precise, you also need the seed S (besides the master public key and a single, non-master private key). Electrum uses the master public key itself as the seed, while Armory uses what it calls a chaincode. However, this doesn't make a difference because for practical purposes, i.e. in order to be able to generate the chain of public keys, both the master public key and the seed will be stored together on the same machine.

what you write is correct, but for Electrum users, the word "seed" refers to a secret number used to derive their master private key.
what you call "seed" here is Electrum's master public key.
I am just writing this in case users who are familiar with Electrum find it confusing. :-)

910  Economy / Service Announcements / Re: [ANN] ecsda.org: Diaspora node for Bitcoin users on: October 02, 2012, 05:38:21 PM
So, what are the benefits? I don't really mind ads. Why should I register to that diaspora?

You can register to any Diaspora pod you like  Smiley

However, the large one (joindiaspora.net) has too much traffic and sometimes has a several-hours lag; better use a smaller pod.

The benefits of a paying service is that we can pay for servers and bandwidth.
This will ensure a continued presence, so that our server (and your online identity) will not vanish one day because of lack of funding.

911  Economy / Service Announcements / Re: [ANN] ecsda.org: Diaspora node for Bitcoin users on: October 02, 2012, 03:37:36 PM
reserved
912  Economy / Service Announcements / [ANN] ecsda.org: Diaspora node for Bitcoin users on: October 02, 2012, 03:34:39 PM
I have setup a new Diaspora node at ecdsa.org, with paying access.
In addition to the standard Diaspora software, this pod features several extensions that will be interesting for Bitcoin users (see list below)
More features will be added in the future.

The main page is here: https://ecdsa.org/
Registration is here: https://ecdsa.org/users/sign_up

Here is an almost verbatim copy of the Terms of Service:

Quote
About:

  Ecdsa.org is a Diaspora pod for Bitcoin users. Its features are:

  * Paying registration.

  * No advertising. No disclosure of private user data.

  * Client-side encryption: your private messages are encrypted in
    your browser, with a key that is kept on your computer. Thus, we
    cannot read them. Even if our database is compromised, your
    private messages will never be disclosed.

 * Support for 'bitcoin:' links. (I guess this will soon be merged
    in the main Diaspora code)

  * Support for Bitcoin aliases: you can receive Bitcoins at your
    Diaspora handle: your_name@ecdsa.org
    (For the moment this is only supported if you use Electrum,
    but a common spec should be decided soon, according to Gavin)



Terms of service:

 * The registration fee is 1 bitcoin. Registration is not limited in
   time; you will not need to renew your registration.

 * Partial refund guarantee: should the ecdsa.org service be
   terminated for any reason (financial, legal or other), users will
   have the possibility to retrieve their data and to transfer their
   account to another Diaspora pod. Users who have been registered for
   less than 1 year will get a partial refund, proportional to the
   time remaining from their 1 year guarantee period.

 * Account termination: We may terminate any account in case of
   behaviour that we deem non-appropriate: breaking US or EU law,
   abusing our hosting capabilities, or otherwise threatening the
   existence of this pod. No refund shall be claimed in this case.

 * Modifications: The present Terms of Service may be updated or
   otherwise modified at any time. In case of substantial
   modification, users will have the possibility to opt-out and
   receive a partial refund.



FAQ

 * Do you use free software?

   Yes! We use the same software as other Diaspora nodes, with a
   few modifications intended to facilitate the use of Bitcoin. The
   modifications we added to the code are free and public, protected
   by the GNU AGPL Licence.


 * How are private messages encrypted?

   Your private messages are encrypted in the browser, using a
   javascript extension written by Justin Thomas and deployed at
   ser.endipito.us. This means that messages are decrypted locally,
   and only you can decrypt them. Even if our database was stolen or
   confiscated, your messages would remain private. (Note: depending
   on your jurisdiction, you may be required to give your encryption
   key to law enforcement).


 * Is javascript safe?

   Client-side javascript encryption offers the same level of security
   as so-called 'web wallets', such as blockchain.info. That is, if
   our website is compromised, an attacker could in principle send you
   malicious javascript and steal your key. However, in practice, such
   an attack would be noticed quickly. In addition, we plan to develop
   dedicated apps or browser extensions, that will not be subject to
   this.


 * Are images encrypted?

   No, images are not encrypted. Neither is your list of contacts.


 * Why is there a registration fee?

   The fee is here to cover our costs, to ensure quality and sustainability
   of our service, and to allow us to develop new features for the
   Diaspora software. Other Diaspora nodes typically have relied on
   donations or advertising; we believe that Bitcoin, because it
   respects the privacy of users, allows us to use a different
   strategy.


 * Isn't the price too high?

   We are one order of magnitude cheaper than App.net, a famous
   ad-free paying social network. At the time of writing, their price
   is $50/year. In contrast, our registration fee is 1 BTC once and
   for all; there is no yearly renewal of your subscription.

   In addition, we are not in a situation of monopoly, with a closed
   network and captive users, like Facebook or App.net. We are part of
   the open Diaspora network. Anyone can run a Diaspora pod and
   propose the same service for free, or for a lower price than us. We
   believe that this will create a situation of healthy competition,
   which is in the interest of users.


 * Isn't the price too low?

   We do not know if the current registration fee will allow us to
   cover our costs in a sustainable way; we did not run a market study
   for that. If it turns out that we need to increase our fees, early
   subscribers will have gained a bargain.
  

 * Can I pay with Paypal or credit card?

   No, you have to use Bitcoin. Diaspora pods often gather communities
   of users who share common interests. This pod is dedicated to the
   Bitcoin community, and we want our users to be Bitcoin users.



913  Bitcoin / Electrum / Re: Electrum - Bitcoin client for the common users (friendly and instant) on: October 02, 2012, 12:26:28 PM
Bkk, would it be possible for you to create pull requests for specific functionality. So we can asses on a per feature basis if and how to merge it back into master?

At the moment it's quite hard to assess this because you have been so active ^^

@bkk: also, you're welcome to come and discuss on IRC. it is much more efficient Smiley
914  Bitcoin / Development & Technical Discussion / Re: Deterministic wallets on: October 02, 2012, 11:18:56 AM
thanks for the advice.
I added the following warning to Electrum: https://github.com/spesmilo/electrum/commit/ad3be71ed7178881d8c0706588dfb3b3d573691d

(it is displayed before the password is requested)
915  Other / Beginners & Help / Re: Deterministic wallets and sharing private keys on: October 02, 2012, 09:41:50 AM
The clients that offer type-2 deterministic wallets (like electrum and armory) should advise their users that sharing any private key from the derived chain (not the master private key, of course) MUST be avoided. Such a sharing of a private key could happen for example by funding your MtGox account with the "Redeem private key" option.

You are right.
A private key should never be shared, and the idea of "redeeming" a private key is silly; the only sensible way to transfer value is to create a transaction.
You are right to point out that this is even worse with deterministic wallets.

I was planning to add a warning in Electrum, against web sites such as brainwallet.org; I guess we should extend that warning, against "redeem private key" features.
916  Bitcoin / Mining / Re: Default transaction fee is too low on: September 30, 2012, 07:20:37 PM
If you disagree, you're wrong.

I felt this had to be quoted...
917  Bitcoin / Bitcoin Discussion / Re: Desktop clients - Quick comparison chart on: September 23, 2012, 06:43:18 PM
Thomas, i have no reason to doubt your integrity as Electrum appears to be working for everybody quite well.  But i have to play devil's advocate and ask what is preventing you from inserting malicious code on the server end or into the client at some point in the future to allow you to upload private keys from the offline wallets once they are decrypted?

The community.
The Electrum source code is open, and any change is being scrutinized by several developers. A malicious modification would be immediately detected by other developers.
This security model is the same for the official Bitcoin client, btw.
918  Bitcoin / Bitcoin Discussion / Re: Updated Bitcoin velocity animation (september 2012) on: September 21, 2012, 09:37:35 AM
This suggests that a large fraction of 2009 coins are not being hoarded, but have been lost.

What is it that leads you to that conclusion?

the fact that the proportion of unspent coins is higher for 2009.
I don't see why coins from 2009 would be hoarded more than coins from 2010.

Because some of the innovators (like Satoshi (???BTC) and mbknight (371k BTC) have hoarded there early mined bitcoins and never used the majority of them to date.

So, coins were hoarded because early users hoarded them? This sounds like a circular argument...

Many people fantasize about Satoshi hoarding coins. Here is my interpretation of the data:

During the whole year 2009, difficulty was equal to 1 (the minimum). There was not enough hashing power to make difficulty increase, and the number of coins mined was, on average, lower than 1 block per 10 minutes. Now if you look at the graph, you'll see two episodes in august 2009 where the hashing power decreased dramatically, almost to zero. These episodes are short, but they are clearly visible, and we can see them both on the difficulty graph (bitcoin.sipa.be) and on my velocity graph. What this means is that most users stopped mining during these episodes, either because they lost interest, or because they were not able to mine for some other reason.
I believe that Satoshi was among those who continued to mine during these episodes. This hypothesis is based on the fact that he is the creator of the network, therefore he was the less likely to "lose interest", and he was also the most likely to do everything to keep the network alive. Think about it: if you created Bitcoin, you would probably consider it as your "baby", and you would keep caring for it even if other people decided to leave. The fact that Satoshi was still active in 2010 confirms this.
If you accept that hypothesis, then the blockchain graph shows two things: First, it gives you an upper bound on Satoshi's mining power in 2009; it was not greater than the height at those dips (it may have been lower than that, if he was not the only person who kept mining during those dips). Nevertheless, the fraction of 2009 coins that could have been mined with that hashing power is very small, less than 5% of the total 2009 output (naked eye estimate).
Second, the proportion of 2009 coins that have been moved from their initial address corresponds, more or less, to the fraction of mining power remaining during the dips (height of the green curve at those two dips). This is consistent with the idea that the people who mined during the two 2009 dips did believe in Bitcoin's future, and thus they did not lose or delete the coins they mined throughout 2009.

919  Bitcoin / Bitcoin Discussion / Re: Updated Bitcoin velocity animation (september 2012) on: September 20, 2012, 02:31:20 PM
update: the animation was moved to http://statistics.ecdsa.org
920  Bitcoin / Electrum / Re: Electrum - Bitcoin client for the common users (friendly and instant) on: September 20, 2012, 06:41:53 AM
Now going back to the cmdline the addresses show up and the 11th one is the change address. I guess that's why it didn't show. So it looks ok but why didn't it work until using the GUI mode? I would want to be able to use the client offline on a cmdline only system to do recovery. Still a little fishy there.

Opening with the GUI changed the file size from 685 bytes to 1555 bytes.

this looks like a bug.
what is your OS?
I use Linux, and it it works fine for me, both in text and gui mode.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 [46] 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!