News for hackers. Stuff that matters.
Re:Purple-Teams: MS Teams Plugin for Pidgin by chipx86 on Monday March 06, 2023 @08:19PM (#35050257)
I used to work on Gaim/Pidgin (and in fact created libgaim/libpurple) back in my college days.

It was easier for us to build and maintain back then. We had push-back from some of the companies (Yahoo being notoriously aggressive about it, to the point of actively banning our developers' accounts and inventing new obfuscated auth schemes all the time), but from a technical standpoint:

1. Most of these were communicating over plain text channels (making it easy to sniff traffic from official clients)

2. The protocols were generally understandable (MSN for a long time was largely all MIME-based messages, and could be understood by watching a traffic stream)

3. Used simple usernames/passwords for authentication (just fewer hoops to jump through)

It's a different world nowadays, with more focus on keeping you in the chat environment and offering additional features as part of that experience. Harder to abstract a lot of that out.

That said, Gary Kramlich's been working on this diligently. (If interested, he also regularly streams development over at https://www.twitch.tv/rw_grim).

Re:Purple-Teams: MS Teams Plugin for Pidgin by userbinator on Monday March 06, 2023 @08:26PM (#35050296)
The protocols were generally understandable (MSN for a long time was largely all MIME-based messages, and could be understood by watching a traffic stream)

Microsoft even submitted an early draft of MSNP to the IETF. I'd consider (at least the early versions) MSNP the next step up in complexity from IRC, i.e. you can write a working client with both presence and messaging within a day or two. This is from experience of having written a client myself, which I used all the way up to them shutting down the servers.

Used simple usernames/passwords for authentication (just fewer hoops to jump through)

Earliest ones were literally plain user/pass, then followed challenge-response, and later MSNP used something surprisingly similar to OAuth, where you authenticate out-of-band to get a token that is then submitted to the protocol server itself.

Re:Purple-Teams: MS Teams Plugin for Pidgin by chipx86 on Monday March 06, 2023 @08:31PM (#35050333)
Very cool! Which client did you write?

I had forgotten they tried to standardize the protocol!

Yeah, it was surprisingly easy. Connect to the switchboard server, set up sessions from there, and then it's all MIME. We even implemented avatars for Gaim by chunking Base64-encoded images over MIME messages (they had a max length), which MSN would ignore but Gaim would use.

We never had any trouble from the MSN team. Rumor had it at the time that at least one dev on the team was secretly a Gaim user, and they just looked the other way.

Re:Purple-Teams: MS Teams Plugin for Pidgin by userbinator on Monday March 06, 2023 @09:28PM (#35050779)
I never released it, as there were plenty of others already available at the time. It was written in pure Win32, and a single portable .exe of <32KB.

We never had any trouble from the MSN team.

Judging by the huge number of other thirdparty clients, I don't think Microsoft bothered to do anything about them, and almost treated it like they did Windows piracy --- they would rather you use a thirdparty client with MSN than a competitor's network; I suspect the fact that this was also not long after their antitrust lawsuit also had some influence.

Re:Purple-Teams: MS Teams Plugin for Pidgin by simula67 on Monday March 06, 2023 @09:54PM (#35050972)
Have you ever considered writing a new protocol and create a network only for Pidgin users?
Re:Purple-Teams: MS Teams Plugin for Pidgin by smt88 on Monday March 06, 2023 @10:42PM (#35051269)
That seems antithetical to the mission of libpurple. There are already a million messengers and protocols, including excellent FOSS ones.
Re:Purple-Teams: MS Teams Plugin for Pidgin by rw_grim on Monday March 06, 2023 @11:11PM (#35051461)
even then it'd be open source so people could just write their own versions
Re:Purple-Teams: MS Teams Plugin for Pidgin by padraic7a on Tuesday March 07, 2023 @06:45AM (#35054269)
Gary is also a contributor on the Linux Downtime podcast where he talks about his pidgin work a bit.

https://linuxdowntime.com/