Skip to content

Hexchat symmetric encryption using OpenSSL

Notifications You must be signed in to change notification settings

Mi605/hexchat-encrypt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 

Repository files navigation

Symmetric encryption between users of the Hexchat IRC client (http://xchat.org)

The purpose with this experiment/project was to as simple and slim as possible with only one script-file add symmetric encryption between two or more IRC users sharing the same password file. To keep it simple without the need of installing external python libraries the script uses the openssl-command-line-client (https://wiki.openssl.org/index.php/Manual:Enc(1)) for encryption and decryption using 256 bit AES-CBC encryption.

Installation:

Place enc.py in ~/.config/hexchat/addons. Create a passwordfile where the first line of the file is the password (https://www.openssl.org/docs/man1.0.1/apps/openssl.html) and share it with the other part. Change the line: 'PASSFILE = "/home/user/pass.key"' in enc.py to the correct path.

How to use:

Enable outgoing encryption in a private dialog window with the command: /enc enable. If encryption is not enabled and an encrypted message is received the encryption/decryption mechanism is automatically enabled. Text changes to green.

/enc enable - Encrypt outgoing messages on current dialog window
/enc disable - Disable encryption of outgoing messages on current dialog window
/enc info - Print status about debug/encryption

HexChat Python Interface: http://hexchat.readthedocs.io/en/latest/script_python.html#autoloading-modules

About

Hexchat symmetric encryption using OpenSSL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%