Project

General

Profile

Blowfish » History » Version 90

Per Amundsen, 01/30/2025 10:03 AM

1 17 Per Amundsen
{{>toc}}
2
3 63 Per Amundsen
h1. Blowfish Encryption
4 1 Per Amundsen
5 4 Per Amundsen
This is a recompile of https://github.com/flakes/mirc_fish_10 to make it work on 64 bit windows and to work with AdiIRC, source code is attached. 
6
7 9 Per Amundsen
Since this is made to inject itself into the mIRC's underlying sockets and AdiIRC is a completely different program, all events must be scripted to use the fish functions from the dll, some events is already added in the attached script, feel free to add more as needed.
8 3 Per Amundsen
9 44 Per Amundsen
A proper plugin will probably be added at some point using the "AdiIRC API V2":https://github.com/AdiIRC/apiv2 instead of a script.
10 22 Per Amundsen
11 3 Per Amundsen
_Thanks to ParAd0x for creating this project._
12
13 74 Per Amundsen
_Compiled with OpenSSL-1.1.1h and OpenSSL-1_0_2o binaries from http://slproweb.com/_
14 72 Per Amundsen
15 1 Per Amundsen
h2. How to install
16
17 78 Per Amundsen
Use blowfish64 on 64 bits version of AdiIRC, otherwise blowfish32 bits (type //echo -ag [[$bits]] to verify).
18 24 Per Amundsen
19 85 Per Amundsen
Step 1. Make sure the latest version of visual c++ is installed, it can be downloaded from here https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads _(x86 for 32 bits AdiIRC, x64 for 64 bits AdiIRC)_
20 82 Per Amundsen
Step 2. Download the attached blowfish64_1.1.zip/blowfish32_1.1.zip. (Check *Files* links at the bottom)
21 80 Per Amundsen
Step 3. Unpack blowfish64_1.1.zip/blowfish32_1.1.zip into [[$adiircdir]]\Scripts\
22 74 Per Amundsen
Step 4. Type [[/load|//load]] -rs [[$qt]]([[$adiircdir]]\Scripts\fish_10.ini) and say yes to the popup dialog, if any.
23 57 Per Amundsen
24 89 Per Amundsen
_visual c++ is necessary because the fish dll uses some functions not available in Windows by default._
25
26 61 Per Amundsen
h2. Larger than 56 byte keys
27 57 Per Amundsen
28 60 Per Amundsen
To disable the max key length check and allow longer than 56 byte keys, run this command in the [[Editbox Control|Editbox]]:
29 57 Per Amundsen
30
<pre>
31 58 Per Amundsen
//dll $qt($adiircdir\Scripts\fish_10.dll) INI_SetBool enforce_max_key_length 0
32 1 Per Amundsen
</pre>
33
34
The option should be saved across sessions.
35
36
h2. Script Changes
37
38 90 Per Amundsen
01/20/2025
39
40
Fixed some characters are not encoded correctly before being encrypted.
41
Fixed sending encrypted messages doesn't work when IRCv3 "labeled-response":https://ircv3.net/specs/extensions/labeled-response.html is enabled.
42
43 86 Per Amundsen
10/16/2020
44
45
Thanks to maroon for the following changes:
46
47 87 Per Amundsen
Fixed incoming/outgoing messages should be treated as plain text in [[/var]].
48 86 Per Amundsen
Fixed outgoing messages using [[/say]] are not sent properly.
49 88 Per Amundsen
Fixed crypt mark should have a space between the mark and the message.
50 86 Per Amundsen
51 74 Per Amundsen
10/15/2020
52
53
Updated the mirc fish revision to "727aacb":https://github.com/flakes/mirc_fish_10/commit/727aacb1833ccb3fb93373145a278e3209c5210c
54 76 Per Amundsen
The OpenSSL 1.1.X version is now the default and recommended version.
55 74 Per Amundsen
56 75 Per Amundsen
Thanks to maroon for the following changes:
57 74 Per Amundsen
58
Fixed consecutive and leading spaces doesn't work.
59 84 Per Amundsen
Fixed when sending messages, the local [[/echo]] should use [[$target]].
60 74 Per Amundsen
Fixed larger than 56 bytes keys should show a error.
61
Fixed keys with spaces should be ignored and show a error.
62
63 70 Per Amundsen
01/18/2020
64
65
Fixed consecutive spaces should be allowed when sending encrypted messages.
66 71 Per Amundsen
Fixed "Crypt Mark" should be removed from incoming plain text messages.
67
Fixed outgoing messages should not embed the "Crypt Mark".
68 70 Per Amundsen
69 67 Per Amundsen
01/17/2020
70
71 71 Per Amundsen
Fixed "Crypt Mark" menu shows "Prefix" by default even though it's disabled.
72 67 Per Amundsen
Fixed an issue with uneven parentheses in the fish script.
73
74 65 Per Amundsen
10/26/2019
75
76
Fixed 32 bit 1.1 openssl version was using the wrong dll.
77
78 62 Per Amundsen
10/06/2019
79
80 66 Per Amundsen
Added experimental builds using openssl v1.1.1d and the latest "fish_10 source":https://github.com/flakes/mirc_fish_10.
81
82 55 Per Amundsen
11/23/2018
83 68 Per Amundsen
84 56 Per Amundsen
Fixed %blow_ini path is wrong when running AdiIRC from the program files folder.
85 55 Per Amundsen
86 53 Per Amundsen
04/28/2018
87
88
Fixed topic is not decrypted properly in some cases.
89
90 51 Per Amundsen
04/16/2018
91
92 52 Per Amundsen
Added the "Your/Own" color to own messages.
93
Fixed your own messages should not trigger highlights.
94
Fixed spaces in user prefix should be replaced by fake spaces so nick column works properly.
95 1 Per Amundsen
96 49 Per Amundsen
03/31/2018
97 48 Per Amundsen
98 52 Per Amundsen
Recompiled with openssl v1.0.2o.
99
Updated the mirc fish revision to "93aa016":https://github.com/flakes/mirc_fish_10/commit/93aa016734089a53c9e8df290e131950863b1885.
100 50 Per Amundsen
Fixed an issue where the dll was being unloaded and the keys were missing.
101 49 Per Amundsen
102
07/17/2017
103
104 43 Per Amundsen
Fixed script tried to decrypt plain text emotes if the channel had a key.
105
106 41 Per Amundsen
03/15/2017
107 40 Per Amundsen
108
Fixed 32 bit was not compiled correctly.
109
110 39 Per Amundsen
02/05/2017
111
112
Encryption/decryption rewritten to use parseline event.
113
CBC support by default with fallback to ECB.
114 48 Per Amundsen
Cleanup of menus.
115
Added support for key exchange with mircryption CBC style.
116
Added configuration for CBC/ECB key per user/channel.
117
118
Thanks to ParAd0x for these changes.
119 38 Per Amundsen
120
08/28/2016
121 1 Per Amundsen
122 43 Per Amundsen
Fixed some path issues.
123 34 Per Amundsen
124 1 Per Amundsen
03/03/2016
125 34 Per Amundsen
126 43 Per Amundsen
Fixed decrypt topics for topicbox/channel editor.
127 34 Per Amundsen
128 30 Per Amundsen
02/05/2016
129
130
Added mcps support (thanks Fredro)
131
Fixed empty key hack should retry the key (thanks Fredro)
132
133 25 Per Amundsen
10/17/2015
134
135 26 Per Amundsen
Updated the mirc fish revision to "306a9e":https://github.com/flakes/mirc_fish_10/commit/306a9eb60da1e19f14f55f0882a42039ef697a51
136 25 Per Amundsen
Updated openssl libraries to 1.0.2d.
137
Fixed various brackets issues and bugs in the script.
138 27 Per Amundsen
Unicode characters should now work in the 1.9.9 AdiIRC beta.
139 11 Per Amundsen
140 21 Per Amundsen
03/10/2015
141
142
Fixed an issue with sending encrypted text on some networks.
143
144 19 Per Amundsen
02/11/2015
145 18 Per Amundsen
146 20 Per Amundsen
Added [[$ctrlenter]] check when typing /commands.
147 18 Per Amundsen
148 19 Per Amundsen
02/02/2015
149 11 Per Amundsen
150 16 Per Amundsen
Added topic decryption and /me decryption.
151 1 Per Amundsen
Added a hack for an issue where the ini file randomly is unloaded?
152
Added prefixnick and nickcolor support to the message output.
153
154
h2. Troubleshoot
155
156
If you see an error like "$dll: no such file 'C:\Program Files\AdiIRC' (line 382, fish_10.ini)" type [[/load|//load]] -rs [[$qt]]([[$adiircdir]]\Scripts\fish_10.ini) and say yes to the popup dialog, if any.
157 74 Per Amundsen
158
h2. OpenSSL 1.1.X Files
159
160
https://adiirc.com/blowfish/blowfish32_1.1.zip
161
https://adiirc.com/blowfish/blowfish64_1.1.zip
162
163 83 Per Amundsen
https://adiirc.com/blowfish/blowfish32_1.1_source.zip
164
https://adiirc.com/blowfish/blowfish64_1.1_source.zip
165 74 Per Amundsen
166 79 Per Amundsen
h2. OpenSSL 1.0.X Files (Deprecated)
167 74 Per Amundsen
168
https://adiirc.com/blowfish/blowfish32.zip
169
https://adiirc.com/blowfish/blowfish64.zip
170
171
https://adiirc.com/blowfish/blowfish32_source.zip
172
https://adiirc.com/blowfish/blowfish64_source.zip