Bitcoin Forum
May 10, 2024, 07:21:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 »
1541  Bitcoin / Development & Technical Discussion / Re: Pywallet: manage your wallets/addresses/keys/tx's on: December 21, 2011, 01:12:03 AM
RE: documentation about key encryption:

See the comment at the top of crypter.h:

Code:
Private key encryption is done based on a CMasterKey,                                                                                                   
which holds a salt and random encryption key.                                                                                                           
                                                                                                                                                       
CMasterKeys are encrypted using AES-256-CBC using a key                                                                                                 
derived using derivation method nDerivationMethod                                                                                                       
(0 == EVP_sha512()) and derivation iterations nDeriveIterations.                                                                                       
vchOtherDerivationParameters is provided for alternative algorithms                                                                                     
which may require more parameters (such as scrypt).                                                                                                     
                                                                                                                                                       
Wallet Private Keys are then encrypted using AES-256-CBC                                                                                               
with the double-sha256 of the public key as the IV, and the                                                                                             
master key's key as the encryption key (see keystore.[ch]).                                                                                             

The way I think of it:  Take the passphrase and salt and SHA512-hash them nDerivationIterations times.  That gets you an encryption key and initialization vector.

Use those to AES-256-decrypt the encrypted_key master key.

Now you can AES-256-decrypt the private keys, using the master key as the key and the (double-sha256-hash) PUBLIC part of the keypair as the initialization vector.

The "SHA-512-hash them a bunch of times" is actually done by the OpenSSL EVP_BytesToKey routine-- documentation for that is here: http://www.openssl.org/docs/crypto/EVP_BytesToKey.html



I'd been wondering about this for awhile. Thanks for the info.

Glad to see you are working on this again jackjack.  Once I can retire one of my old wallets, I'll send you a donation.
1542  Other / Beginners & Help / Re: connect bitcoin through Tor software? on: December 21, 2011, 01:03:12 AM
Bitcoin transactions aren't really anonymous because your IP is broadcast with that transaction. Through your ISP you could then be identified. In my honest opinion I think the Bitcoin client should have something similar to TOR built into it and preconfigured. When that is done, Bitcoin will then be completely anonymous.
but how do other people know that the transaction originated from you? for all they know, you could be simply be relaying it. Roll Eyes
There is talk about IP tracking here https://bitcointalk.org/index.php?topic=34383.20
there's many ways of getting around it
1) broadcast the transaction using an external service. perhaps a tor based website?
2) broadcast over a public connection
3) broadcast only to "trusted" nodes
I think that would be better stated as "there will be many ways of getting around it." I have heard talk of sites for transmitting offline transactions being developed, but are any public?

What do you mean by public connection? Like run the client at a library? That doesn't sound very feasible.

Only communicating with trusted nodes would work, but doesn't sound very feasible either. I know there are points in bitcoin where trust makes things easier, but I really believe that we should do our best to make trust unnecessary.  With tor, you don't have to trust the other peers and they can't tell your IP.
1543  Bitcoin / Development & Technical Discussion / Re: [PULL] private key and wallet export/import on: December 21, 2011, 12:32:09 AM
Should talk about a new pull request for a firstbits index be in a new thread?  It seems like there is enough support for it here.
1544  Other / Beginners & Help / Re: connect bitcoin through Tor software? on: December 21, 2011, 12:21:13 AM
Bitcoin transactions aren't really anonymous because your IP is broadcast with that transaction. Through your ISP you could then be identified. In my honest opinion I think the Bitcoin client should have something similar to TOR built into it and preconfigured. When that is done, Bitcoin will then be completely anonymous.
but how do other people know that the transaction originated from you? for all they know, you could be simply be relaying it. Roll Eyes
There is talk about IP tracking here https://bitcointalk.org/index.php?topic=34383.20
1545  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer - LTC/FBX/TBX on: December 20, 2011, 11:04:53 PM
Went from 3.5 khash/sec to 4.7 on my 3.0GHz AMD Athlon II X2 250 Processor
1546  Other / Politics & Society / Re: I need a design of bitcoin flag for demonstrations in Russia on: December 20, 2011, 10:53:40 PM
What exact message would you ideally like to convey through the flag?

1. The fiat money should be replaced with bitcoin to protect peoples of the world from seigniorage
2. might be some additional things related to GPL, to the right to access to the internet

Right now I think about big yellow "B" sign over red surface (red color, lot of blood is specific of the country)

While this would look cool as a banner on a website or on a poster, I don't see anyone being able to easily make it into a fabric flag. Overlapping stripes and colors and gradients are pretty much impossible.

I feel like a red flag with a yellow B is too similar to the Russian/soviet-era flags.  I guess that isn't a bad thing, but I would prefer something less politically based.  Considering this is for Russia, I guess it would work though.
1547  Bitcoin / Mining support / Re: Intel vs AMD on: December 20, 2011, 10:44:00 PM
It appears you are running eight GPUs under windows...that gets my vote as the problem.
This sounds likely.

I know cgminer creates 2 threads per GPU to help keep the activity as high as possible.  Maybe you could try that.
1548  Economy / Marketplace / Re: Confused -> help would be nice. on: December 20, 2011, 10:37:51 PM
I'm confused to. How does counterfeit currency make anyhting easy? Printing dollars is hard and illegal and the person you pay is tricked. Bitcoin isn't like this at all.

Escrow services and a nice mobile thin client are on my list.  I'm also playing around with namecoin which needs a nice GUI so less-technical people can be their own registrar.
1549  Economy / Service Discussion / Re: Coinedbits is a little deceptive on: December 20, 2011, 10:33:34 PM
I don't understand why you would want these.  Wouldn't a coin that has stored bitcoin be more interesting/useful?
1550  Bitcoin / Project Development / Re: Warning to web developers: My google analytics attack on: December 20, 2011, 07:40:21 PM
That's also why no sane developer should be serving sensitive data over HTTP or have HTTP content on a sensitive page, period. HTTPS is *never* cached to disk.
I beg to differ: http://blogs.msdn.com/b/ieinternals/archive/2010/04/21/internet-explorer-may-bypass-cache-for-cross-domain-https-content.aspx

I feel like bringing up IE as an example of insecurity is unnecessary lol
1551  Bitcoin / Project Development / Re: {Announce} Coming soon Bitphone on: December 20, 2011, 09:17:13 AM
Teamspeak 3 has encrypted voice and is free.  I want to look more into how secure it really is though.  It doesn't get you SIP, but there is an iPhone app (maybe other phones too) so you can still go mobile with it.

And tor will definitely cause latency issues.  I was reading that i2p is better for faster services but the article didn't really go into why and that might have just been for resolving, not sure about latency.  Maybe a different anonymous routing system could work, but the latency is kind of built into having your connection bounce around the world.

1552  Bitcoin / Project Development / Re: Warning to web developers: My google analytics attack on: December 20, 2011, 09:05:25 AM
Nice tips for the security conscious/paranoid, deepceleron.
1553  Bitcoin / Mining / Re: I want your hasing power! "Project #2" 110%-105% PPS! on: December 20, 2011, 07:55:11 AM

Sorry I did not understand. I am rounding up because I am doing all of this by hand. I really don't care right now if I give away and extra .01 here and there:)  you will get a bit less with the front end that is coming soon. Sorry for the delay in the answer.

Goat
I was expecting full precision payouts as well, but rounding up with 110-105% sounds good to me Smiley
1554  Bitcoin / Mining software (miners) / Re: Request for an RPC capable fork of cgminer (125/155 BTC pledged so far) on: December 20, 2011, 07:33:38 AM
So I built it in git and successfuly got an error message in JSON.  Can you give an example command?

Code:
{"STATUS":[{"STATUS":"E","Code":23,"Msg":"Invalid JSON","Description":"cgminer 2.0.8x"}],"id":1}

Also, the version is still showing as cgminer 2.0.8x.  I thought that this was z

EDIT: woohoo!

Code:
[user@miner cgminer-pyrpc]$ python cgminer-rpc.py devs
{"command": "devs"}
{"STATUS":[{"STATUS":"S","Code":9,"Msg":"3 GPU(s) - 0 CPU(s)","Description":"cgminer 2.0.8x"}],"DEVS":[{"GPU":0,"Enabled":"Y","Status":"Alive","Temperature":74.50,"Fan Speed":4359,"Fan Percent":85,"GPU Clock":830,"Memory Clock":350,"GPU Voltage":1.049,"GPU Activity":99,"Powertune":0,"MHS av":377.53,"MHS 5s":377.48,"Accepted":160,"Rejected":8,"Hardware Errors":0,"Utility":4.70,"Intensity":"8"},{"GPU":1,"Enabled":"Y","Status":"Alive","Temperature":71.00,"Fan Speed":-1,"Fan Percent":-1,"GPU Clock":820,"Memory Clock":350,"GPU Voltage":1.049,"GPU Activity":99,"Powertune":0,"MHS av":373.36,"MHS 5s":368.26,"Accepted":179,"Rejected":6,"Hardware Errors":0,"Utility":5.26,"Intensity":"8"},{"GPU":2,"Enabled":"Y","Status":"Alive","Temperature":68.50,"Fan Speed":1612,"Fan Percent":44,"GPU Clock":1000,"Memory Clock":350,"GPU Voltage":1.162,"GPU Activity":99,"Powertune":0,"MHS av":321.44,"MHS 5s":323.91,"Accepted":138,"Rejected":13,"Hardware Errors":0,"Utility":4.05,"Intensity":"8"}],"id":1}

EDIT AGAIN: only kinda woohoo!

Code:
'{"STATUS":[{"STATUS":"S","Code":11,"Msg":"Summary","Description":"cgminer 2.0.8x"}],"SUMMARY":[{"Elapsed":2862,"Algorithm":"c","MHS av":1071.31,"Found Blocks":0,"Getworks":754,"Accepted":676,"Rejected":42,"Hardware Errors":0,"Utility":14.17,"Discarded":44,"Stale":0,"Get Failures":5,"Local Work":44,"Remote Failures":0,"Network Blocks":6}],"id":1}\x00'

That null byte at the end makes python's json module complain. Is there any reason you have it there? I've just stripped it off for now.

Here is my basic socket client in python

https://gist.github.com/1500780
1555  Bitcoin / Electrum / Re: [ANNOUNCE] Electrum - a new thin client on: December 19, 2011, 09:55:29 PM
Great work slush.  JSON is really easy to use.  I'm glad you stayed away from binary or weird sockets.

Spesimilo and Electrum should definitely work together.  It seems like their only difference is that spesmilo isn't a thin client (and it's harder for me to spell).
1556  Bitcoin / Development & Technical Discussion / Re: [PULL] private key and wallet export/import on: December 19, 2011, 09:45:40 PM
Key import/export has just been merged for 0.6.

Wallet import/export needs a bit of work still, so is delayed.

Key removal support has been dropped, because of too many dangerous side-effects on wallets (in particular in combination with accounts). I'm willing to maintain this as a separate branch, though.

<3
1557  Bitcoin / Mining software (miners) / Re: CGMINER CPU/GPU miner overclock monitor fanspeed in C linux/windows/osx 2.0.8 on: December 19, 2011, 04:26:57 AM
Same here Smiley
With the USB script in my sig (which I also had help directly from ckolivas and his README when I wrote it) to install 11.04 - which I did back in July - that machine has also never crashed while mining nor has cgminer ever crashed for me except when I was working on the code of course Smiley

Of course it's had the rare USB boot problem, but that's nothing to do with the linux version or cgminer - that's to do with USB and BIOS issues (and the simple 10Watt solution is to install an HDD instead if you can't have that USB problem ever happen due to not having direct access to the machine)
I reboot it about 5 times a week coz I shut it down weekdays at 2pm and start it up again at 8pm and of those around 100 reboots I've only had a few failures when I don't power it off and just reboot.
It always works when I do power it off before restarting it.

Again the reason why I said just install 11.04 or 11.10: people use it and it works.

I've been using Fedora for many years (setting up many offices and servers for clients) and in all that time I always have done a wipe and install on upgrade (of course I have auto backups and such that save all the data and system configuration)
It is starting to get better on some of the distros to do upgrades, but I've avoided it in order to avoid those random problems you find just when you don't want them.
In the next few days I'm going to update this desktop (fc12) to fc14 or fc15 and even though it's got almost 2 years of configuration I've played with, I'm still thinking that I'll wipe and reinstall rather than upgrade ... not 100% decided yet but I'm still wary of upgrading.
If I do change my mind and upgrade, it will be my first time ever to use that path.
If one of my GPUs dies, cgminer hasn't ever successfully restarted it.  If I hit "q" to quit, it hangs.  I've just been rebooting the server and that works easy enough.  5970 and a 5830 on BAMT.  I'm planning on following your ubuntu guide next I redo my rig.  It would be nice to have a simple ubuntu setup with live-build kind of like how I have for bitsafe but with cgminer instead of bitcoind.

Side note: When you do a fedora upgrade, you can only go up 1 or 2 versions.  So fc12 -> fc15 will give you an error.  They also changed the boot partition to being 500MB instead of 200 so that can be an annoyance. Also, 16 is out, but I miss chkconfig and haven't learned systemctl fully yet Sad
1558  Bitcoin / Mining software (miners) / Re: Request for an RPC capable fork of cgminer (125/155 BTC pledged so far) on: December 18, 2011, 08:41:40 PM
Any ETA for JSON?  The python parse script in this thread doesn't work properly and I started to write my own, but it got pretty ugly.  I want to play around with monit kind of like how BAMT does.
1559  Economy / Exchanges / Re: BTC-E.com exchange BTC/GG/SC/TBX/LTC/FBX/RUC/NMC/RUB/ <-> USD\BTC\RUB on: December 18, 2011, 08:30:22 PM
Any interest in adding Second Life Lindens as a possible currency for exchange?  Right now only virwox does.

Also, your replies to people who are missing their funds just being a link to saying that you are moving to a new server isn't too comforting.
1560  Economy / Securities / Re: [GLBSE] TyGrr Tech on: December 18, 2011, 08:01:03 PM
Any interest in FPGAs?

I think it would be (relatively) easy to use the spare USB ports and power cables on your GPU miners to run FPGAs.  Your electricity isn't too expensive at $.13/kWh, but FPGAs are more efficient than GPUs.
Pages: « 1 ... 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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!