76 lines
1.9 KiB
Markdown
76 lines
1.9 KiB
Markdown
---
|
|
title: Using fish encryption with IRC
|
|
---
|
|
|
|
- [Fish Irssi for chads](#fish-irssi-for-chads)
|
|
- [Installing required packages](#installing-required-packages)
|
|
- [compiling](#compiling)
|
|
- [Running](#running)
|
|
- [Hexchat/Ubuntu/Debian](#hexchatubuntudebian)
|
|
- [To Test fish encryption in
|
|
APIRC:](#to-test-fish-encryption-in-apirc)
|
|
- [Notes](#notes)
|
|
|
|
Fish Irssi for chads
|
|
====================
|
|
|
|
<https://github.com/falsovsky/FiSH-irssi>
|
|
|
|
Installing required packages
|
|
----------------------------
|
|
|
|
- Debian / Ubuntu
|
|
|
|
`apt-get install build-essential irssi-dev libglib2.0-dev libssl-dev cmake git`
|
|
|
|
- Archgang
|
|
|
|
`pacman -S cmake pkg-config glib2 openssl irssi`
|
|
|
|
compiling
|
|
---------
|
|
|
|
1. `git clone https://github.com/falsovsky/FiSH-irssi.git`
|
|
2. `cd FiSH-irssi`
|
|
3. `cmake .`
|
|
4. `make`
|
|
5. `cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .`
|
|
6. `make`
|
|
7. `make install` (last one may or may not be needed)
|
|
|
|
Running
|
|
-------
|
|
|
|
Just type `/load fish` in the program. To have fish load at start-up run
|
|
`echo "load fish" >> /home/username/.irssi/startup`
|
|
|
|
Ran into: fish/core is ABI version 0 but Irssi is version 7, cannot load
|
|
<https://github.com/falsovsky/FiSH-irssi/issues/57>
|
|
|
|
Hexchat/Ubuntu/Debian
|
|
=====================
|
|
|
|
apt install hexchat-plugins
|
|
|
|
for more info: <https://fishlim.kodafritt.se/ubuntu_install.html>
|
|
<https://github.com/fladd/py-fishcrypt>
|
|
|
|
To Test fish encryption in APIRC:
|
|
=================================
|
|
|
|
/join \#fish /setkey 6CRi5rupyd6XfeKjghiLJ3yHHXCQ56EacFNytS
|
|
|
|
Notes
|
|
=====
|
|
|
|
Using Blowfish-ECB isn\'t a perfect method of encryption.
|
|
|
|
<http://blog.bjrn.se/2009/01/proposal-for-better-irc-encryption.html>
|
|
|
|
FiSH encrypts your messages in ECB mode (in other words, in independent
|
|
blocks). If the same block appears two times it will be encrypted the
|
|
same way both times. <https://fishlim.kodafritt.se/>
|
|
|
|
Note <https://github.com/falsovsky/FiSH-irssi/issues/12> and
|
|
<https://github.com/falsovsky/FiSH-irssi/issues/63>
|