Project

General

Profile

Blowfish » History » Version 77

Per Amundsen, 10/15/2020 07:02 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
Use blowfish64 on 64 bits version of AdiIRC, otherwise 32 bits (type //echo -ag [[$bits]] to verify).
18 24 Per Amundsen
19 77 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
20 74 Per Amundsen
Step 2. Download the attached blowfish64.zip/blowfish32.zip. (Cliok on the *Files* link at the bottom)
21
Step 3. Unpack blowfish64.zip/blowfish32.zip into [[$adiircdir]]\Scripts\
22
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 61 Per Amundsen
h2. Larger than 56 byte keys
25 57 Per Amundsen
26 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]]:
27 57 Per Amundsen
28
<pre>
29 58 Per Amundsen
//dll $qt($adiircdir\Scripts\fish_10.dll) INI_SetBool enforce_max_key_length 0
30 1 Per Amundsen
</pre>
31
32
The option should be saved across sessions.
33
34
h2. Script Changes
35
36 74 Per Amundsen
10/15/2020
37
38
Updated the mirc fish revision to "727aacb":https://github.com/flakes/mirc_fish_10/commit/727aacb1833ccb3fb93373145a278e3209c5210c
39 76 Per Amundsen
The OpenSSL 1.1.X version is now the default and recommended version.
40 74 Per Amundsen
41 75 Per Amundsen
Thanks to maroon for the following changes:
42 74 Per Amundsen
43
Fixed consecutive and leading spaces doesn't work.
44
Fixed when sending messages, the local /echo should use $target.
45
Fixed larger than 56 bytes keys should show a error.
46
Fixed keys with spaces should be ignored and show a error.
47
48 70 Per Amundsen
01/18/2020
49
50
Fixed consecutive spaces should be allowed when sending encrypted messages.
51 71 Per Amundsen
Fixed "Crypt Mark" should be removed from incoming plain text messages.
52
Fixed outgoing messages should not embed the "Crypt Mark".
53 70 Per Amundsen
54 67 Per Amundsen
01/17/2020
55
56 71 Per Amundsen
Fixed "Crypt Mark" menu shows "Prefix" by default even though it's disabled.
57 67 Per Amundsen
Fixed an issue with uneven parentheses in the fish script.
58
59 65 Per Amundsen
10/26/2019
60
61
Fixed 32 bit 1.1 openssl version was using the wrong dll.
62
63 62 Per Amundsen
10/06/2019
64
65 66 Per Amundsen
Added experimental builds using openssl v1.1.1d and the latest "fish_10 source":https://github.com/flakes/mirc_fish_10.
66
67 55 Per Amundsen
11/23/2018
68 68 Per Amundsen
69 56 Per Amundsen
Fixed %blow_ini path is wrong when running AdiIRC from the program files folder.
70 55 Per Amundsen
71 53 Per Amundsen
04/28/2018
72
73
Fixed topic is not decrypted properly in some cases.
74
75 51 Per Amundsen
04/16/2018
76
77 52 Per Amundsen
Added the "Your/Own" color to own messages.
78
Fixed your own messages should not trigger highlights.
79
Fixed spaces in user prefix should be replaced by fake spaces so nick column works properly.
80 1 Per Amundsen
81 49 Per Amundsen
03/31/2018
82 48 Per Amundsen
83 52 Per Amundsen
Recompiled with openssl v1.0.2o.
84
Updated the mirc fish revision to "93aa016":https://github.com/flakes/mirc_fish_10/commit/93aa016734089a53c9e8df290e131950863b1885.
85 50 Per Amundsen
Fixed an issue where the dll was being unloaded and the keys were missing.
86 49 Per Amundsen
87
07/17/2017
88
89 43 Per Amundsen
Fixed script tried to decrypt plain text emotes if the channel had a key.
90
91 41 Per Amundsen
03/15/2017
92 40 Per Amundsen
93
Fixed 32 bit was not compiled correctly.
94
95 39 Per Amundsen
02/05/2017
96
97
Encryption/decryption rewritten to use parseline event.
98
CBC support by default with fallback to ECB.
99 48 Per Amundsen
Cleanup of menus.
100
Added support for key exchange with mircryption CBC style.
101
Added configuration for CBC/ECB key per user/channel.
102
103
Thanks to ParAd0x for these changes.
104 38 Per Amundsen
105
08/28/2016
106 1 Per Amundsen
107 43 Per Amundsen
Fixed some path issues.
108 34 Per Amundsen
109 1 Per Amundsen
03/03/2016
110 34 Per Amundsen
111 43 Per Amundsen
Fixed decrypt topics for topicbox/channel editor.
112 34 Per Amundsen
113 30 Per Amundsen
02/05/2016
114
115
Added mcps support (thanks Fredro)
116
Fixed empty key hack should retry the key (thanks Fredro)
117
118 25 Per Amundsen
10/17/2015
119
120 26 Per Amundsen
Updated the mirc fish revision to "306a9e":https://github.com/flakes/mirc_fish_10/commit/306a9eb60da1e19f14f55f0882a42039ef697a51
121 25 Per Amundsen
Updated openssl libraries to 1.0.2d.
122
Fixed various brackets issues and bugs in the script.
123 27 Per Amundsen
Unicode characters should now work in the 1.9.9 AdiIRC beta.
124 11 Per Amundsen
125 21 Per Amundsen
03/10/2015
126
127
Fixed an issue with sending encrypted text on some networks.
128
129 19 Per Amundsen
02/11/2015
130 18 Per Amundsen
131 20 Per Amundsen
Added [[$ctrlenter]] check when typing /commands.
132 18 Per Amundsen
133 19 Per Amundsen
02/02/2015
134 11 Per Amundsen
135 16 Per Amundsen
Added topic decryption and /me decryption.
136 1 Per Amundsen
Added a hack for an issue where the ini file randomly is unloaded?
137
Added prefixnick and nickcolor support to the message output.
138
139
h2. Troubleshoot
140
141
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.
142 74 Per Amundsen
143
h2. OpenSSL 1.1.X Files
144
145
https://adiirc.com/blowfish/blowfish32_1.1.zip
146
https://adiirc.com/blowfish/blowfish64_1.1.zip
147
148
https://adiirc.com/blowfish/blowfish32_1.1_source
149
https://adiirc.com/blowfish/blowfish64_1.1_source
150
151
h2. OpenSSL 1.0.X Files
152
153
https://adiirc.com/blowfish/blowfish32.zip
154
https://adiirc.com/blowfish/blowfish64.zip
155
156
https://adiirc.com/blowfish/blowfish32_source.zip
157
https://adiirc.com/blowfish/blowfish64_source.zip