Bitcoin Forum
November 03, 2024, 12:00:47 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 ... 127 »
  Print  
Author Topic: HOWTO: create a 100% secure wallet  (Read 276208 times)
pk
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
August 29, 2011, 12:40:24 AM
 #461

Thanks for all the info guys.
bitbites
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 29, 2011, 03:07:51 AM
 #462

100% secure doesn't excist D:

That's quite true, and I think the subject is misleading. However, I do think this is a very good guide for decreasing the probability of your bitcoins being stolen.
godofwar
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
August 29, 2011, 06:17:21 PM
 #463

replying for future reference
RTZ143
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
August 31, 2011, 01:50:11 AM
 #464

Ty for the info
skEwb
Newbie
*
Offline Offline

Activity: 21
Merit: 0



View Profile
September 02, 2011, 06:10:19 AM
 #465

Thanks for the info. I try to keep mine off on a physical USB device and use at least 3 of these devices in case 1/3 or 2/3 get lost.
bg002h
Donator
Legendary
*
Offline Offline

Activity: 1466
Merit: 1047


I outlived my lifetime membership:)


View Profile WWW
September 03, 2011, 02:18:59 AM
 #466

I don't think this is good advice....sorry...I think a much better idea would be to create an address & private key pair on a "live" OS, write both down on paper, attempt an import into a wallet to prove you copied correctly, and then reboot to "hide the evidence"...Now, if you are really nuts, memorize the private key and 6 or so initial chars in the public address (in case you don't trust your paper or ink)...put your paper with the public and private keys in a safety deposit box...That's way more secure than optical or magnetic media (which will degrade faster than paper) and way more resistant to cosmic rays than solid state media....obviously nothing is invulnerable to physical attack Smiley

DrGoss
1DrGossc3QidjzgDXzveCAQGiPWsoiDZ8C

Hardforks aren't that hard. It’s getting others to use them that's hard.
1GCDzqmX2Cf513E8NeThNHxiYEivU1Chhe
borez
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
September 03, 2011, 04:33:13 AM
 #467

Thanks for the guide!
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
September 03, 2011, 04:52:21 AM
 #468

Since everyone is posting how they do it I'll add mine. I only have a few Bitcoins so I think this is adequate.

I'm using Ubuntu and gnupg to encrypt the wallet file automatically when I start the client. I'll share my small script for this below. I just edit my Bitcoin menu item and replace it with the name of my script and my personal key id (either name or number but name may need quotes).

eg. script saved as /usr/local/bin/gpgbtc then I call it with "/usr/local/bin/gpgbtc 249AD24C"

Gnupg is already installed by default but for my script you need two more packages. I use "srm" to make sure the non-encrypted version is toasted nicely and I use gnome-gpg so that I can get a gui password prompt.

sudo apt-get install secure-delete gnome-gpg

/usr/local/bin/gpgbtc (be sure to chmod +x so it can be run)
Code:
#!/bin/bash

gnome-gpg ~/.bitcoin/wallet.dat.gpg
chmod 600 ~/.bitcoin/wallet.dat
bitcoin
mv -f ~/.bitcoin/wallet.dat.gpg ~/.bitcoin/wallet.dat.gpg.bak
gnome-gpg -r "$1" -e ~/.bitcoin/wallet.dat
chmod 600 ~/.bitcoin/wallet.dat.gpg
if [ "$?" == "0" ]; then
  srm -fllz ~/.bitcoin/wallet.dat
fi
This script prompts for your gpg key password, decrypts the wallet file, runs Bitcoin. After you close Bitcoin it makes a backup of the last wallet version, just in case something happened, re-encrypts the wallet, and securely removes the decrypted version. If Bitcoin doesn't close properly then it tries to detect that and leave the wallet file for you to check manually.

So far this has been working fine for me and I keep several back up copies of the encrypted wallet (and my gpg stuff too). But if you choose to do like this do so at your own risk. No guarantees from me or anyone else.

This is just for those who may want to do like this but not re-invent the wheel.


Susantorres
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
September 03, 2011, 07:51:11 AM
 #469

Thanks for the info guys, if anyone wants to switch to an Managed cloud computing rather than just cloud computing then he can follow the above link.

Managed Cloud Computing | Managed Cloud
Bebop
Newbie
*
Offline Offline

Activity: 27
Merit: 0



View Profile
September 05, 2011, 09:48:24 PM
 #470

I'm with the others for the idea of simply encrytping the entire OS. The Live boot CDs are somewhat more painful in the long term, due to long load times and needing a USB to persist settings etc. Of course anyone assumed to have the knowledge or skill to do the OS encrypt is also clued up enough to practice safe habbits of web surfing and avoiding trojans.

Live CD is a safe resort, but inferior to the OS encrypt I do agree.
finchfrank
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
September 05, 2011, 09:59:25 PM
 #471

and what about some kind of protection by using ubikey or smth similar as does guys from mtgox
LoupGaroux
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250



View Profile
September 05, 2011, 10:04:10 PM
 #472

Frankly, I love the dry wit of an Englisher. Being able to use words like twat and cunts in an actual coherent sentence? Priceless. This is the type of post that should be made sticky, but then in my case it is, I snorted iced tea out of my nose when I read it, and now the whole damn keyboard is sticky, not just this invaluable post.
CurrentB
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
September 06, 2011, 09:32:47 AM
 #473

Great information, and a great read. Thanks!
nguoinhaque
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
September 06, 2011, 02:02:17 PM
 #474

I encrypt the wallet using built-in functions of Win7 and store a backup my wallets & certificates on my google account under a password-protected zip file
clone4501
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
September 06, 2011, 05:17:56 PM
 #475

The main theme behind creating a secure wallet is to encrypt it to a strong passphrase and then to shred (rather than delete) the unecrypted wallet.  Next, back up the encrypted wallet ot a number of different physical and virtual locations.  There are risks to this strategy.  The two biggeet are 1) forgetting your passphrase, 2) the encryption software being able to properly decrypt later on, 3) the bitcon client being able to properly read the decrypted wallet.

Also, the above is all for nothing if you are not operating behind a secure firewall that keeps out malware.

To all you newbies, don't trust the software.  Stress test it, before you store a large amount of bitcoins.  Even commerically available encryption software including the bitcoin client does not work 100% on every system configuration.

Stress testing should include:

1) complete removal and reinstall of the bitcoin client,
2) complete removal and reinstall of the encryption software,
3) decrypting a formerly encrypted wallet and allow it to update all the block chains
4) sending and receiving small amount of bitcoin
5) repeating steps 1 to 4 again a week, month, two months later.
6) think of other worst case scenarios for your system and test with the small amounts of bitcoin

Good luck,
infiniblank
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
September 07, 2011, 10:07:56 AM
 #476

Thanks for the great info everyone. This helps a lot of people, including myself.
bitcoinhead
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
September 07, 2011, 10:28:27 PM
 #477

A yubikey or similar one-time-password (or even out-of-band authentication like an SMS code to your phone) only protects against rudimentary keylogging malware or phishing.  And it only protects the online account where you store bitcoins (clearly doesn't protect a locally stored wallet on your PC).

The problems with this for an online wallet include:
 - man-in-the-middle can get your OTP and password and take over your online wallet
 - man-in-the-browser malware can get your OTP and password and take over your online wallet
 - a hacker can still break into the online wallet service and steal/copy your coins (there are mitigations to this that online wallet services can and slowly are implementing)
 - bitcoin-specific malware can wait until you log into your online wallet and then do a session hijack to allow an attacker to basically become you and be logged in.

For protecting a local wallet, the bootable Linux approach (either on a USB stick or CD) is the most secure.  Store your wallet in an encrypted file partition on a flash drive (you could use a hardware encrypted drive like IronKey or MXI), and inside there, use TrueCrypt to double encrypt your filesystem which contains your wallet.  This is a highly secure approach using both physical crypto, software crypto and a clean OS that is reset every time (because you boot from a CD image).

Not sure how practical this is unless you have LOTs of bitcoins to protect!  And in that case, you should split them up into multiple wallets on different storage devices.
clone4501
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
September 12, 2011, 02:49:14 AM
 #478

In securing a wallet, there are some things that you need to do that are applicable to any secure computer.  First and foremast, you need a state-of-the-are firewall!  This will keep away 99.9% percent of the hackers, their trojans and key loggers.  Next, don't download shit unless it is from a reputable source that you can resonably trust. For example, I thought I would be a savy techie and download Kazaan to get free MP3 downloads.  It was not until much later on that I realized that I had downloaded a key logger that most likey was able to read all my PGP passphrases.  Lesson learned here, if you are going to deal with software pirates, remember that age-old adage, "there is no honor among theives."  Also, don't be cheap on your firewall.  Symantec, McAfee, Force 7, Avira, and any of their true competitors is what you should be running.

So lets say 1) you have a secure firewall, 2) you have not downloaded any shit from dubious sources, and 3) done a complete full system scan for viruses and trojans from the above mentioned antiviral programs listed above, and 4) after all that are reasonably confident you have a malware-computer.  Then you are ready to download the Bitcoin client.  If you think you are ready, then you are probably not and should download, let's say another anti-virus client, like Avira, and do a full-system scan again!

Once you download the Bitcoin client, get the hell offline.  Disable your wireless, unplug your usb/ethernet cable.

Now run the client and create your wallet.

TrueCrypt, PGP, or GPG are three good ways to encrypt your wallet.dat file.  Of course, you should have downloaded these earlier, only after you believe (not think) you have a secure firewall and a malware-free computer.

Refer to my earlier post about letting the wallet read all the current block chains.

Then go offline again!

Encrypt the wallet and then shred (rather delete) the unencrypted wallet.dat file.

Read my earlier post about what to do next.

In closing, many have compared Bitcoin to the Wild West of the Internet.  This is true.  So if you are going to be a player in the Bitcoin world, you need to learn a lot about data security and encryption.  It is these two elements that are the real instrinsic value in Bitcoin.

P.S. to all you fucking hackers--I know this site has been compromised, so I have to change my fucking passwords again becuase the host of this forums can't even follow the most basic security... ah fuck off!
 

Cosbycoin
Hero Member
*****
Offline Offline

Activity: 980
Merit: 506



View Profile
September 12, 2011, 08:12:13 PM
 #479

Is this process once finished idiot proof?
Thralen
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile
September 13, 2011, 03:35:35 PM
 #480

Is this process once finished idiot proof?

Regardless of what anyone might claim, nothing is idiot-proof. The world has this sick habit of constantly making better idiots.

Thralen

Supporting bitcoin as best I can with 1. mining, 2. buying with bitcoin, 3. selling (or trying to) for bitcoin. If you make a donation to:  1MahzUUEYJrZ4VbPRm2h5itGZKEguGVZK1  I'll get it into circulation.
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 ... 127 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!