Project

General

Profile

Blowfish » History » Version 67

Per Amundsen, 01/17/2020 07:22 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 48 Per Amundsen
_Compiled with OpenSSL-1_0_2o binaries from http://slproweb.com/_
14 7 Per Amundsen
15 1 Per Amundsen
h2. How to install
16
17 24 Per Amundsen
Use blowfish64 on 64 bits version of AdiIRC, otherwise 32 bits (type //echo -ag [[$bits]] to verify).
18 6 Per Amundsen
19 57 Per Amundsen
Step 1. Download the attached blowfish64.zip/blowfish32.zip. (Cliok on the *Files* link at the bottom)
20 33 Per Amundsen
Step 2. Unpack blowfish64.zip/blowfish32.zip into [[$adiircdir]]\Scripts\
21 58 Per Amundsen
Step 3. Type [[/load|//load]] -rs [[$qt]]([[$adiircdir]]\Scripts\fish_10.ini) and say yes to the popup dialog, if any.
22 57 Per Amundsen
23 61 Per Amundsen
h2. Larger than 56 byte keys
24 57 Per Amundsen
25 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]]:
26 57 Per Amundsen
27
<pre>
28 58 Per Amundsen
//dll $qt($adiircdir\Scripts\fish_10.dll) INI_SetBool enforce_max_key_length 0
29 57 Per Amundsen
</pre>
30
31
The option should be saved across sessions.
32 15 Per Amundsen
33 1 Per Amundsen
h2. Script Changes
34 25 Per Amundsen
35 67 Per Amundsen
01/17/2020
36
37
Fixed an issue with uneven parentheses in the fish script.
38
39 65 Per Amundsen
10/26/2019
40
41
Fixed 32 bit 1.1 openssl version was using the wrong dll.
42
43 62 Per Amundsen
10/06/2019
44
45 64 Per Amundsen
Added experimental builds using openssl v1.1.1d and the latest "fish_10 source":https://github.com/flakes/mirc_fish_10.
46 62 Per Amundsen
47 66 Per Amundsen
_Requires the latest version of visual c++ which can be downloaded from here https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads._
48
49 55 Per Amundsen
11/23/2018
50
51 56 Per Amundsen
Fixed %blow_ini path is wrong when running AdiIRC from the program files folder.
52 55 Per Amundsen
53 53 Per Amundsen
04/28/2018
54
55
Fixed topic is not decrypted properly in some cases.
56
57 51 Per Amundsen
04/16/2018
58
59 52 Per Amundsen
Added the "Your/Own" color to own messages.
60
Fixed your own messages should not trigger highlights.
61
Fixed spaces in user prefix should be replaced by fake spaces so nick column works properly.
62 1 Per Amundsen
63 49 Per Amundsen
03/31/2018
64 48 Per Amundsen
65 52 Per Amundsen
Recompiled with openssl v1.0.2o.
66
Updated the mirc fish revision to "93aa016":https://github.com/flakes/mirc_fish_10/commit/93aa016734089a53c9e8df290e131950863b1885.
67 50 Per Amundsen
Fixed an issue where the dll was being unloaded and the keys were missing.
68 49 Per Amundsen
69
07/17/2017
70
71 43 Per Amundsen
Fixed script tried to decrypt plain text emotes if the channel had a key.
72
73 41 Per Amundsen
03/15/2017
74 40 Per Amundsen
75
Fixed 32 bit was not compiled correctly.
76
77 39 Per Amundsen
02/05/2017
78
79
Encryption/decryption rewritten to use parseline event.
80
CBC support by default with fallback to ECB.
81 48 Per Amundsen
Cleanup of menus.
82
Added support for key exchange with mircryption CBC style.
83
Added configuration for CBC/ECB key per user/channel.
84
85
Thanks to ParAd0x for these changes.
86 38 Per Amundsen
87
08/28/2016
88 1 Per Amundsen
89 43 Per Amundsen
Fixed some path issues.
90 34 Per Amundsen
91 1 Per Amundsen
03/03/2016
92 34 Per Amundsen
93 43 Per Amundsen
Fixed decrypt topics for topicbox/channel editor.
94 34 Per Amundsen
95 30 Per Amundsen
02/05/2016
96
97
Added mcps support (thanks Fredro)
98
Fixed empty key hack should retry the key (thanks Fredro)
99
100 25 Per Amundsen
10/17/2015
101
102 26 Per Amundsen
Updated the mirc fish revision to "306a9e":https://github.com/flakes/mirc_fish_10/commit/306a9eb60da1e19f14f55f0882a42039ef697a51
103 25 Per Amundsen
Updated openssl libraries to 1.0.2d.
104
Fixed various brackets issues and bugs in the script.
105 27 Per Amundsen
Unicode characters should now work in the 1.9.9 AdiIRC beta.
106 11 Per Amundsen
107 21 Per Amundsen
03/10/2015
108
109
Fixed an issue with sending encrypted text on some networks.
110
111 19 Per Amundsen
02/11/2015
112 18 Per Amundsen
113 20 Per Amundsen
Added [[$ctrlenter]] check when typing /commands.
114 18 Per Amundsen
115 19 Per Amundsen
02/02/2015
116 11 Per Amundsen
117 16 Per Amundsen
Added topic decryption and /me decryption.
118 5 Per Amundsen
Added a hack for an issue where the ini file randomly is unloaded?
119 1 Per Amundsen
Added prefixnick and nickcolor support to the message output.
120 35 Per Amundsen
121
h2. Troubleshoot
122
123 59 Per Amundsen
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.