Hello everybody.

In this instructables you will learn how to send encrypted messages from your Raspberry Pi with BItmessage.

Lets start!!

Step 1: Few Words About Bitmessage

BItmessage is according to its wiki page a " P2P communications protocol used to send encrypted messages to another person or to many subscribers. It is decentralized and trustless, meaning that you need-not inherently trust any entities like root certificate authorities. It uses strong authentication which means that the sender of a message cannot be spoofed, and it aims to hide "non-content" data, like the sender and receiver of messages, from passive eavesdroppers like those running warrantless wiretapping programs"

Bitmessage wiki page

Step 2: Hardware & Software List

These are the parts that you need for this instructable.


1.A Raspberry pi (I used my Raspberry Pi 1 but i strongly recommend a Raspberry Pi 2 or 3)


1.Raspbian latest image fully upgraded


Lets continue building now our software.

Step 3: Software

Lets start with the software upgrade.

1.We need a fully upgraded system so open a terminal and type the well known commands sudo apt-get update and after it finishes sudo apt-get upgrade.

The upgrade may take few seconds or hours. Depends on how updated your Raspberry Pi image is.

Lets continue and install all the necessary dependencies.

1.Again open a terminal and type the following command sudo apt-get install python openssl git python-qt4

Ok it is time now to install Bitmessage. This is very simple and it takes only one command from the command line.

Just type git clone https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage and after a few minutes the software is downloaded to your home folder under the file Bitmessage.

To run Bitmessage is also very simple. From the terminal go to your Bitmessage folder with the cd command, then cd src and finally type sudo python bitmessagemain.py

Thats it. BItmessage is up and running. Lets see now how to send messages.

Step 4: Setup Bitmessage - Send Encrypted Messages

The first thing you must do when starting Bitmessage is to create a new identity.

At the main window click on .New Identity.There are 2 ways to create a new identity.

1.Use a random number generator

2.Use a pass phrase.

I used the pass phrase by using a word and Bitmessage created 8 different addresses.

The second thing you must do after creating the new identity is to port forward at your Access Point that provides you Internet the port 8444 at your Raspberry PIs IP address.

If you correctly port forward the port you will see a green cycle at the right corner of Bitmessage and you will able then to send your encrypted messages, which is very simple to do from the Send tab.Just ask the Bitmessage id of the person you want to send the message, enter it at the To section of you message. If the id is correct you will be able to send your message. If not Bitmessage will inform you that this is not a valid id.

That's it.

<p>Hello, thank you for the article.</p><p>First of all, why sudo? You don't need to be root to run PyBitmessage.</p><p>Second, I highly recommend you can build the bitmsghash library by executing &quot;make&quot; in src/bitmsghash. You need the openssl-dev (maybe it's called libssl-dev) package for building.</p><p>Third, for the very latest code, you can try the v0.6 branch (git checkout v0.6).</p>
<p>Hi there, thanks for the comments.</p><p>I used sudo because i thought that running python scripts needs sudo.</p><p>All the instructions are based at the Bitmessage wiki and nowhere else, so it is an easy and quick way to run it</p>

About This Instructable




Bio: Raspberry Pi & Arduino explorer
More by Tsartsanis:Encrypted Messages With Bitmessage on the Raspberry Pi Automatic Touch-free Toilet Paper Dispenser. Actobotics Custom Robotic Arm 
Add instructable to: