Making iChat Great Again

z970mp

macrumors 68020
Original poster
Jun 2, 2017
2,243
1,819
zgxSystems
If you open up iChat, say you want to use its last remaining IM service still active, XMPP, and you connect to your XMPP account, it tells you that it cannot verify the identity of x, and that an SSL error has occurred, therefore a secure connection could not be made.

That got me thinking...

How do we update its certificates? Could we take Leopard WebKit's (10.12's), or TenFourFox's SSL certificates and replace iChat's certificates with those? Surely, there's got to be a way to fix this.
 
Last edited:

XaPHER

macrumors regular
Oct 13, 2010
237
137
Nowhere to be found
iChat uses the system security framework as well.. Have you tried to relink it with the droplet inside lepWK's image? A lot of internet services don't support anything less than TLS 1.2 as of late. Doing the relink will add that support.
 

z970mp

macrumors 68020
Original poster
Jun 2, 2017
2,243
1,819
zgxSystems
That didn't do it. Both "iChat copy" and "iChat LepWK" still exhibited the same error.
 

XaPHER

macrumors regular
Oct 13, 2010
237
137
Nowhere to be found
That's odd. I (double-)tested and the relink seems to create a non-functional executable. Did your relink spuriously succeed?

There's something else I can try to get it to work. iChat loads webkit but not JavascriptCore (which webkit implicitly depends upon) and it looks like it tries to load the system JavascriptCore which brings up inconsistencies. If I relink nothing but the security framework then this problem should be gone. The other problem is I don't have anything to test XMPP functionality with.

EDIT: noticed you said "iChat copy" and "iChat LepWK", "iChat copy" should just be "iChat"; definitely looks like the script didn't complete here.
 

XaPHER

macrumors regular
Oct 13, 2010
237
137
Nowhere to be found
Okay, just relinking the security framework got it to work.

If you want to try XMPP with it:

-Create a copy of nonrelinked iChat: I named it "iChat 2" (for the following steps);

-have the leopard-webkit dmg mounted, and make sure "iChat 2" is in /Applications:

-in a terminal, enter all at once
Code:
/Volumes/WebKit/Relink\ against\ Leopard\ WebKit.app/Contents/Resources/install_name_tool -change /System/Library/Frameworks/Security.framework/Versions/A/Security @loader_path/../Frameworks/Security.framework/Versions/A/Security /Applications/iChat\ 2.app/Contents/MacOS/iChat
-To simplify things, you need an already relinked application (i strongly recommend roccat for this): right-click on "roccat lepWK" show package contents, go inside contents folder, do the same for "iChat 2".

-Now copy the frameworks folder from "roccat lepWK"s /contents to "iChat 2"s /contents.

Opening "iChat 2.app" -should- not result in an app crash.
 

z970mp

macrumors 68020
Original poster
Jun 2, 2017
2,243
1,819
zgxSystems
I tried relinking on another machine (this one did finish), and it's still giving out the error. None of my apps ever crashed, mind you.

This probably isn't going to work. Thanks for the help, XaPHER.
 

Appleuser201

macrumors 6502
Oct 12, 2018
359
186
Is there anyway to get google hangouts or Instagram direct messages working with iChat? Or any modern chat service