Difference between revisions of "Bitmessage"

From Organic Design wiki
m (Use your mail client as the UI)
m
Line 1: Line 1:
 +
Bitmessage is a P2P communications [https://bitmessage.org/wiki/Protocol_specification 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. If Bitmessage is completely new to you, you may wish to start by reading the [https://bitmessage.org/bitmessage.pdf whitepaper].
 +
 
== Use your mail client as the UI ==
 
== Use your mail client as the UI ==
 
Brilliant little script that sets up a basic ''POP3'' and ''SMTP'' server on ''localhost'' to give Bitmessage an email interface for example that Thunderbird can connect to. This mean the messages can be organised in a local folder structure or easily coped to your ''IMAP'' structure.
 
Brilliant little script that sets up a basic ''POP3'' and ''SMTP'' server on ''localhost'' to give Bitmessage an email interface for example that Thunderbird can connect to. This mean the messages can be organised in a local folder structure or easily coped to your ''IMAP'' structure.

Revision as of 19:48, 19 June 2013

Bitmessage is 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. If Bitmessage is completely new to you, you may wish to start by reading the whitepaper.

Use your mail client as the UI

Brilliant little script that sets up a basic POP3 and SMTP server on localhost to give Bitmessage an email interface for example that Thunderbird can connect to. This mean the messages can be organised in a local folder structure or easily coped to your IMAP structure. 1. First enable the Bitmessage API in your local keys.dat configuration file.

2. Install the PyBitmessage-Daemon script into your home folder (I used git clone git://github.com/Dokument/PyBitmessage-Daemon.git for easy update) and run it with python daemon.py.

3. Install the bmwrapper into your home (I used git clone again)

4. Set up an account on your mail client on localhost, POP3 on 12344 and SMTP on 12345 as shown here.

5. Create a .desktop file that runs a launch shell script

6. Create the launch script that runs a separate launch script for each of the three e.g.

#!/bin/sh
cd ~/PyBitmessage
./bm1.sh & ./bm2.sh & ./bm3.sh

7. Create each of the three launchers one to run each of the scripts with python2.7, for example the first of mine is:

python2.7 ~/PyBitmessage/src/bitmessagemain.py

8. Ensure all the launchers have executable permission. This complicated procedure is required because each one is a daemon that doesn't return and won't run in the background using the ampersand.

9. You can check if they're running with netstat -nlp and check you have apps listening on 8442, 12344 and 12345, e.g.

tcp   0   0   127.0.0.1:12344   0.0.0.0:*   LISTEN   3575/python2.7  
tcp   0   0   127.0.0.1:12345   0.0.0.0:*   LISTEN   3575/python2.7  
tcp   0   0   127.0.0.1:8442    0.0.0.0:*   LISTEN   3577/python2.7  
tcp   0   0   0.0.0.0:8444      0.0.0.0:*   LISTEN   3577/python2.7