Welcome, Guest. Please login or register.

Author Topic: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat  (Read 8009 times)

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Description
Here is a tool, place it anywhere on your computer (put it in the bitmessage folder if you run it in portable mode). Run it to encrypt/decrypt the *.dat files with a password and the Rijndael Method. If the Encryption is successful the source file is overwritten 10 Times with random data to prevent it from being restored.
Processes all .dat files in the directory.
The tool is digitally signed to verify integrity.

Protip: The Application will encrypt any file, that ends with .dat so feel free to add some

Source
Here: https://github.com/AyrA/BitCrypt

Usage
Just run the Application

Features
  • Portable, no installation
  • Simple to use
  • Encrypts all Files with Rijndael method
  • Launches Bitmessage.exe if decryption was successfull
  • Encrypts the files again, when bitmessage is closed or crashed
  • Securely overwrites unencrypted copies of the .dat files with random data
Donations
if you like this software you can donate using Bitcoin: 1ML5aXvR3WTn2vB3ehTgqyZUhSGDjVWe4B
« Last Edit: October 17, 2013, 09:33:56 AM by AyrA »
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

dokument

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 488
  • Karma: +37/-0
    • View Profile
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #1 on: April 26, 2013, 11:17:42 PM »
What is the hold up with the encryption being part of bitmessage?
BM-2cTtoitr47Q7weyKr9pFX363YBRMQfBWzt

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #2 on: April 27, 2013, 08:15:08 AM »
Since bitmessage is open source, the encryption algorithm and implementation has to be open source too. It's not easy to find a good encryption standard with an opensource implementation, this is why I implemented the BitCrypt.exe so there is less pressure with people nagging Atheros about encryption.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

dokument

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 488
  • Karma: +37/-0
    • View Profile
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #3 on: April 27, 2013, 01:55:45 PM »
Could we not have a password that you must enter when you run bitmessage, and all that it does is decrypt the contents of the two files (or at least keys)?

I understand that I am speaking broadly here.
BM-2cTtoitr47Q7weyKr9pFX363YBRMQfBWzt

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #4 on: April 27, 2013, 05:24:25 PM »
again, this is a solution until what you request is implemented.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

umbrageous

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #5 on: July 04, 2013, 04:44:11 AM »
Excellent to have this temporary measure available. I too would welcome (without any pressure!) a password on bitmessage as a whole program.

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #6 on: July 20, 2013, 10:13:24 AM »
I have updated the application. It now verifies the password for encryption and launches bitmessage if decryption was successful. It displays itself again, when bitmessage is closed to immediately encrypt the files again.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

mft

  • Newbie
  • *
  • Posts: 46
  • Karma: +0/-1
    • View Profile
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #7 on: July 21, 2013, 07:41:59 AM »
Isn't truecrypt open source and an option?

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #8 on: July 21, 2013, 09:08:20 AM »
Truecrypt requires administrative rights to install (or run in portable mode) and is not an option for all windows users. Also handling is more complicated, because containers create new drives instead of virtual folders, where they reside. This application focuses on bitmessage, it only encrypts/decrypts the DAT files because the others do not matter. it runs bitmessage and provides encryption again, when bitmessage is closed. The encryption level is almost the same.

I can make this tool open source if somebody wants it.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

mft

  • Newbie
  • *
  • Posts: 46
  • Karma: +0/-1
    • View Profile
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #9 on: July 21, 2013, 09:54:12 AM »
I was just curious if the truecrypt algorithm could be lifted to accomplish what was said above.  Curiosity only.

What algorithm are you using - also just out of curiosity?  I'd look at the source but probaby wouldn't understand it.

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #10 on: July 21, 2013, 10:25:47 AM »
I am using Rijndael (which is just another name for AES but supports more than 128bit blocksize). I don't know why Truecrypt hasn't a file system driver, that decrypts/encrypts files on the go without the need to mount containers as drives.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

r00tz

  • Full Member
  • ***
  • Posts: 111
  • Karma: +3/-2
    • View Profile
    • Green Charter
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #11 on: July 21, 2013, 10:50:16 AM »
Assume this does not yet exist for Linux, as it is an .exe? Anyone can convert it? :-)
BM-GtShDbJPw1KSJ46Q93SfCawYe3covKau

AyrA

  • BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1261
  • Karma: +75/-7
  • bitmessage.ch and timeservice operator
    • View Profile
    • AyrAs Homepage
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #12 on: July 21, 2013, 11:11:37 AM »
I can give you the source, but since it is C# you either need to install the mono framework or translate into another language.
My Address: BM-Bc7Rspa4zxAPy9PK26vmcyoovftipStp
Bitmessage Time Service (Subscribe): BM-BcbRqcFFSQUUmXFKsPJgVQPSiFA3Xash
Support the Multipart Message Declaration Draft for Bitmessage: https://bitmessage.org/forum/index.php/topic,1553.0.html
Free Bitmessage to E-Mail Gateway: https://bitmessage.ch

r00tz

  • Full Member
  • ***
  • Posts: 111
  • Karma: +3/-2
    • View Profile
    • Green Charter
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #13 on: July 22, 2013, 10:51:15 AM »
Ha very nice of you but I'd be the wrong person, not a programmer
BM-GtShDbJPw1KSJ46Q93SfCawYe3covKau

Jaxkr

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +1/-0
    • View Profile
Re: [QuickFix] encrypted messages.dat keys.dat and knownnodes.dat
« Reply #14 on: July 24, 2013, 11:49:50 AM »
What exactly do you mean that there are few good open source crypto implementations? There are dozens of AES libraries for Python that could be used.