README 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. Introduction
  2. ============
  3. This is an encryption add-on for irssi, it's based on blowfish. It
  4. supports private messages and channel encryption. It also includes a
  5. secure key-exchange system.
  6. Requirements
  7. ============
  8. The requirements for building FiSH-irssi are:
  9. - cmake
  10. - pkg-config
  11. - Glib 2.0
  12. - OpenSSL
  13. - irssi (with includes)
  14. Debian / Ubuntu
  15. ---------------
  16. # apt-get install build-essential irssi-dev libssl-dev cmake git
  17. OpenBSD
  18. -------
  19. # pkg_add glib2 irssi cmake git
  20. Arch Linux
  21. ----------
  22. # pacman -S cmake pkg-config glib2 openssl irssi
  23. Building
  24. ========
  25. Just type in the following commands:
  26. $ git clone https://github.com/falsovsky/FiSH-irssi.git
  27. $ cd FiSH-irssi
  28. $ cmake .
  29. $ make
  30. If you want to install to **/usr** instead of **/usr/local**
  31. $ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
  32. $ make
  33. Run `make install` as a privileged user (if needed) to install it.
  34. Running
  35. =======
  36. If you installed the module in the default directory, you just need to
  37. run the following command inside irssi to load it:
  38. /load fish
  39. If not, just include the path while loading:
  40. /load /home/username/libfish.so
  41. Load automatically at start-up
  42. ------------------------------
  43. echo "load fish" >> /home/username/.irssi/startup
  44. Configurations
  45. ==============
  46. FiSH-irssi has some configurations that can be set via `/set` on irssi.
  47. process_outgoing
  48. FiSH outgoing messages.
  49. Default value is 1
  50. process_incoming
  51. unFiSH incoming messages.
  52. Default value is 1
  53. auto_keyxchange
  54. Do an automatic key exchange in private messages.
  55. Default value is 1
  56. plain_prefix
  57. Prefix needed to send an unFiSHed message. For example:
  58. `+p Hi there in clear text`
  59. Default value is `+p`
  60. mark_encrypted
  61. String used to mark a FiSHed message.
  62. Default value is `\002>\002`
  63. mark_position
  64. Defines if the mark should be a prefix (1) or a suffix (0).
  65. Default value is 1
  66. nicktracker
  67. Allows seamless conversations when your chat partner changes his nick.
  68. This feature will copy the old key to use with his new nick. It affects
  69. nick changes for opened queries!
  70. Default value is 1
  71. mark_broken_block
  72. Indicates whether a message is incomplete.
  73. Default value is `\002&\002`
  74. Commands
  75. ========
  76. /topic+ <message>
  77. Sets a FiSHed topic in the current channel.
  78. /topic+ TAB
  79. Allows to edit a FiSHed topic.
  80. /notice+ [nick / #channel] <message>
  81. Sends a FiSHed notice to the current window or to the specified target.
  82. /me+ <message>
  83. Send a FiSHed action to the current window.
  84. /setkey [servertag] [nick / #channel] <key>
  85. Sets the key used to FiSH the messages for the current window or to the
  86. specified target.
  87. /delkey [servertag] [nick/#channel]
  88. Unsets the key used to FiSH the messages for the current window or to
  89. the specified target.
  90. /key|showkey [servertag] [nick / #channel]
  91. Shows the used key to FiSH the messages for the current window or to the
  92. specified target. The key will appear in the target window.
  93. /keyx
  94. Forces a DH key exchange in the current window.
  95. /setinipw <password>
  96. Sets a custom password used to cipher the contents of blow.ini.
  97. /unsetinipw
  98. Unset the custom password used to cipher blow.ini.
  99. /fishlogin
  100. Used to ask again for the blow.ini password if the user inserts an
  101. invalid password at start-up.
  102. /fishhelp|helpfish
  103. Show a little help inside irssi.
  104. Tested
  105. ======
  106. FiSH-irssi has been tested on various OS and arches:
  107. - Linux/x86
  108. - Linux/sparc
  109. - Linux/arm
  110. - OpenBSD/x86
  111. - OpenBSD/macppc
  112. - OpenBSD/sgi
  113. - FreeBSD/x86
  114. - NetBSD/x86