Bitcoin Forum
June 04, 2024, 10:43:20 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 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 ... 186 »
861  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: November 04, 2013, 03:19:42 AM
Just an update from me, I have built most the database, it says I have about 13mins but considering how long this took, I would say about ~4 more hours. But it is going and no problems so far!

OSX 10.9

Interesting.  What's your system specs?  A few others have reported 30 minutes to build the database on OSX, which is actually faster than it's been working on my Linux system!  (about 40-50 min).  There's also a scanning operation after that, which is 10-20 min.  After that, it shouldn't need to rebuild or rescan again and should start up pretty quickly (unless you restore wallets or import private keys).

862  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: November 03, 2013, 08:36:40 PM
Just to clarify about the OSX version I just made available through dropbox: that version was built by me, not picobit.  I used his script to do the building, but I reviewed it and confirmed that it's building directly from the github repo and downloads the build dependencies from standard locations. 

If this version is like the previous version, it should work 100% when it works (besides the fact that it's the new testing version with a few usability bugs).  I'll let people report their experiences with it, but I would guess it can be trusted as much as the Linux or Windows testing versions.   Those versions are pretty solid, besides the usability issues. 

So usual caveats about "testing version: use at your own risk", but I don't see a reason to trust this version less than the other ones already being tested.



863  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: November 03, 2013, 06:42:52 PM
It is working for me on OSX 10.9, it is says "preparing database" so once is it finished I will reply, but it started! That is big plus!

Well just because it works on OSX, doesn't mean that the database/build/scan bugs are fixed.  I still have a lot of work to do on that front, but at least I have the tools now to debug it easier...

Unfortunately, one of the caveats of picobit's solution is the difficulty of passing command-line arguments.  I might "hack" something that will work from the menu:  Armory will check for a "rebuild.txt" or "rescan.txt" file at startup, if it finds it, it will delete it and then do the rebuild or rescan.  The menu option will simply write the file and then close the app.  This makes it fairly simple to force the rebuild or rescan, and also make it easy to induce it from within the app (I had problems before, trying to force this to happen after the app was already running). 

I'll make sure that's in the next version.  Unfortunately, we'll still need a real solution to the CLI-argument issue, since you can't set the --datadir this way. Though, for everything else, I suppose I could use an armory.conf file just like the bitcoin.conf file...
864  Bitcoin / Armory / Re: Armory - Discussion Thread on: November 03, 2013, 06:29:59 PM
i'm trying to load the Armory blockchain in 0.88.1 linux version but it can't locate the Bitcoin install or home directories.  i have already Shown Hidden Files in the home directory.  Bitcoin Qt was previously installed.

when i go to Change Settings to redirect for these directories while in Armory, they don't show up in the search folders.

any suggestions?

For reference, cypherdoc emailed me, and the problem turned out to be that he used the PPA method to install the "bitcoin-qt" package, but did not install the "bitcoind" package which is required if you use the default setting "Let Armory run the Bitcoin software in the background".  Apparently that worked.

Also, if you aren't following the RAM-Reduction thread, I just posted the output of Picobit's new build process.  Please try it out!

https://bitcointalk.org/index.php?topic=299684.msg3472728#msg3472728
Direct download of Armory.app: https://dl.dropboxusercontent.com/u/1139081/ArmoryTestingReleases/Armory.app.0.89.99.9-testing.tar.gz

So far I'm hopeful that it is more robust than the one on the website.  If so, that means that version 0.90 will have:
(1) Dramatically reduced RAM and startup times
(2) Full backup center with fragmented backups and SecurePrint
(3) Full support on OSX, including 10.9/Mavericks.

I can only hope, though... please test!
865  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: November 03, 2013, 06:27:06 PM
Yay picobit!

https://dl.dropboxusercontent.com/u/1139081/ArmoryTestingReleases/Armory.app.0.89.99.9-testing.tar.gz

That 40 MB tar.gz unpacks into a 136 MB Armory.app directory, which should be double-clickable to run Armory.  I successfully compiled it on my MacMini, after review the build-app.py script that picobit gave me, and then successfully running it.  There was a few hiccups in the build process, but it ultimately worked.  And kudos to picobit for not only giving me a script, but being diligent about creating and sorting log files for each command so I could easily figure out what went wrong.  

Please test it on your OSX system.  Especially on 10.9, and especially on any systems where the download from the webpage didn't work.  I want to find out if this .app works better than the one we originally got from higuys.  I'm hopeful based on els' statements that it worked on both 10.8 and 10.9, but I definitely need more empirical evidence.  

By the way, this is actually 0.89.99.9.  This has a feature merged in from CircusPeanut that fixes the broadcast issue people experience when using older versions of Armory on the offline computer.  The issue was that the core devs implemented a soft-rule requiring normalized signature padding, and older versions of Armory didn't do that.  Thus when you sign with the older version, the tx will be rejected if you are running Bitcoin-Qt/bitcoin 0.8.2 or newer.  This version works around that by exploiting the same transaction malleability that the core devs were trying to reduce!  It adjusts the signature padding of the already-signed transaction -- it changes the hash of the transaction but makes the transaction not only valid, but isStandard() so it will broadcast correctly.  

If you are experiencing that broadcast issue, you can:  (Linux) Pull the latest testing branch and use that (OSX) Use this .app (Windows) Wait for the next testing release.  
866  Bitcoin / Armory / Re: Is Armory vulnerable to USB-Stick viruses like BadBios? on: November 03, 2013, 06:21:46 PM
Whoops, totally posted to the wrong thread!  Please ignore this post...

[Post relocated to the correct thread]
867  Bitcoin / Armory / Re: Is Armory vulnerable to USB-Stick viruses like BadBios? on: November 03, 2013, 04:03:16 PM
Personally, I think this is an ideal steady-state solution once the offline system is setup.  But you can't use plain QR codes, you'll have to do QR videos.

drazan's visualBTC android offline wallet uses "animated QR codes" which is consistent with what you said about the practical bandwidth requirements.  https://bitcointalk.org/index.php?topic=210371.0

The other thing is there's a sanity size cap on a transaction: the bitcoin block size is limited to 1MB for now, and I think its probably the bitcoin developers might have to take countermeasures or non-linear size related fees if people got in the habit of creating individual transactions that use a whole block - that would limits bitcoin to one transaction per 10 minutes.

Just to be clear, the issue is not the maximum size of a single transaction.  The issue is that in order for the offline computer to verify the transaction fee, you must supply every, full, supporting transaction along with the one to be signed.  The offline computer must see the tx associated with every input, so it can verify the value of each input.  Therefore, if I send you a few dust outputs contained in 100 kB transactions, then you will potentially be moving 0.5 MB of tx.  Even without me doing anything, I"ve had people report issues because they use their offline wallet to collect lots of small payments over time and then end up with 271 inputs at once.  Those are multi-megabyte transactions.  The single QR codes are just not scalable for this, requiring me to develop something that can handle wider bandwidth for those cases, anyway...

Technically, there's a trivial hard-fork solution:  https://bitcointalk.org/index.php?topic=181734.0 ... but I don't have much hope of it being adopted.  
868  Bitcoin / Armory / Re: Is Armory vulnerable to USB-Stick viruses like BadBios? on: November 03, 2013, 03:45:09 AM
dacoinminster, if badbios does what people are claiming it does, you're fcked no matter what. There's nothing a user-level program like Armory can do to protect you, except perhaps using a TPM chip. There are no robust wallet apps with TPM signers that I'm aware of*, although this would be a good addition to Armory...

Well there is also the air-gapped optical interface: scanning QR codes. drazvan made an offline QR code scanning wallet using network disabled cheap android wallet (can buy for $50 - $100) including camera.  Then you can make payments.

You do need no buffer overflows in the QR code scanner, but other than that...

And at least thats code we get to look at, not USB firmware on a motherboard.

Adam


Personally, I think this is an ideal steady-state solution once the offline system is setup.  But you can't use plain QR codes, you'll have to do QR videos.  If you have to move 2 MB to the offline computer and back... you really want those 100 QR codes to be cycled at 13.82 Hz (or any frequency that isn't a multiple of the other device sampling frequency).  Though even then, your arm might get kind of tired holding it up while it acquires all the images.  Meh. 

But there is still the concern about getting the system setup in the first place.  I guess if you have a custom OS image with the camera software pre-installed, you could use the QR thing to move the Armory offline bundle intself onto the system. 

Yeah, we really need to come up with a set of best practices, so people have some kind of guidance...
869  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: November 03, 2013, 03:21:51 AM
Mac is definitely a high priority right now.  I also should put in an informational channel to communicate with users like "Armory does not yet work with OSX 10.9.  If you upgrade you may temporarily lose access to your Armory wallet". 

Things like Windows XP and obscure (err... less-popular) flavors of Linux will be lower priority for now.   Luckily, goatpig has helped out tremendously with Windows in general, so I'm down to just a couple bugs left (though one is going to be a pain to fix), and then OSX support.  I'm going to make it my mission to try to get picobit's OSX solution working before the end of the weekend.   We'll see where it goes from there.

It sounds like goatpig might have a decent XP solution, but I will leave it to those who really want it to try to get it working.  Too many other things for me to worry about right now.

870  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: November 02, 2013, 06:08:45 PM
That increasingly shrinking proportion of XP users are increasingly going to be comprised of the people with (seemingly) no choice but XP; the poor (as well as those with poor opportunities to get hold of machines capable of running modern OS's, which are mostly still the economically poor). I know, I know, with a bit of work they could install a nice undemanding Linux distro that would be a much better all ways round, but that underestimates how protective the less computer savvy sort of individual would be over their only working PC. The extent to which such a machine, in a known working order, is valued by such a person perhaps cannot be overestimated; they might depend on it for a current system to receive foreign remittances, for instance.

I'd be very amused to hear of Nepalese or Zimbabwean Armory users making successful use of Armory on a 384 Mb 1Ghz XP machine! If they could even thrive with such a setup, then that would really be something. (has anyone ever tested it on Windows 2000?  Tongue)

To be clear, I have nothing against accommodating those OSes.  It's just a matter of priorities.  If we can support it, I'd be happy to, but I need to get some of the more critical usability issues out of the way, first.
871  Bitcoin / Armory / Re: Maximum/Spendable BTC not reporting correctly on: November 02, 2013, 06:06:00 PM
It might be a wallet filter issue.  If you haven't marked some offline/watching-only wallets as your own (in the wallet properties), they will not be displayed by default.  This is part of a mechanism to prevent people from importing arbitrary watch-only wallets and then thinking they own the coins.

You can change the filter in the drop-down box on the bottom-left corner of the main window.  Let me know if that's not your problem.
872  Bitcoin / Armory / Re: Is Armory vulnerable to USB-Stick viruses like BadBios? on: November 01, 2013, 10:03:40 PM
Thanks Alan.

I'm actually a lot more worried about the "assume-the-ONLINE-system-is-already-compromised-by-the-most-advanced-malware assumption". That has basically been my assumption all along, which is why I find the concept of infections spread by USB keys really scary. Is that what you meant?

In many ways, I have designed the system assuming the online system is compromised, but without the ability to spread USB viruses (easily).   As long as you check very carefully on the offline system that the amounts and addresses are what you expect, then it's an exceptionally safe setup (because we've assumed no USB viruses like this).  The data that is transferred over USB is public, non-sensitive, and contains everything the offline computer needs to fully verify all the details of the transaction.  I had even considered an operational mode where people could run just the wallet, and then send their watching-only wallets to a server, and the server would prepare the transactions for them to sign (for the people without the resources to run Armory online).  I could provide such a service confidently, because it would actually be a very safe system -- the downside would be how easy it is for the server to feed bogus UTXO information and effectively DoS the wallet (every signature produced would be invalid, thus making the system unusable -- but better than losing coins!).

So, under the offline-system-is-secure scenario, the worst that happens is having your transactions become invalid (though, you can lose coins because you didn't verify the addresses and amounts on the offline system before pressing "sign" -- the virus could exploit someone simply being non-attentive).  If the offline system is compromised, then it would be a pretty advanced virus (jumped through hidden data on USB), and thus should be sufficiently advanced to shuttle private key data back over USB.  Or hide data in transaction malleability.  Or if both systems are compromised, it just flat out jams the private key into the signature space, and tells you it's valid, and the online system recognizes and sweeps the funds to the attacker before you've even realized your broadcast transaction is invalid.

Because of this, it's worth visiting how to minimize damage of an offline computer compromise, but it's a very difficult problem and one I can't claim to solve.  Use anti-virus on your online computer, dedicate a small USB key to be used for only offline transaction shuttling, and really check all the addresses and amounts of the transactions before signing.  Also, if the transaction is sufficiently large, I recommend making a phone call to the recipient to manually verify the addresses.    This will keep you from being "low-hanging fruit" to the next piece of Bitcoin malware Smiley


873  Bitcoin / Armory / Re: Is Armory vulnerable to USB-Stick viruses like BadBios? on: November 01, 2013, 09:21:29 PM
The problem with QR codes is they aren't big enough.  They're big enough for 95% of transactions, but the first time you have to move 1 MB across that channel, you'll be SoL.  And you don't have control over it.  If I know one of the addresses in your offline system, I can send you a couple 100 kB transactions, and effectively DoS your offline solution.

There's a discussion thread about it here:  https://bitcointalk.org/index.php?topic=68482
And ironically: https://bitcointalk.org/index.php?topic=135423.0

But none of it is ready yet.  Though goatpig claims to be making progress on the audio solution.

I should clarify though: the article doesn't say that computers will be infected through audio or power-line communication.  But if your offline computer is already infected, it can use those methods to communicate with another infected machine.  It does sound the stuff of science-fiction, and I'm conflicted about whether to believe this is a real threat (since there's conflicting evidence).  But it does give us some hints about ways we can protect ourselves better. 

I would argue that assume-the-offline-system-is-already-compromised-by-the-most-advanced-malware assumption makes security a mostly intractible problem.  There's too many ways for a properly-secured-but-compromised offline system to leak information.  And depending on how good it is, it might only need one transaction to do it.    The best thing we can do is take appropriate precautions to minimize risk of infection, and be able to detect it when we fail.

Now that ATI has some money, we'll be spending some of it to get some real good crypto/security guys to help us shape our best practices to address threats like this, even if this particular one turns out not to exist [yet].
874  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: November 01, 2013, 02:42:43 AM
Coming back to the good clients, what do you reccommend right now for a 64-bit win8 user with 8 GB of RAM?

Still 0.88.1 from the website.  Feel free to help test this version, but I'm fairly certain that the crashing bugs are bit too much for most people.  I finally caught the biggest one in the debugger, but it doesn't look like it's going to be easy to fix.  So it may still be a few days...
875  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: October 31, 2013, 08:52:14 PM
Yeah, so far everything has broken on 10.9.  Picobit gave me a script for building a more-standalone version of Armory on OSX, which should hopefully resolve this problem on most versions of OSX, and hopefully Mavericks, too.  And hopefully we'll get a new guy soon that will be better experienced with OSX in order to battle these OSX problems.

I just caught the "Marking Orphan Chain" bug in the debugger, which I've been hoping to do for days!  If I fix that bug, then I'll be under a lot less stress and can maybe take a shot at this.  Stay tuned and thanks for being patient!

And I have been very passive recently due to being busy with other things.  I have an issue or two with my build script and the latest changes to Armory, but they are Makefile related and I will have a look at it in the weekend.  I will still be using Mountain Lion for a few weeks, but should then soon be able to test with Maverick too.

There is a vexing issue with OS X: If the database is messed up (and that happens too often), it is hard to call Armory with --rescan.  Passing command line arguments to OS X apps is possible (but not elegant), but the actual app is a script that calls Python, and that script does not pass through command line arguments.  If it did, Armory would refuse to start, since OS X per default sets some strange command line arguments (windows position, perhaps), and Armory cannot parse them.

At one point I added rescan and rebuild buttons, but they didn't behave properly.  I decided that they needed to occur before the app loaded.  With some luck, these upcoming bug fixes will require that a lot less frequently.  Or I'll find another mechanism to do it.

The makefile was updated by goatpig to do a more-intelligent search for the python dependencies.  It's very possible that you may need to just branch that whole section if compiling on OSX/Darwin.

876  Bitcoin / Armory / Re: Armory - Discussion Thread on: October 31, 2013, 04:46:36 PM

Unfortunately, that sounds like a corrupt wallet.  It fails when trying to unlock.  Do you have a backup? 

We're actually working on a tool that helps recover from corruption, but until then we kind of have to do it manually... unless you have a paper backup.  If you do, make a digital backup of the old wallet first, "Delete/Remove Wallet", and then from the main window, "Import Wallet" and "Restore from Paper Backup."   It will have to rescan, but then you'll have your coins back.


I tried my first digital backup, which is 3 months old and it should by ok, but still the same problem. I can try to restore it with paper backup tomorrow, but have you any more idea, what could cause this problem? Maybe it is not the unlocking problem, but something with sending? Or generate Armory log or something? Thanks for help Smiley

When it crashes on unlocking, it's definitely a wallet corruption issue.  Technically, it's possible for us to do a raw binary-extract-and-recover operation in the code, but it isn't ready yet.  We'll get it eventually.  

For now, the best thing you can do is make another backup (for catastrophic recovery), then go into wallet properties and "Delete/Remove Wallet."  Then restore from whatever backup you have.   That should resolve the issue.

There is a known problem using older versions of Armory to sign transactions, causing errors when attempting to broadcast.  We have a fix for that which will be integrated into the next testing release.  But that doesn't sound like your problem.  You can verify it's wallet corruption by attempting to make a paper backup, which will also require typing your password.  If it crashes there, then it's corruption.  If you actually get to the print-backup screen, then it's a different issue.

If you do see the paper backup screen (and thus not wallet corruption), then please go to "File"->Export Log File and send us the output.  support@bitcoinarmory.com.  Thanks for your patience!

877  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: October 31, 2013, 03:23:41 PM
Has anyone else had issues with Armory in the new Mavericks update for OS X?
Is there any update for it?
I'm currently running the latest version of armory and mine just does not run at all...I've got around 20 or so bitcoins stuck in there and I really do hope I haven't lost them all.
I did research seeing if OSX 10.9 wasn't compatible Armory though didn't find anything, until it happened to me.
anyone know what I can do?
I tried editing the info.plist's to change max versions and still didn't work no matter what I did :/

Yeah, so far everything has broken on 10.9.  Picobit gave me a script for building a more-standalone version of Armory on OSX, which should hopefully resolve this problem on most versions of OSX, and hopefully Mavericks, too.  And hopefully we'll get a new guy soon that will be better experienced with OSX in order to battle these OSX problems.

I just caught the "Marking Orphan Chain" bug in the debugger, which I've been hoping to do for days!  If I fix that bug, then I'll be under a lot less stress and can maybe take a shot at this.  Stay tuned and thanks for being patient!
878  Bitcoin / Armory / Re: Armory - Discussion Thread on: October 31, 2013, 02:38:12 PM
Hi,
I have problem with Armory. When sending bitcoins, when I write password to unlock wallet and confirm transaction, the Armory crash when I hit OK. I have this problem with release version and also with the latest beta version. I have this problem in Win8 and Win8.1 both 64-bit
Have anybody any idea? Thanks for help

Unfortunately, that sounds like a corrupt wallet.  It fails when trying to unlock.  Do you have a backup? 

We're actually working on a tool that helps recover from corruption, but until then we kind of have to do it manually... unless you have a paper backup.  If you do, make a digital backup of the old wallet first, "Delete/Remove Wallet", and then from the main window, "Import Wallet" and "Restore from Paper Backup."   It will have to rescan, but then you'll have your coins back.



879  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: October 31, 2013, 04:01:30 AM
Give me a couple days and I'll investigate to code in a WinXP environment. Just don't pull the plug yet!

Last but not least, I can port the atomic types and operations to WinAPI calls. That would let you compile in MSVS 2008/10 and would entirely go around the whole issue. This is the only part of the code that isn't backwards compatible with earlier compilers.

No offense to Dabs (sorry Dabs!), but I'm not convinced there's a reasonable cost-to-benefit ratio for this past a couple hours of work.  For every day that we spend on it, the number of potential XP users in the world shrinks by 2%...


EDIT:  To be clear, please take a shot at doing it.  I just don't want to spend a lot of resources working on it, because there's other priorities.   Well, assuming your priorities are aligned with mine Smiley
880  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.8) on: October 31, 2013, 03:52:58 AM

Unfortunately, I think the issue is that there are system DLLs being passed along with Armory that are not compatible with Windows XP, even though all the Armory code itself was compiled with the XP toolset.   Unless goatpig has a recommendation for this, I'm not sure I see a way around it.   I would have to compile directly on Windows XP, but you can't even get MSVS 2012 installed on XP.

Ugh.

I don't have anything on this. I have compiled simple code and successfully had it work on WinXP with this toolset before. I can't give you more info without looking at the behavior myself. I'll set up a WinXP guest at some point and give it a look.

It might be possible to merge the .dlls from the old 0.88.1 release which was compatible with WinXP, with the new version with all the Armory code compiled using the XP toolset.  But that could be a mess and might not end up working.  I'm afraid that our move to MSVS 2012 may have shut out Windows XP users. 
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 ... 186 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!