Skip to content

telmich/ceofhack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A very minimalistic EOF-2 implementation.

   -- Nico Schottelius, 2008-06-23

Plattforms known to work:
   Linux/i386
   Linux/amd64

Current requirements:
   make, gcc, netcat, gpgme


Compile:
   $ make


Create local configuration:
   $ ./scripts/init_home.sh
   # this will add a tcp listener to 0.0.0.0:4242, when ceofhack is started


Usage:
   $ ./ceofhack
   /peer add <nick>  tcp:<ip>:<port> <keyid>
   /peer send <nick> <msg>


Example:
   # get your fingerprint
   $ gpg --homedir ~/.ceof/gpg/ --fingerprint | grep fingerprint | sed -e 's/.*= //' -e 's/ //g'
   C9F593529F096B83A60FA9270B2DFDACC876D4D1
   $ ./ceofhack
   # use tcp:127.0.0.1:4242 to connect to yourself:
   
/peer add telmich tcp:127.0.0.1:4242 C9F593529F096B83A60FA9270B2DFDACC876D4D1
/peer send telmich I can send a message for myself!

   # now you should have received your first EOF message!

Chatting with others:
   # export your key(s) (you can also specify your keyid, to not export others)
   gpg --homedir ~/.ceof/gpg --armor --export > ~/public-keys
   # send it to someone else

   # retrieve the pgp key of someone else and import it:
   $ gpg --homedir ~/.ceof/gpg/ --import <file>
   
   # list all fingerprints (as above
   $ gpg --homedir ~/.ceof/gpg/ --fingerprint | grep fingerprint | sed -e 's/.*= //' -e 's/ //g'
   C9F593529F096B83A60FA9270B2DFDACC876D4D1
   [...]

   # Or use the following version to display names and co. as well:
   # gpg --homedir ~/.ceof/gpg/ --fingerprint | sed -e 's/.*= //' -e 's/ //g'

   # then add them with /peer add and send message via /peer send


Bugs:
   Besides there are many and this is just a hack, you can lookup
   them using ditz (http://ditz.rubyforge.org/README.txt):

      ditz todo
      ditz status

   If you want to work on a bug, use "ditz help" to get
   familar with it.

   Your port is currently ignored.
   You cannot connect to somebody behind NAT.
   You need /usr/bin/gpg.
   You need $HOME.

Development:

   Have a look at doc/coding_style.

   Get latest tree using "git clone <url>" (see below).

   Claim the bug you're working on: "ditz claim <bugid>".

   Work & hack & commit & publish & announce url to fetch.

   We're in #cLinux on freenode, as long as EOF-3 is not ready to use ;-)

Git trees:

   Nico's tree:
      http://git.schottelius.org/?p=EOF/ceofhack;a=summary (webview)
      git://git.schottelius.org/EOF/ceofhack

      Branches:
         master: "stable" (should compile and run, not work)
         hacking: "latest" (things I'm hacking on)

      Mirrors:
         http://github.com/telmich/ceofhack/tree/master (webview)
         git://github.com/telmich/ceofhack.git

         http://gitorious.org/projects/ceofhack (webview)
         git://gitorious.org/ceofhack/mainline.git

   Apic's tree:
      http://brezn.muc.ccc.de/~apic/git/ceofhack