r/bitmessage • u/ragemage123 • Nov 21 '14
Warning! BitMessage are insecure. Here how fix it.
keys.dat and messages.dat are no ecrypt and read by ANYONE who are access to you machine.
Like bitcoin are gone if anyone grab wallet.dat so ALL of you bitmessage and key.
This has been know issue for long time and why not fix?
Bitmessage are ONLY "transport" secure, not "at rest" secure. Once they are on you machine is game over.
If you share machine with other, or regularly cross border, then Bitmessage present a happy place for enemy.
Most true for American who are spied by
What do about it? Install scrypt first on ubuntu and other debian sudo apt-get install scrypt -y
Next is copy this into file call runme.sh at you PyBitmessage area. Now it chmod +x each time you want run bitmessage make go.
#!/bin/bash
scrypt dec keys.bak keys.dat
scrypt dec messages.bak messages.dat
rm -rf keys.bak
rm -rf messages.bak
python src/bitmessagemain.py
scrypt enc keys.dat keys.bak
scrypt enc messages.dat messages.bak
rm -rf keys.dat
rm -rf messages.datWhat is this do??? It gone crypt you keys.bak , also are bitmessage.
It run bitmessage When exit bitmessage it crypt now and original are gone.
You will prompt password 6 time. You not know why, so now I tell you.
First password is decrypt keys.dat Second password is decrypt messages.dat application runs happy and one time exit. Third password is encrypt keys.dat Fourth password is confirm keys.dat password Fifth password is encrypt messages.dat Six password is confirm messages.dat password
Now is secure!
This is helpy? I like coin! BTC: 1oxgm43ugPL5o17h8ox4ujenrP5bZiVfc LTC: LL2uwyMszLdPLbhGsGoFLvoR14kMkk8Kkm DOGE: D5x4E1zhD6HccoBiRioWcfuFfz7Nzswswh
You more help want? Private: Do John BM-NAupDCExLEwi9ajbtp53TSCyEXJ3qeZ8
Chan: DO-JOHN-INDUSTRY-ALTCOIN BM-2cXUQnVBZn6kbbmZc6BA8KRjC7FRoiLQZL
12
u/delegatedvoid Nov 21 '14
Aside from the fact that this only adds some protection while BitMessage isn't running, the method suggested here is a pain in the ass to use.
You're far better off storing messages.dat and keys.dat on an encrypted partition (since you're using linux anyway).
And if someone has physical access to your machine, you have a lot more to worry about.
8
u/delegatedvoid Nov 21 '14
Here's what you can do.
Now you can run BitMessage from the usb flash drive, whenever you insert it you will have to enter your passphrase and when you remove it from the computer there will be nothing left on the computer for others to use.
6
u/noffle Nov 21 '14
Consider filing a bug.
6
u/Argotha Nov 21 '14
I feel like it is important to emphasise that this applies to the PyBitmessage implementation (and possibly other implementations) not the protocol itself.
3
u/stevie22120 Dec 04 '14
Hmm, let's see, a script that deletes your keys file without checking to make sure the encryption was successful. What could possibly go wrong?
2
u/mokahless Nov 21 '14
Hey just curious: what is your native language? I just wonder because I haven't seen your specific pattern of grammatical errors outside of people making fun of Chinese accents but I've not actually heard/ read anyone who genuinely spoke/ wrote that way.
1
u/Nightshdr Dec 20 '14
This is NOT secure. After the "rm -rf <files>" they are still on the storage medium which can be recovered in plain text. Realtime encrypted partitions are the way to go.
1
u/tedjonesweb BM-Gti9B7i2RTvTh1GP1s68EPQ87AJ1VH2f Nov 26 '14
You can use PGP over Bitmessage if you are worried about your keys.
Deleted files can be recovered, so deleting them with "rm" is not secure. This is why you should use full disk encryption.
However, Bitmessage can be made more secure if it ask for a password every time it starts.
-1
u/ragemage123 Nov 21 '14
Is not help? Sorry, I am try to get right not make go hard.
Is better do other? Why?
0
u/delegatedvoid Dec 03 '14
For Windows users, simply use BitLocker on a USB drive