justusranvier
Legendary
Offline
Activity: 1400
Merit: 1013
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 04, 2012, 08:38:16 PM |
|
I think I still have a CueCat or two laying around somewhere. I wonder if it could be repurposed to read QR codes?
No, CueCat is strictly a 1D scanner In theory this is not an insurmountable problem (hand-held document scanners are also 1D) but in practice it's probably not worth the trouble. The only reason I ever had one of those things is because Radio Shack gave them away for free.
|
|
|
|
dunand
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 04, 2012, 08:40:36 PM |
|
Found instructions on installing (Ubuntu/Linux) software QR readers, one of which can snap a pic from a webcam. Not as convenient as the Wasp. Summarizing from above (and general Bitcoin practice), it sounds like the ultimate process is: - Download entire block chain into a file (copy the Satoshi client block chain file)
- Transfer chain (via air gap) to offline computer
- On offline computer, Scan QR into an app that can read the chain, sign a tx, and save tx to file (for all/part of the balance, to some other hot wallet address)
- Transfer tx file (via air gap) back to an online computer, and use an app that can send it to the Bitcoin network
Sorry for the newbish question, but can the Satoshi client do offline transactions yet? I'm not seeing it in the bitcoind help list. You beat me to it. I was using QtQr to scan qr codes with a webcam on ubuntu. Not a Wasp but it's ok if you need to scan something once in a while on a PC.
|
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 04, 2012, 09:21:20 PM |
|
casascius: how do you secure your printer?
|
|
|
|
Nyhm
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 01:06:29 AM |
|
You beat me to it. I was using QtQr to scan qr codes with a webcam on ubuntu. Not a Wasp but it's ok if you need to scan something once in a while on a PC.
Great! I hadn't actually tried it yet, but I'm glad to hear that it does work. Thanks for the input.
|
|
|
|
Seal
Donator
Hero Member
Offline
Activity: 848
Merit: 1078
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 01:23:13 AM |
|
Hey casascius, did you write any guides on the paper wallet methods you follow?
I still need to test this out as my cold storage is effectively usb keys with their own wallets.
|
|
|
|
etotheipi
Legendary
Offline
Activity: 1428
Merit: 1093
Core Armory Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 01:31:12 AM |
|
This might be an expensive but effective way to execute offline transactions with Armory, but you would need two of them. Since you need to send the offline computer the transaction, and then send the signature back. (but it's not really different than the manual ways that people attempt to synchronize the blockchain with the offline computer...)
The only problem is that there will be the few transactions that will require dozens of bar codes... could be annoying.
Perhaps the best thing to do is get a USB key with a write-protect switch. Use that to transfer offline-transactions to the offline computer, and then use this device to send the signatures back to the online computer. The signatures are almost guaranteed to fit in a single bar-code, though the original transaction will not. This would remove a large portion of the attack surface, since most attacks on Armory cold storage would be through USB drivers of some sort. A virus can't write your private keys to the USB if it's write-protected...
|
|
|
|
casascius (OP)
Mike Caldwell
VIP
Legendary
Offline
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 03:12:35 AM |
|
This might be an expensive but effective way to execute offline transactions with Armory, but you would need two of them. Since you need to send the offline computer the transaction, and then send the signature back. (but it's not really different than the manual ways that people attempt to synchronize the blockchain with the offline computer...)
The only problem is that there will be the few transactions that will require dozens of bar codes... could be annoying.
Perhaps the best thing to do is get a USB key with a write-protect switch. Use that to transfer offline-transactions to the offline computer, and then use this device to send the signatures back to the online computer. The signatures are almost guaranteed to fit in a single bar-code, though the original transaction will not. This would remove a large portion of the attack surface, since most attacks on Armory cold storage would be through USB drivers of some sort. A virus can't write your private keys to the USB if it's write-protected...
I am not sure write-protected USB keys are very common. I have never seen one. I've seen write-protect slide switches on SD cards but they are isolated from the onboard components and seem to work "on the honor system", enforced only by the reader if it's able to read it. But if you (or anyone else) looking for a nifty and unique feature idea for Armory, you ought to consider making Armory offer a wallet interface service that talks to a serial port or a class of things like it (which could include named pipes, telnet/ssh/sockets, character devices). The computer running Armory would be the "trusted" computer, and whatever is on the other end could ask Armory to sign transactions, at which point Armory would get the user's permission through the UI before doing so, perhaps letting transactions meeting specific criteria (in terms of amount per unit time, or to known/trusted addresses) go through automatically.
|
Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable. I never believe them. If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins. I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion. Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice. Don't keep coins online. Use paper or hardware wallets instead.
|
|
|
etotheipi
Legendary
Offline
Activity: 1428
Merit: 1093
Core Armory Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 03:22:11 AM |
|
I am not sure write-protected USB keys are very common. I have never seen one.
Admittedly, there aren't many brands that have a write-protect switch: we use them at work all the time (a requirement on some systems). So it's possible, but I don't know how much it would improve security... But if you (or anyone else) looking for a nifty and unique feature idea for Armory, you ought to consider making Armory offer a wallet interface service that talks to a serial port or a class of things like it (which could include named pipes, telnet/ssh/sockets, character devices). The computer running Armory would be the "trusted" computer, and whatever is on the other end could ask Armory to sign transactions, at which point Armory would get the user's permission through the UI before doing so, perhaps letting transactions meeting specific criteria (in terms of amount per unit time, or to known/trusted addresses) go through automatically.
Admittedly, I considered this idea seriously before determining that there was increased risk for many users, instead of decreased. The ubiquity of drivers and subsystems that automatically run on serial ports on many systems is scary. I was surprised to find out that some flavors of linux will allow telnet/ssh sessions by default over serial, even an IR link! Obviously, things can be done to avoid this, but I don't know if it's the best idea to recommend to the general user that may not take the appropriate precautions to prevent it. My ultimate goal will be to team up with someone and make a dedicated device that only receives transactions, shows confirmation on a little screen and waits for a button press, and spits out signatures. No way to pull the keys out of it. It would basically be a handheld TPM. However, I'm a long way off from that. Until then, I might look into the audio-coupling idea jim618 proposed. In the meantime, this device may provide those with a lot of money to spend on protecting their coins, some improvement. I just have to have Armory display a QR code containing the necessary signatures once it is signed.
|
|
|
|
casascius (OP)
Mike Caldwell
VIP
Legendary
Offline
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 04:18:10 AM |
|
Admittedly, I considered this idea seriously before determining that there was increased risk for many users, instead of decreased. The ubiquity of drivers and subsystems that automatically run on serial ports on many systems is scary. I was surprised to find out that some flavors of linux will allow telnet/ssh sessions by default over serial, even an IR link! Obviously, things can be done to avoid this, but I don't know if it's the best idea to recommend to the general user that may not take the appropriate precautions to prevent it.
I assume you mean the risk is that the serial ports have a getty or equivalent process on them, since of course telnet/ssh sessions imply there's TCP/IP which isn't present on a serial port by default. Wouldn't this be geared more toward the expert user / web developer rather than the general user? The kind of person who's going to interface with this would be in a position to notice their serial port spitting out "myblackbox login:" ... "Login incorrect" and do something about it that is not likely to be reversed by accident. Presumably the system process would be swallowing some or all of their communications as though they were login or password attempts, and it should be quickly obvious that something is wrong. And even if there was a wide open getty process, trying to crack even a medium-strength password against one over a serial connection is an extremely arduous process comparable to watching weeds grow (sort of like watching paint dry, but much slower)... If this is the only reason you're considering an audio link, are you really sure it's worth the hassle? You're talking re-implementing codecs from scratch, dealing with differences in audio hardware, sampling rates, ground loops, a potentially CPU-intensive Fourier transformation to decode wave data... for all that hassle, you could just as soon write a scout that scans the running processes, detects errant getty processes and throws a fit once found.
|
Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable. I never believe them. If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins. I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion. Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice. Don't keep coins online. Use paper or hardware wallets instead.
|
|
|
ralree
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 05:26:31 AM |
|
So... my phone can do this with the free QR code app, Mt. Gox app, etc. This seems like a waste of $319 to me, but to each their own! Why is this better than using your phone?
|
1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
|
|
|
casascius (OP)
Mike Caldwell
VIP
Legendary
Offline
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 05:35:33 AM |
|
So... my phone can do this with the free QR code app, Mt. Gox app, etc. This seems like a waste of $319 to me, but to each their own! Why is this better than using your phone?
If you're handling thousands or tens of thousands of somebody else's bitcoins, an amount you can't afford to lose, you're already negligent if you're doing so on your mobile phone in the first place. This advice isn't for everybody to spend $319 to manage their $100 worth of bitcoins, this is for people running exchanges and web shops and those entrusted with significant sums of money, like the 30K BTC that got hacked out of an exchange recently.
|
Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable. I never believe them. If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins. I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion. Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice. Don't keep coins online. Use paper or hardware wallets instead.
|
|
|
Transisto
Donator
Legendary
Offline
Activity: 1731
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 06:28:52 AM |
|
+1 No solution is too far fetch when it come to securing bitcoins.
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 06:32:03 AM |
|
Hi Mike, I used the imporprivkey command a bit with some vanitygen addresses (that were new so obviously had no existing balance) recently and the automatic rescan that bitcoind does was a real pain for me as it takes around 15 minutes on my laptop (so it ended up taking me an hour to import four addresses). If you (or anyone else reading this that is able to build Bitcoin) has any time to test this patch then provided there is no issue with it I will make a pull request for this option (sorry I don't have time to test it myself as I use VC++ on my laptop, a very old Linux OS on my server and am flat out coding on my own project). https://github.com/ciyam/bitcoin/tree/importprivkey_rescan_optCheers, Ian.
|
|
|
|
Transisto
Donator
Legendary
Offline
Activity: 1731
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 06:36:12 AM |
|
I'm not sure how that compare to a dedicated netbook with encrypted volume. Netbooks are ~200$, have a camera, and can optionally be connected to the network through a very limited connection.
If someone pop up behind your back, how are you going to protect those paper wallets ?
Securing the PC by hitting a button, or attaching you foot to the power cord could provide a fast exit from intruders.
This thing look no different than typing codes manually or having a webcam/software read it. (both relatively cheaper / free)
|
|
|
|
Realpra
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 10:08:24 AM |
|
Paper wallets, hear hear!
Maybe put the addresses on 1 dollar bills so that the day your house is robbed the thieves will buy bubblegum whilst unknowingly paying a thousand dollars or so... you know for the lulz.
In all seriousness do you have a dedicated offline computer and printer to print the paper wallets? I hear printers are surprisingly hackable.. though of course the risk of such attacks are quite a bit smaller than unencrypted wallets on online PCs.
(Wasp looks cool)
|
|
|
|
greyhawk
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 05:46:57 PM |
|
If someone pop up behind your back, how are you going to protect those paper wallets ?
I'm reasonably sure the number of persons who manage to remember a QR code is quite limited.
|
|
|
|
Transisto
Donator
Legendary
Offline
Activity: 1731
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 06:25:52 PM |
|
If someone pop up behind your back, how are you going to protect those paper wallets ?
I'm reasonably sure the number of persons who manage to remember a QR code is quite limited. I didn't say "someone sneaking over your shoulder", I meant protecting those pieces of paper against home invasion type hit on the head / runaway.
|
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 07:07:21 PM |
|
This thread deserves a sticky somewhere on this forum or another subforum.
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
casascius (OP)
Mike Caldwell
VIP
Legendary
Offline
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2012, 07:23:31 PM |
|
If someone pop up behind your back, how are you going to protect those paper wallets ?
By never possessing them - at least not any high value ones. I do think of the possibility that someone could kick down my door and shout "give me the god damn paper wallets", and they definitely wouldn't get much. I wrote a feature in my Casascius Bitcoin Address utility that allows m-of-n private keys, similar in concept to the one Vitalik Buterin wrote. It's probably not the version that is ever going to make it as a standard, but it functions for my purposes. Using it, I can implement safeguards against robbery as well as death/incapacitation. One of the controls I use is a mandatory visit to multiple places, one of which is a safety deposit box whenever I need to access large amounts of coins, for example, if somebody goes on my website and orders a gold coin etc., and I need to access their payment. If someone orders a gold coin or anything above a certain threshold, I don't sweat it, because they get a payment address from a different batch of addresses that are kept this way. I already have to do a scheme like this anyway just so I don't ever possess gold coins any longer than I have to, so doing this with paper wallets isn't that much more difficult. Visiting the safety deposit box is relatively painless, I just go in there knowing what address I want the private key for, and scan one QR code with my phone, and the paper wallet booklet never leaves their vault. Once scanned this enables me to do the transaction, elsewhere of course. Since it's m-of-n, I don't have to worry about the bank personnel having their own key and getting in there and being able to redeem the paper wallet out from under me, nor do I worry about whether the QR app's developer will be able to benefit from the code. This is the right way to handle somebody else's money, or at least much closer to it than having a giant hotwallet! Mark at MtGox has alluded they do something similar.
|
Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable. I never believe them. If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins. I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion. Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice. Don't keep coins online. Use paper or hardware wallets instead.
|
|
|
Uglux
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2012, 07:40:59 AM |
|
You beat me to it. I was using QtQr to scan qr codes with a webcam on ubuntu. Not a Wasp but it's ok if you need to scan something once in a while on a PC.
I tried to install QtQr on Ubuntu 12.04 yesterday, but with no success. I'm using "zbar-tools" now and it works great ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
|