-
Notifications
You must be signed in to change notification settings - Fork 1
Configure Pidgin for Kontalk
This page is under construction.
To make Pidgin running on the Kontalk network you need the following prerequisites: a mobile with Kontalk Messenger installed and configured for sending messages[1]; Pidgin installed on your GNU/Linux machine[2]. If you don't have one or both of this prerequisites please refer to the following websites:
Export the Kontalk keys. Open Kontalk messanger in your mobile then go to the Settings menu and chose Export your personal key. This will save in your sd card the file kontalk-keys.zip which will contains your personal key and the login certificates. Then transfer the file kontalk-keys.zip to you GNU/Linux box.
Start the SSL tunnel bridge. Create the folder "kontalk" in your home directory (it does not matter the name of the folder), extract from the file kontalk-keys.zip the files kontalk-login.crt and kontalk-login.key and place theme into the folder kontalk. Download the file ssl_bridge.py into the kontalk folder. Make the ssl_bridge.py script executable with:
chmod 755 ssl_bridge.py
Now that you have the files ssl_bridge.py, kontalk-login.crt and kontalk-login.key you are ready to run the SSL tunnel bridge with the following command:
./ssl_bridge.py -d -p 5224 --domain beta.kontalk.net -c kontalk-login.crt -k kontalk-login.key beta.kontalk.net:5222
Open Pidgin in the Account menu chose Manage you account the create a new XMPP account with the following parameters:
- Protocol: XMPP
- Username: chose-your-user
- Domain: beta.kontalk.net
- Password: Chose your password (and flag remember it)
In the advanced tab chose:
- Security of connection: Use encryption if available
- check Allow plaintext auth over unencrypted streams
- connect port: 5224
- connect server: localhost
Compile and install the Kontalk plugin for Pidgin. Download the Kontalk plugin for Pidgin to your computer and compile it:
make
Then install the plugin in the folder ~/.purple/plugins with the command
make install
Compile and install the pidgin-xmpp-receipts. Download the pidgin-xmpp-receipts to your computer and compile it:
make
Then install the plugin in the folder ~/.purple/plugins with the command
make install
Extract the file kontalk-private.asc from the file kontalk-keys.zip and import it in your gpg keyring:
gpg --import kontalk-private.asc
Now you need to know which is the ID of your private key. Run
gpg --list-key
and look for a key named <long-hash@beta.kontalk.net>, copy the ID the go to Pidgin > Tools > Plugin, select and activate the "Kontalk integration" then chose configure and paste the ID of your private key. Then activate the plagin XMPP Receips 0.6