Integration/XMPP/Prosody: Difference between revisions

From diaspora* project wiki
No edit summary
No edit summary
Line 5: Line 5:
This tutorial was developed using Debain 7 but it probably will work well for all GNU Distributions.  
This tutorial was developed using Debain 7 but it probably will work well for all GNU Distributions.  
There is several steps and configurations you will need to do, so watch it carefully.
There is several steps and configurations you will need to do, so watch it carefully.
= Understanding =
The main goal is setup '''Prosody''' to be capable to compare the password received by the XMPP Client with the hashed password stored on '''Diaspora''' database.
'''Diaspora''' password hash is done with bcrypt library, so we need to patch '''Prosody''' to do the same with the received password.


= Prosody =
= Prosody =
Line 15: Line 21:
To install '''Prosody''' follow the official instructions described on their official site - [http://prosody.im/download/start - Download]
To install '''Prosody''' follow the official instructions described on their official site - [http://prosody.im/download/start - Download]


Once  
Once '''Prosody''' is installed ten you can proceed.
 
= Prerequisites =

Revision as of 19:04, 26 June 2014

Integrating Prosody with Diaspora

Here you will find all you need to install and setup a Prosody XMPP server integrated with Diaspora users database. This tutorial was developed using Debain 7 but it probably will work well for all GNU Distributions. There is several steps and configurations you will need to do, so watch it carefully.

Understanding

The main goal is setup Prosody to be capable to compare the password received by the XMPP Client with the hashed password stored on Diaspora database. Diaspora password hash is done with bcrypt library, so we need to patch Prosody to do the same with the received password.


Prosody

Prosody is a modern XMPP communication server. It aims to be easy to set up and configure, and efficient with system resources. Additionally, for developers it aims to be easy to extend and give a flexible system on which to rapidly develop added functionality, or prototype new protocols.

Installing Prosody

To install Prosody follow the official instructions described on their official site - - Download

Once Prosody is installed ten you can proceed.