Code Monkey home page Code Monkey logo

py-fishcrypt's Introduction

About

FiSH/Mircryption clone for HexChat in 100% Python

  • Encrypt/decrypt private conversations
  • Encrypt/decrypt channel conversations
  • Choose between ECB and CBC
  • Automatic DH key exchange (private conversations only)

Installation

  1. Make sure [Python 2.x] (https://www.python.org/downloads/release/python-279/) (>=2.5) is installed
  2. Put fishcrypt.py into HexChat addons folder:
  • Linux/OS X: ~/.config/hexchat/addons/
  • Windows: %APPDATA%\HexChat\addons\
  1. Start HexChat
  2. Issue the command: /FISHSETUP

If FiSHLiM is installed as well, it will be unloaded when fishcrypt.py is loaded!

Usage

Encrypt private conversations

In a private chat window, type /setkey password to create the key 'password'. Every following message send in the chat window will be encrypted.

Alternatively, a secret key can be created and exchanged automatically by typing /keyx.

To delete the key in the conversation with "Nick" type /delkey Nick.

Encrypt channel conversations

In a channel, type /setkey password to create the key 'password'. Every following message send in the channel will be encrypted.

To delete the key for "#channel" type /delkey #channel.

List of all commands

SETKEY          set a new key for a nick or channel /SETKEY <nick>/#chan [new_key]
KEYX            exchange a new pub key, /KEYX <nick>
KEY             list key of a nick or channel or all (\*), /KEY [nick/#chan/\*]
DELKEY          remove key, /DELKEY <nick>/#chan/*

ME+             send crypted CTCP ACTION
MSG+            send crypted msg regardless of /ENCRYPT setting
NOTICE+         send crypted notice regardless of /ENCRYPT setting

CBCMODE         set or shows cbc mode for (current) channel/nick , /CBCMODE [<nick>] <0|1>
PROTECTKEY      sets or shows key protection mode for (current) nick, /PROTECTKEY [<nick>] <0|1>
ENCRYPT         set or shows encryption on for (current) channel/nick , /ENCRYPT [<nick>] <0|1>
PRNCRYPT        print msg encrpyted localy , /PRNCRYPT <msg>
PRNDECRYPT      print msg decrpyted localy , /PRNDECRYPT <msg>
DBPASS          set/change the passphrase for the Key Storage
DBLOAD          loads the Key Storage

SET fishcrypt   show additional fishcrypt settings
SET <SETTING>   set additional fishcrypt setting <SETTING>

HELP fishcrypt  show fishcrypt help
FISHUPDATE      Update fishcript

Licence

fishcrypt.py

Copyright 2011 Nam T. Nguyen (http://www.vithon.org/forum/Thread/show/54)

Released under the BSD license

rewritten by trubo/segfault for irc.prooops.eu #py-fishcrypt [email protected]

fixes by fladd [email protected]

irccrypt module is copyright 2009 Bjorn Edstrom ( http://www.bjrn.se/ircsrp ) with modification from Nam T. Nguyen and trubo

pyBlowfish.py

Copyright 2002 Michael Gilfix [email protected]

Released under GPL or Artistic Licence

modified by trubo

py-fishcrypt's People

Contributors

cryptosan avatar fladd avatar

Watchers

 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.