From bfordham at socialistsushi.com Mon Apr 4 10:27:15 2005 From: bfordham at socialistsushi.com (Bryan L. Fordham) Date: Mon, 4 Apr 2005 10:27:15 -0400 Subject: [OTR-dev] Jabber proxy Message-ID: <20050404142715.GD1174@socialistsushi.com> Since my preferred IM client is not gaim, I'm looking into making a general jabber proxy that will allow most any client to use OTR. I didn't see anything in the archives, but thought I'd ask just to be sure: anyone working on something like this already? Thanks --B From ian at cypherpunks.ca Mon Apr 4 10:55:41 2005 From: ian at cypherpunks.ca (Ian Goldberg) Date: Mon, 4 Apr 2005 10:55:41 -0400 Subject: [OTR-dev] Jabber proxy In-Reply-To: <20050404142715.GD1174@socialistsushi.com> References: <20050404142715.GD1174@socialistsushi.com> Message-ID: <20050404145541.GO30200@smtp.paip.net> On Mon, Apr 04, 2005 at 10:27:15AM -0400, Bryan L. Fordham wrote: > Since my preferred IM client is not gaim, I'm looking into making a general > jabber proxy that will allow most any client to use OTR. I didn't see > anything in the archives, but thought I'd ask just to be sure: anyone > working on something like this already? It's part of the future plans for otrproxy, but it's not there yet. If you'd like to add jabber support to otrproxy, that'd be awesome. [Hell, if you want to write your own proxy from scratch, that'd be fine, too. ;-) ] jabber is slated to be the next protocol supported by otrproxy. - Ian From nathanw at MIT.EDU Mon Apr 11 17:29:02 2005 From: nathanw at MIT.EDU (Nathan J. Williams) Date: 11 Apr 2005 17:29:02 -0400 Subject: [OTR-dev] patch to gaim-otr for c89 compliance Message-ID: I recently added libotr and gaim-otr to NetBSD pkgsrc, and a bulk build of pkgsrc on an older machine turned up a bit of code with a declaration after code (legal C++ and C99, but not C89). Here's a patch for this minor issue. - Nathan --- gtk-dialog.c.orig 2005-04-11 11:18:52.000000000 -0400 +++ gtk-dialog.c 2005-04-11 11:19:44.000000000 -0400 @@ -156,6 +156,7 @@ const char *protocol_print; GtkWidget *label; GtkWidget *dialog; + OtrgDialogWaitHandle handle; p = gaim_find_prpl(protocol); protocol_print = (p ? p->info->name : "Unknown"); @@ -166,7 +167,7 @@ dialog = create_dialog(GAIM_NOTIFY_MSG_INFO, title, primary, secondary, 0, &label); - OtrgDialogWaitHandle handle = malloc(sizeof(struct s_OtrgDialogWait)); + handle = malloc(sizeof(struct s_OtrgDialogWait)); handle->dialog = dialog; handle->label = label; From nikitab at gmail.com Mon Apr 11 17:42:11 2005 From: nikitab at gmail.com (Nikita Borisov) Date: Mon, 11 Apr 2005 14:42:11 -0700 Subject: [OTR-dev] patch to gaim-otr for c89 compliance In-Reply-To: References: Message-ID: <16f0378d050411144215de888b@mail.gmail.com> Thanks for the patch, Nathan. This will be fixed in the next source release of gaim-otr. - Nikita -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian at cypherpunks.ca Tue Apr 12 18:18:48 2005 From: ian at cypherpunks.ca (Ian Goldberg) Date: Tue, 12 Apr 2005 18:18:48 -0400 Subject: [OTR-dev] patch to gaim-otr for c89 compliance In-Reply-To: References: Message-ID: <20050412221848.GQ1071@smtp.paip.net> On Mon, Apr 11, 2005 at 05:29:02PM -0400, Nathan J. Williams wrote: > > I recently added libotr and gaim-otr to NetBSD pkgsrc, and a bulk > build of pkgsrc on an older machine turned up a bit of code with a > declaration after code (legal C++ and C99, but not C89). Here's a > patch for this minor issue. Thanks. This was reported earlier, and is already in CVS for the next version. - Ian From evan.s at dreskin.net Thu Apr 28 16:13:06 2005 From: evan.s at dreskin.net (Evan Schoenberg) Date: Thu, 28 Apr 2005 15:13:06 -0500 Subject: [OTR-dev] OTR over Jabber in Gaim / Adium Message-ID: Hey, guys, I've run into a problem that I'm not quite where to begin for fixing it. When attempting to initiate OTR over Jabber in Adium, OTR throws an error that "You are not currently connected to [account you really ARE connected to and having a chat with]/Adium (Jabber)." I think the problem is that the resource -- "/Adium" is making the account lookup fail... but I'm not sure. Any thoughts? I don't have otr-gaim compiled for gaim so can't test it independent of Adium, but as far as I'm aware gaim-otr is responsible for all those lookups so it shouldn't be Adium's fault... not that means it couldn't be. Thanks, Evan www.adiumx.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian at cypherpunks.ca Thu Apr 28 18:21:58 2005 From: ian at cypherpunks.ca (Ian Goldberg) Date: Thu, 28 Apr 2005 18:21:58 -0400 Subject: [OTR-dev] OTR over Jabber in Gaim / Adium In-Reply-To: References: Message-ID: <20050428222158.GI1071@smtp.paip.net> On Thu, Apr 28, 2005 at 03:13:06PM -0500, Evan Schoenberg wrote: > Hey, guys, > > I've run into a problem that I'm not quite where to begin for fixing > it. When attempting to initiate OTR over Jabber in Adium, OTR throws > an error that > "You are not currently connected to [account you really ARE connected > to and having a chat with]/Adium (Jabber)." > > I think the problem is that the resource -- "/Adium" is making the > account lookup fail... but I'm not sure. Any thoughts? I don't have > otr-gaim compiled for gaim so can't test it independent of Adium, but > as far as I'm aware gaim-otr is responsible for all those lookups so > it shouldn't be Adium's fault... not that means it couldn't be. It sounds like you're sometimes passing "foo at jabber.org/Adium" as the accountname parameter to libotr, and sometimes just "foo at jabber.org". libotr doesn't care which you use, so long as you're consistent. - Ian From evan.s at dreskin.net Fri Apr 29 02:31:56 2005 From: evan.s at dreskin.net (Evan Schoenberg) Date: Fri, 29 Apr 2005 01:31:56 -0500 Subject: [OTR-dev] OTR over Jabber in Gaim / Adium In-Reply-To: <20050428222158.GI1071@smtp.paip.net> References: <20050428222158.GI1071@smtp.paip.net> Message-ID: <63D8CFDD-FE48-4E05-ADE2-56F396238A01@dreskin.net> Good thinking... while that wasn't the problem, detailed debug logging while looking for where that might happen led me to find it, which was that somehow gaim was getting two different objects for foo at jabber.org/Adium in its hash table of accounts, so gaim_find_account() was returning a different object than the one which was actually connected. Craziness. Fixed now, working great. :) Adium 0.80 is about ready for release... so the number of people using OTR will soon increase significantly. Very exciting to have support built in, thanks for all your help. :) -Evan On Apr 28, 2005, at 5:21 PM, Ian Goldberg wrote: > On Thu, Apr 28, 2005 at 03:13:06PM -0500, Evan Schoenberg wrote: > >> Hey, guys, >> >> I've run into a problem that I'm not quite where to begin for fixing >> it. When attempting to initiate OTR over Jabber in Adium, OTR throws >> an error that >> "You are not currently connected to [account you really ARE connected >> to and having a chat with]/Adium (Jabber)." >> >> I think the problem is that the resource -- "/Adium" is making the >> account lookup fail... but I'm not sure. Any thoughts? I don't have >> otr-gaim compiled for gaim so can't test it independent of Adium, but >> as far as I'm aware gaim-otr is responsible for all those lookups so >> it shouldn't be Adium's fault... not that means it couldn't be. >> > > It sounds like you're sometimes passing "foo at jabber.org/Adium" as the > accountname parameter to libotr, and sometimes just "foo at jabber.org". > libotr doesn't care which you use, so long as you're consistent. > > - Ian > _______________________________________________ > OTR-dev mailing list > OTR-dev at lists.cypherpunks.ca > http://lists.cypherpunks.ca/mailman/listinfo/otr-dev > >