GithubHelp home page GithubHelp logo

gpgchat's Introduction

gpgchat

Simple chat service that sends PGP encrypted messages.

gpgchat encrypts message data end-to-end using the clients' system version of gpg. Note that while message data is encrypted, the intended recipients and sender of messages are NOT secret. The channel is susceptible to all sorts of traffic analysis. But it's one step closer to secure communication than a cleartext or "trusted server" messaging service.

gpgchat proudly sports an archaic and laughable user interface. As a user, you will probably want to run two terminal side by side. One running the ear, and the other the mouth.

To use this service you must have a GPG key set up. A good tutorial on GPG is available here.

Requirements & Installation

gpgchat requires zeromq, python-gnupg, and gpg-agent

Ubuntu

To install the requirements on Ubuntu:

$ sudo apt-get install libzmq-dev gnupg-agent
$ pip install python-gnupg pyzmq

If you just installed gpg-agent, you may need to log out and back in for it to start the daemon properly.

OSX

To install the requirements on OSX:

First install gpgtools.

$ brew install zeromq
$ pip install python-gnupg pyzmq

If you just installed gpg-agent, you may need to log out and back in for it to start the daemon properly.

Running gpgchat

You will need to set up a private key and know get some friends public keys and mark them as trusted. Setting up keys is not covered here, but there is a thorough and fairly quick tutorial on GPG that I recommend available here.

First, create and edit your configuration file. The config file determines what server to connect and which keys to use for encrypting and signing.

$ cp config_example.py config.py

To start a chat server run

$ python server.py

To listen to messages run

$ python ear.py

To send messages run

$ python mouth.py

Messages are multiline and must end in ^D on a newline.

gpgchat's People

Contributors

mlsteele avatar seveneightn9ne avatar

Stargazers

troilus avatar -- avatar Christian Bagley avatar

Watchers

 avatar  avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.