Bitcoin Forum
May 06, 2024, 05:20:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 ... 186 »
1241  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 22, 2013, 12:53:37 AM
I can do makefile stuff ...

Want to make 0.5 BTC?  It's gotta be much less complicated than I'm making it.

https://github.com/etotheipi/BitcoinArmory/blob/master/cppForSwig/Makefile

I mentioned it a few posts up:  the issue is python-dev.  I need it static-compiled into the project, but I need it to autodetect the location of it, and switch to the .so if the .a does not exist.   I know that Makefile is terrible -- I don't do Makefiles or bash scripting... I did whatever I could to make it work, but it's clearly not very portable...

Hmmm, security wise you may consider supplying your own python-dev lib?

There's a lot of system libraries that Armory depends on.  I can't statically compile all of them.  At least, all these libraries are in the standard repos which are generally widely used, and downloaded with authentication by the package manager.

Also, I don't want a 200 MB git repo by including all these libraries, especially OS-specific ones.  I included crypto++ due to similar problems as this one, but that was a nice compact C++ library.  Maybe I can get the same from python-dev?  I never actually looked at how much source code it is or how much of a pain it is to compile (in all OS)

It doesn't change the fact that my makefile is crappy.  But at least 98% of the problems would go away.  Hmm...
1242  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 21, 2013, 11:39:52 PM
I can do makefile stuff ...

Want to make 0.5 BTC?  It's gotta be much less complicated than I'm making it.

https://github.com/etotheipi/BitcoinArmory/blob/master/cppForSwig/Makefile

I mentioned it a few posts up:  the issue is python-dev.  I need it static-compiled into the project, but I need it to autodetect the location of it, and switch to the .so if the .a does not exist.   I know that Makefile is terrible -- I don't do Makefiles or bash scripting... I did whatever I could to make it work, but it's clearly not very portable...
1243  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 21, 2013, 04:39:37 PM
Sorry for this off-topic question.

I use Armory offline in Ubuntu 10.04, and I did not update my offline bundle to the latest version - is this a problem? What benefits would I get from upgrading?

Thanks


The subset of features used in offline mode are rarely updated.  I change some of the flow (try to remove unnecessary question boxes), and add a couple convenience features, but nothing you need.  There won't be a "required" update of the offline computer until the new wallet format is implemented, but that may actually still work fine with old wallets -- only needed for new wallets.

1244  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 21, 2013, 04:07:23 PM
I should start a bounty to have someone with real Makefile experience rework that Makefile.  I know it sucks.  It works on Ubuntu 12.10-, and requires only small deviations for other OS, but I don't know how to do it "right".

Instead of a bounty, how about the model Gavin (or was it Jeff) mentioned during one of the panels... find someone who can do it and contract directly with them. If you give a price that it's worth for you, I'm sure someone around here knows a makefile expert who would be interested. Maybe you could offer a tiny bounty for the first person to get you in contact with a makefile developer who contracts with you. At least that's a simple and well defined requirement.

I am in total agreement with Gavin about this.  For anything substantial, bounties are a really terrible way to get work done.  However, I have actually had great success with bounties for things like this, which are

(1) Extremely well-defined
(2) A trivial amount of effort for someone knowledgeable (1-3 days)
(3) I'm the only one offering the bounty and I decide (not by consensus) who gets it, and I'm not a stickler about it.

For anything that is more than a couple day's work and without well-defined exit criteria, bounties are a terrible way to go.   Especially when it's a long project and project direction could change mid-way, etc.  In this case, it's clear what needs to happen, and if I end up with something that's not exactly right, I'll still pay the 0.5 BTC.

1245  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 21, 2013, 01:37:56 PM
I switched from Ubuntu to Debian this weekend and tried to recompile Armory. It failed, of course. I didn't need to install any extra packages this time but I did need to edit line 15 to:

PYVER += 2.7

I got rid of all that other junk because it just wasn't working, and I know what python version I'm running, so I can just plug it in manually.

I should start a bounty to have someone with real Makefile experience rework that Makefile.  I know it sucks.  It works on Ubuntu 12.10-, and requires only small deviations for other OS, but I don't know how to do it "right". 

The only issue appears to be python-dev.  In Ubuntu 13.04, the files end up somewhere unexpected.  In other OS, the static library is not available.  But I need it to compile the static library when available, for distribution purposes (or else it fails to start on many systems when installed from my .deb).  If it doesn't do that by default, I'll inevitably create non-working .deb packages and go through the whole release process not realizing I did it.

So, anyone want 0.5 BTC?  This can't possibly take a long time to do, it just needs someone who has any experience with Makefiles.  If the python-dev library is already installed, it should (1) Try to compile using the static library (.a), (2) If the static library is not available, just use the dynamic (.so) library, and (3) Do so in the "correct" manner to find these things, not hardcoding paths as I have basically done.
1246  Bitcoin / Armory / Re: Cold storage security vs paper backups? on: May 17, 2013, 07:20:10 PM
At least the paper will survive through water,
Unless you use an inkjet printer.

Quote
heating below 451 F,
With all respect for Bradbury, I doubt that this temperature is particularly significant :-)

Even ink will stain the paper well enough that your'e almost guaranteed to be able to recover it.   You might not be able to identify it by eye, but someone with some tools will be able to read it.  And you only need to do it once to get your coins back.

As for 451 F -- yeah, I just meant "close to fire" but not directly set on fire.  Like if you keep your Paper/USB in a metal box that comes in contact with fire when the house burns down, the paper still has a good chance to survive.  I'm pretty sure most USB keys and CDs would start to melt and electronics overheat ,etc.

It's not an exact science, I'm just trying to dispel the myth that paper is somehow inferior to other options.  I think it's a great option, and easily "upgradeable" to a better option (like putting it in something fire proof).
1247  Bitcoin / Armory / Re: Cold storage security vs paper backups? on: May 17, 2013, 05:44:31 PM
I guess I don't really understand the huge appeal of the paper backups.  Part of the appeal of bitcoin to me is that it's, well, digital. 

My Armory security scheme: I manually copied my private keys onto my flash drive.  I don't have a cold storage computer, but I can always move them back when I want to spend them.  It's unencrypted...for now, but when I start actually using bitcoin seriously, I plan on GPG encrypting the private keys just to be sure.

So, is there any real advantage from a wallet security standpoint of this kind of setup over a paper backup?  It seems to me that my only risk with this system is that my flash drive gets corrupted and I lose the private keys.  Assuming that doesn't happens, the only way I'd lose my bitcoins is if I happen to have a virus on my computer that is somehow smart enough to wait for me to move my private keys back on to my computer and then spend them before I get a chance to do so myself.  Not too likely, in my opinion.

Unfortunately, it's very likely.  Malware doesn't just get onto your system and leave.  It sits there and does its things.  One of those things could be checking for wallet files periodically.  Or maybe whenever any Bitcoin software is started.   Just because the wallet isn't there when the first malware was acquired, doesn't mean that it will just leave in frustration and never come back again.  It's very easy for it to look for wallet files every time removable media is inserted, etc.

And that doesn't take into account the fact that the malware may not even be looking for wallet files, because they're encrypted anyway and it can't do anything with it.  It just waits for you to open Armory and unlock your wallet, then it pulls your private keys out of RAM (or pulls your passphrase out of RAM and takes your wallet file with it).  In this case, it doesn't matter whether your wallet isn't on the filesystem 99.9% of the time, because the malware doesn't do anything until it detects Bitcoin activity.

The hardware wallets (that don't exist yet), offer superior advantage over a flash drive, because they require a physical keypress, and do not allow download of private wallet data.  The signing is done on the device and it only emits signatures, not private keys.  The attacker can steal the passphrase, but they can't press the buttons on the device to get it to sign things.

And you assume your USB device will work in a couple years.  It might.  It probably will.  But why even take that chance when paper works 100% of the time.  Just about anything that destroys paper will also break your USB key (direct fire, shredding, etc).  At least the paper will survive through water, heating below 451 F, and mass bending/stretching/tearing/deformation.

The downsides of unencrypted paper are mostly resolved by the M-of-N stuff I'm going to be releasing soon.  Though, the backup system will allow you to save some fragments on paper, some on removeable media.  However you prefer it.
1248  Bitcoin / Development & Technical Discussion / Re: Making 0-conf TXs relatively safe "again" on: May 17, 2013, 04:12:44 PM
Bitcoin is a consensus-building network.  There cannot be a reliable zero-confirmation system using the Bitcoin network alone, because it can't build consensus that quickly.  The whole point of it is that your confidence in the transaction can grow exponentially as a function of work done (#confirmations), but if it has zero work then there is no confidence in it.  At the end of the day, it's that simple -- you can't be confident until your transaction is buried in proof-of-work, which means it must have confirmations. 

That's not to say that there will never be hope for zero-confirmation transactions:  it just means that they will never be (and never were) suitable for zero-trust exchanges without external services.  There are some cool things you can do with locktime and alternate sighash codes, but they all build off already-confirmed transactions -- they require seeding a contract with an already-confirmed tx!   Third-parties may provide mechanisms to help people transaction instantly, and they may take a fee for it.  But you won't get there with the network rules alone.

We need to get away from this wishful thinking that we can somehow adapt this proof-of-work system to work with transactions that have no proof-of-work.  There's still use for them, just not zero-trust transactions (i.e. if my coworker sends me money to cover the lunch tab, I can be confident with the zero-conf, because I can go to his cubicle and punch him later if he double spends, etc -- this is not a zero-trust situation.).   
1249  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 17, 2013, 02:06:54 AM
made a false assumption that 0.88 would automatically uninstall previous version.  Two versions were on my computer so removed them both and reinstalled 0.88. 

its doing its several hour update right now, but I doubt I have enough RAM anymore (you mentioned somewhere that 6mb is minimum).

quick question... what advantage does armory have over Electrum?  I'm considering switching..

Obviously multi-hour starting is not supposed to happen.  It's a couple minutes if you have the RAM, and will be very fast/instantaneous after the next upgrade.

Electrum is obviously designed to be fast and easy to get into.  But you're sacrificing privacy, and a little bit of security, by connecting to these centralized servers.  These servers know exactly how much you have in your wallet and all the transactions you execute.  Similarly, any kind of attack that works on isolating a node, works on Electrum.

For a casual user, it's not all that important.  For someone with a lot of BTC, the privacy implications are concerning, and the security issues are not terrible, but they'd prefer to just remove all doubt.

Armory also just has more/better features than anything else.  It's the cadillac of desktop wallets.  If you have the system resources and yo uget it running, it'll treat you better than anything else, you support the network by running a full node, and you've optimized your security and privacy by going through a full node you control, instead of trusting others.

Right now, Armory is really suffering in the usability dept.  I hope that's resolved in the next couple weeks and then people won't have to ask that question again!  (well, it will still require the same effort as Bitcoin-Qt, but not much worse than that).
1250  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 17, 2013, 01:35:58 AM
was running .87 (i think?)  and started getting a runtime error.  Just updated to .88 and now armory won't open at all!! (I click on it and nothing happens.  Nothing.)
 Angry

Do you have any non-ASCII characters in your username?  Like an "é"?  That became a problem in 0.88. 

If so, you might have to stick with 0.87.2 but switch to 64-bit version.  The 32-bit version has stopped working until the next release (with revamped engine). 
http://bitcoinarmory.googlecode.com/files/armory_0.87.2-testing_win64.msi


If you don't have any non-ASCII characters, your problem may simply be that you need to completely uninstall the previous version before installing the new version.  Try that first, then go back to 0.87.2 (64-bit) if it still doesn't work.  In all cases, you're going to have to uninstall the old version, and your wallets will be completely safe through the reinstallation cycle.
1251  Bitcoin / Development & Technical Discussion / Re: [BOUNTY: 0.3 BTC/person] Help test Armory backups demo (M-of-N GUI + More) on: May 16, 2013, 11:36:13 PM
this looks great, I can't wait. I'm not really tech-savvy enough to be much help with the testing, but I await eagerly for the release!

I am however mulling over the idea of a fire and water proof envelope w/ lock suitable for safely storing paper wallets at home. maybe with a magnet for hiding under or behind stuff, similar to those house-key hider-thingys. I saw it in a dream the other night, oddly enough, but it could be a nice real-world accessory. paper presents its own vulnerabilities, and strong boxes are just hard to stash and an invitation to theft.

i should probably begin by searching camping supply places, something like I described could already exist. still, you could probably market a branded "Armory" one for the die-hards ;-)

keep up the good great work!

If you think about it, just about anything that destroys paper, also destroys digital media.

Water:  paper will survive (it doesn't have to look pretty to be useful).   USB keys might survive, if you let them dry out 100%.  CDs will survive.
Direct fire: are goners
High heat (below 451 deg F):  Paper survives, CDs and USB keys probably won't
Bending & Stress:  Paper wins.  Clearly.
Shredding: paper at least has a chance here.  Good luck reconstructing a shredded USB/CD.

I'm curious what scenarios lead to a destroyed paper backup, but not USB/CD.   Or what would be a reasonably-inexpensive medium that could replace all this that would be more resistent to things.  Though, I think my point was that paper is far and away excellent without needing to search for other options.

1252  Bitcoin / Armory / Re: Feature request: recurring payments on: May 16, 2013, 10:19:15 PM
Yeah, that's something that I'll actually add to the new wallets when I get back to them... some kind of "schedule" entry that could be used to trigger notifications for making payments.  It wouldn't even just notify you, it would actually pop up with the "Send Bitcoins" dialog already pre-filled in, you just have to hit "Send" (or "Create Unsigned Transaction", if it's a watching-only wallet).

But as you noted, that's low priority.  But I've made a note to myself to add it to the new wallets (though, they are being made with extensibility in mind, so that it should be easy to upgrade later if I forget).
1253  Bitcoin / Development & Technical Discussion / Re: [BOUNTY: 0.3 BTC/person] Help test Armory backups demo (M-of-N GUI + More) on: May 16, 2013, 10:17:08 PM
I think you better tell users to be careful of case for the secure code.

or maybe just eliminate case and make the code longer.

I had considered removing case and making it longer, but I really wanted it to be shorter to avoid having it significantly increase the amount of data to write/type.  I already think it's too long, but I need to make sure it has some kind of sanity check, and enough entropy to be useful. 

On that note: at the moment, it's 7 bytes plus a 1-byte checksum displayed in base58.  That is 56 bits of entropy, drowned in 16MB of key-stretching.   56-bits doesn't sound like a lot, but the keystretching takes my i5-2500K about 0.25seconds to compute.  If you had just a single CPU working on that, it would take 580 million years to go through the possible keyspace.  Even with a multi-million-CPU botnet, you're out of luck.  And GPUs won't be very useful with the 16MB required per thread. 

I figured the case-sensitivity was okay, because I'm displaying it in such a huge font, it's obvious what is upper and lower case.   It can still be changed, though...
1254  Bitcoin / Bitcoin Discussion / Re: Vim's splash screen should display a donation address, let's convince B Molenaar on: May 16, 2013, 09:10:14 PM
I am a vim maniac!  I am always jumping between about 12 vim sessions, and do 100% of my coding with it.  I'm in for 3 BTC!
1255  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 16, 2013, 07:23:29 PM
Real nice work, I'll give this a test in the next day or so.

Just out of interest, is it possible to implement some form of two factor authentication into Armory before a transaction is sent?

I do not have much understanding of the technical side of Bitcoin, but say a private key/wallet is encrypted with a bunch on "one-time passwords" that require the use of a phone running gAuth to complete the transaction.

That kind of 2-factor auth requires a centralized server. Anything that I implement using, say, google-auth, would be purely security theatre.  It would add 2-factor auth for you using Armory, but someone who steals your wallet file wouldn't need it.  It's because the network doesn't care about google-auth.

However, if I ever get back to the new wallets, I will be implementing two-factor auth using multi-sig network scripts.   Then your phone would also have a bitcoin wallet, and the network would expect to see a signature from both.

I absolutely will be doing this, at some point, but I have a lot of priorities.  Not to mention, I need an Android app Undecided.  I have someone helping with Android stuff, but it's still a ways off.  This is exactly what you want.
1256  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 16, 2013, 03:20:18 PM
This is definitely a Bitcoin problem, not an Armory problem.  Armory is bound to the transaction fee "guidelines" built into the default Bitcoin-Qt/bitcoind apps.  I can let Armory try to send a zero-fee tx, but Bitcoin-Qt/bitcoind may not like it and the tx will be DOA -- it will never make it to the network, because it didn't have enough fee to even be relayed by Bitcoin-Qt/bitcoind.

You could have Armory have a system where it can connect to a given IP address for sending.  The user could enter a miner's IP directly.

Yeah, but I don't know how many people would ever figure out how to use that feature.  There would be some, but it would be an underwhelming minority Smiley

However, the new auto-bitcoind feature has Armory connecting via RPC, so the sendrawtransaction command will fix this problem.  Bitcoin-Qt/bitcoind will broadcast the tx regardless of what it personally thinks about it.
1257  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 16, 2013, 03:17:52 PM
The M-of-N feature is pretty awesome.
It has been in the works for a while now.

Thanks Alan.

Yeah, the logic has been in the code for a while, and I had all these great ideas for wrapping a GUI around it, but no time to do it.  The conference was the perfect excuse to get it done.   We want to showcase the advanced security features of Armory to people going by.  Of course, we have to warn them "This beta only works if you are on a 64-bit OS with 5+ GB of RAM".  Still, it should whet their appetite and give them the impression that Armory is the Cadillac of Bitcoin wallets.  Then when the resource issues are resolved, they'll be excited they can finally use it Smiley


1258  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 16, 2013, 02:55:51 PM
So Alan how is it going with the usability issue? I don't mean to be demanding but would like it if you can give me some time frame. Smiley

I made a lot of progress on the persistent blockchain stuff, but when I realized I couldn't finish it before the conference, I decided I had to finish this feature instead.  I may not have mentioned it here, but a friend paid for an exhibitor booth at the conference, and he and his buddy are running (and I'll be there, too).  And we got a good location, too, by the door.  We'll be doing lots of demos.  I decided having the super-backup system (at least in demo) was worth delaying the persistent blockchain stuff by a week.

I made a lot of good progress on the persistent blockchain stuff, but it'll probably still be a couple weeks after the conference before it's ready.

Is it already possible to have encrypted paper backup with a custom password? Does the encryption for the paper backup also use some key-stretching (like scrypt, pkbdf2)?

(1) The encryption uses the same key-stretching as is used for wallet encryption which is a simpler (but less flexible) version of scrypt.  It's hardcoded to use 16 MB of RAM per thread, which means it must do 262,144 SHA512 invocations, and keep each step in RAM as a lookup table to use for 144k lookup operations.    This will take older computers a second or two, but it will be done so infrequently, I decided, I should err on the side of taking too long. 

(2) There is no custom passphrase.  However, the intention of M-of-N was to replace that.  An encrypted backup is just a 2-of-2 backup -- requiring the paper, and the password in your head.  You can, instead, do a 2-of-2 backup with the new utility, and think of one sheet being the encryption key for the other.  But with this, you get an extremely flexible tradeoff of security and redundancy.  M is how much "security" you want, and N is how much redundancy you want (well, N-M).   

I've ranted before about the dangers of having an encrypted paper backup option, because it's the one place where users should not always pick the "best-sounding" option .. i.e. "Oh yeah, encrypt everything, great!".   I have seen probably 200+ BTC lost to forgotten passphrases.  It's tough to have the encrypted backup option while still encouraging people to have at least one unencrypted backup, somewhere.  Or rather, prevent people from unwittingly creating brainwallets.

1259  Bitcoin / Armory / Re: Armory - Discussion Thread on: May 16, 2013, 07:23:54 AM
Some bounty-goodness, here:

https://bitcointalk.org/index.php?topic=206874.0

Yes, I finally got around to implementing this M-of-N backup stuff.  And it turned out pretty awesome (besides needing some polishing).  

The testing will be useful in general, but I especially need it in the next 24 hours so I can demo it at the conference.

1260  Bitcoin / Development & Technical Discussion / Re: [BOUNTY: 0.3 BTC/person] Help test Armory backups demo (M-of-N GUI + More) on: May 16, 2013, 06:56:25 AM
By the way, teaser shots of the new features, if you can't actually get in to use the testing version...





Pages: « 1 ... 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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 ... 186 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!