Ticket #115 (new enhancement)

Opened 4 years ago

Last modified 16 hours ago

Add OTR (off-the-record messaging) support to BitlBee

Reported by: anonymous Owned by:
Priority: wishlist Milestone:
Component: BitlBee Version: 1.0.1
Keywords: Cc: happy@…
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

Make BitlBee support OTR (off-the-record messaging:  http://www.cypherpunks.ca/otr/).

This would allow people to have encrypted conversations with IMers. The connection between the IRC client and BitlBee would *not* be encrypted but this isn't always critical.

For example, I run BitlBee on my desktop and only connect to it via localhost. Then I use an Emacs IRC client (ERC) to connect to BitlBee and chat with my IMing friends. Before switching from Gaim to Emacs/ERC/BitlBee, my friends and I used OTR to encrypt our conversations.

The gaim-otr plugin's NEWS file and comments in lib-otr say that OTR can't work over IRC because IRC's maximum message size is too small.

Thanks!

Attachments

im-strangeness.png Download (20.3 KB) - added by anonymous 4 years ago.
what other IM clients auto-attempting OTR initiation looks like to bitlbee users

Change History

  Changed 4 years ago by jelmer

Isn't this a dupe of #44...?

  Changed 4 years ago by jelmer

Now that BitlBee has plugin support, maybe this would be something that's nice to implement as a plugin?

I don't think functionality like this is likely to ever going to be part of the main bitlbee.

  Changed 4 years ago by happy@…

I didn't see #44 before submitting--sorry. But my perspective is that OTR is the best option for adding encryption support to BitlBee--at least Gaim and Adium (on the Mac) support it.

  Changed 4 years ago by wilmer

  • priority changed from normal to wishlist

Well, since this is about OTR and #44 is about GPG, it's not a complete dupe. But it's certainly a wishlist bug. :-)

  Changed 4 years ago by hobart AT gmail

Other users clients end up shoving spaces+tabs to attempt OTR initiation regardless, this comes thru ugly for the bee users :-) (see im-strangeness.png attachment)

Changed 4 years ago by anonymous

what other IM clients auto-attempting OTR initiation looks like to bitlbee users

  Changed 4 years ago by wilmer

Ahh! I saw those in messages from a colleague too and I already wondered where they came from. They're indeed a bit annoying. :-(

  Changed 4 years ago by grey

I second (third/fourth? Whatever) this. OTR support in bitlbee would be RAD!

  Changed 3 years ago by sia@…

Another vote for OTR support in bitlbee!

--igor

  Changed 3 years ago by cenrim@…

And another vote for OTR!

  Changed 3 years ago by micah@…

and another

  Changed 3 years ago by tk

vote

  Changed 3 years ago by anonymous

Please add OTR! You would be the first CLI client to have support for it.

follow-up: ↓ 19   Changed 3 years ago by anonymous

i would use bitlbee if it had otr support

  Changed 3 years ago by anonymous

vote too !

  Changed 3 years ago by onyx

otr would be great, please add support :/

  Changed 3 years ago by anonymous

i would definitely use bitlbee more with the encryption. in the world we live in today; you never know who is watching.

  Changed 3 years ago by ph

please add otr support :(

  Changed 3 years ago by XTaran

OTR support for Bitlbee indeed would be a cool feature.

in reply to: ↑ 13   Changed 3 years ago by anonymous

Replying to anonymous:

i would use bitlbee if it had otr support

same here. please add otr support

  Changed 3 years ago by anonymous

agree!

  Changed 3 years ago by valentin.haenel@…

OTR is supposed to be end 2 end. if you aren't using a bitlbee on localhost , its not really end 2 end.

If you can code c , you may be able to help us with:

 http://sourceforge.net/projects/otr-irssi/

cause we are way to busy with uni at the moment.

V-

  Changed 3 years ago by grey@…

I had been begging Ian about OTR fragmentation support so that it could fit in an irc max message length. My friend Jake pestered him @ PET earlier this summer and he said he had an intern/student working on it.

Well, I just checked and it looks like it was finally added in libotr from the libotr-3.1.0 changelog!

"Large messages are now fragmented transparently instead of failing"

(and not to disrespect otr-irssi project, but I don't want to be tied to a particular IRC client, this was an OTR implementation flaw that was different in spec, but never implemented properly upstream by them)

w00t!

  Changed 3 years ago by M Spreij

Blissfully ignorant of the technical details; would allowing bitlbee to connect through an OTR Proxy not be easier than implementing (plugin or no) it directly? Comments welcome at gmail.com@mspreij

  Changed 3 years ago by anonymous

M Spreij - there is an OTR proxy from the OTR team already. It works with only /one/ IM protocol (AIM), and is a GUI program (BLARGH evil!), moreover getting it to work with Bitlbee, while doable (I've done it) is a bit of a pita - it will only work in one proxy mode (iirc http? not socks? I don't remember), and moreover when it does work it mangles buddy names (e.g. inserted extra spaces and stuff like that). It's basically a PoS and there's a reason why the otr staff haven't really devoted any development time to updating it.

However, you can use it today, with bitlbee - with the following caveats mentioned above (recap: runs as GUI, AIM only, only works in one proxy mode, mangles things that it shouldn't).

follow-up: ↓ 35   Changed 3 years ago by pesco@…

OTR support for BitlBee has been implemented, funded by stonedcoder.org. The bzr branch can be found at  http://khjk.org/~pesco/bitlbee-otr/.

  Changed 3 years ago by anonymous

This is great news!

Will this be merged into the main bitlbee code soon?

  Changed 2 years ago by anonymous

Awesome! I've been waiting for this. :-)

  Changed 2 years ago by anonymous

This is fantastic news, and what will get me using bitlbee. When can we expect this to be merged into the official releases?

  Changed 2 years ago by anonymous

Does anybody know how to get the OTR code working with bitlbee? The documentation at khjk.org is rather sparse.

  Changed 2 years ago by anonymous

"If you want to check out one of these branches, use bzr. Your web browser will just show empty directories, you have to use bzr to download the real code!"

bzr:  http://www.bazaar-ng.org/

  Changed 2 years ago by anonymous

I get randomly disconnected from AIM when this version of bitlbee receives some OTR messages. This is being caused by another person on my buddy list sending OTR messages that bitlbee is not expecting. Can you fix this?

I'm sorry I do not have more details, but I cannot reproduce it.

  Changed 2 years ago by ulim

There is a functional irssi otr module now called irssi-otr of which I just released v0.1:

 http://projects.tuxfamily.org/group.pl?name=irssiotr

There's a git repo but you can also download a snapshot. Packages for various distros are underway.

Contact me on #bitlbee or by mail to irssiotr at tuxfamily.

  Changed 2 years ago by anonymous

Awesome work ulim! Does it work with AIM/MSN/Yahoo/etc using bitlbee, or will it only work with IRC servers?

  Changed 2 years ago by Wilmer van der Gaast <wilmer@…>

BitlBee wrote:

Awesome work ulim! Does it work with AIM/MSN/Yahoo/etc using bitlbee, or
will it only work with IRC servers?

It most definitely works with everything. If you find any issues, that's
a BitlBee bug (feel free to report, with enough debugging info).

in reply to: ↑ 25   Changed 2 years ago by anonymous

Replying to pesco@khjk.org:

OTR support for BitlBee has been implemented, funded by stonedcoder.org. The bzr branch can be found at  http://khjk.org/~pesco/bitlbee-otr/.

works fine for me - good work :)

  Changed 2 years ago by pesco@…

Seeing that some people are actually using my code, I've put up a little webpage describing how to get it via bzr, etc. There's also a snapshot-tarball for those reluctant to install yet another VCS. ;)

 http://khjk.org/bitlbee-otr/

Greets, pesco

  Changed 22 months ago by wahjava@…

I've integrated pesco's bitlbee-otr code with bitlbee-1.2.3. The code is available at  http://wahjava.googlepages.com/bitlbee-otr-1.2.3.tar.bz2 (md5: 089e2b3608673a00085283333d7cc32c).

Ashish Shukla

follow-up: ↓ 40   Changed 18 months ago by pesco@…

Hi, just to drop a note, I've finally come around to run another merge of the trunk into my branch, also integrating the previous updates from ashish. Please let me know of any issues!

pesco

  Changed 17 months ago by anonymous

thanks pesco! your version works fine :D note: i had to install "xmlto" to get the compile to work (bzr version). i hope this gets merged into the official bitlbee. btw, when i did "otr smp <nickname> <secret>" the other user didnt receive the authorization request. instead i got: "smp: received abort from <nickname>". so to trust the user i had to manually enter his private key ("otr trust x x x x x"). he's using pidgin (v. 2.5.1) btw.

in reply to: ↑ 38   Changed 14 months ago by ludo@…

Is there any plan to merge bitlbee-otr into the main line?

Thanks, Ludo'.

  Changed 8 months ago by Kenyon Ralph <kenyon@…>

I made a bitlbee-otr package for Ubuntu Karmic. It's on my Launchpad PPA for anyone to use:  https://edge.launchpad.net/~kralph/+archive/ppa

  Changed 5 months ago by maci@…

any news on this one?

  Changed 5 months ago by wahjava@…

  Changed 5 months ago by maci@…

look nice so far a lot better than using irssi-otr. but still today, for no valid reason the bitlbee server seemed to have restarted i got reconnected and had to identify again.

had that once now, apart from that it looks stable and i'd like to see this upstream

  Changed 4 months ago by scott@…

Why do people keep needing to hack this support in as a branch? Mainline it! I had been happily using a combination of BitlBee & ZNC until I ran into a few people I needed to talk to that require I use OTR. So I'm back to boring old Pidgin again. :-/

follow-ups: ↓ 47 ↓ 51   Changed 4 months ago by wilmer

Two things:

  • I want to make this a plugin, there's no need to have it compiled in by default. BitlBee needs some additional hooks to allow this being a plugin. I hope to add these soon and then I may include the OTR module with the BitlBee source tree by default (not sure yet though, once it's a plugin it'll also be a lot less painful to maintain it separately).
  • bitlbee-otr is not properly end-to-end. Proper crypto should be. Now usually BitlBee and the IRC client run on the same host, but not always. bitlbee-otr could give a bit of a false sense of security.

You don't use irssi/xchat? There are native OTR plugins for those two AFAIK. maci, what's your problem with irssi-otr, I wonder?

in reply to: ↑ 46   Changed 4 months ago by scott@…

Replying to wilmer:

* I want to make this a plugin, there's no need to have it compiled in by default. BitlBee needs some additional hooks to allow this being a plugin. I hope to add these soon and then I may include the OTR module with the BitlBee source tree by default (not sure yet though, once it's a plugin it'll also be a lot less painful to maintain it separately).

That sounds great!

* bitlbee-otr is not properly end-to-end. Proper crypto should be. Now usually BitlBee and the IRC client run on the same host, but not always. bitlbee-otr could give a bit of a false sense of security.

I realize that, and it's a very good point. We're more concerned about his end than mine. Anything is better than nothing. There should be some kind of warning though so people understand what is going on.

You don't use irssi/xchat? There are native OTR plugins for those two AFAIK. maci, what's your problem with irssi-otr, I wonder?

I can't always. Sometimes I'm stuck on my phone. :-/

  Changed 4 months ago by micah anderson <micah@…>

You don't use irssi/xchat? There are native OTR plugins for those two
AFAIK. maci, what's your problem with irssi-otr, I wonder?

I use irssi, the otr plugin to irssi is pretty bad, it segfaults the
entire irssi session, and gets desync'd often. It makes me sad.

  Changed 4 months ago by maci@…

no segfaults here but the desync is really annoying. it also messes up html stripping and some other things

  Changed 4 months ago by Wilmer van der Gaast <wilmer@…>

no segfaults here but the desync is really annoying. it also messes up
html stripping and some other things

Ouch. That sounds problematic. Also sounds like the HTML stripping
should be moved from BitlBee to the IRC client in those cases.

Still, I'll try to make this pluginable. All it needs is hooks for
incoming and outgoing messages, and allowing plugins to add root
commands. (I think.)

in reply to: ↑ 46   Changed 4 months ago by maci@…

Ouch. That sounds problematic. Also sounds like the HTML stripping should be moved from BitlBee to the IRC client in those cases.

Yeah, im already using irssi triggers to strip the html, but it still fucks up sometimes

* bitlbee-otr is not properly end-to-end. Proper crypto should be. Now usually BitlBee and the IRC client run on the same host, but not always. bitlbee-otr could give a bit of a false sense of security.

are you sure irssi is really the end?

it might be running on another box as well, just like bitlbee.

example: im running irssi in screen on a remote sever. i connect to that server using telnet/rlogin

now its not end-2-end either ;)

  Changed 3 months ago by ilf@…

Just a "me too" comment to be subscribed :)

irssi-otr is really annoying me for the above reasons and bitlbee-otr hasn't been touched since 1.2.5 in March :(

follow-up: ↓ 56   Changed 3 months ago by Wilmer van der Gaast <wilmer@…>

Where is this branch again?

I expect that 1.2.5->1.2.7 won't be a horrible merge conflict (if problematic at all). If it's still a nice bzr branch somewhere I'm willing to maintain it myself to just keep it in sync with head.

  Changed 3 months ago by anonymous

Also, there is an Ubuntu package of bitlbee-otr 1.2.6a at  https://edge.launchpad.net/~kralph/+archive/ppa/+packages

The packaging is in a bzr branch too:  http://kenyonralph.com/pkg-bitlbee-otr/bitlbee-otr

in reply to: ↑ 53   Changed 3 months ago by Sven Moritz Hallberg <pesco@…>

Replying to ilf:

bzr checkout  http://code.khjk.org/bitlbee-otr/

Just updated to 1.2.6 and it seems to run fine. More testing appreciated.

Replying to Wilmer van der Gaast <wilmer@…>:

I expect that 1.2.5->1.2.7 won't be a horrible merge conflict (if problematic at all).

Actually, there's a slight logic conflict in 1.2.7 where you added support for showing offline buddies. I had changed the way settings control who gets voice/op flags etc. to accomodate for the possibility of showing OTR status with them.

Unfortunately I don't have a lot of brain cycles at this moment to think about it, though I expect there exists a clean solution that integrates both things. Feel free to have a look.

If it's still a nice bzr branch somewhere I'm willing to maintain it myself to just keep it in sync with head.

It would be nice if we could maintain it on bitlbee.org, ideally with multiple people with commit access, because right now, I'm the bottleneck.

On a side note, if you (anyone) do the work of merging to a new version, and want me to integrate it into the branch on khjk.org, please send a PATCH by means of 'bzr send'! A packaged tarball is next to useless to me, because there's no way to see whether and how any conflicts were resolved.

  Changed 3 months ago by wahjava@…

I've merged Sven's code into bitlbee and released[1] bitlbee-otr. Its latest versions are available[2] in FreeBSD.

References: [1]  http://wahjava.wordpress.com/tag/bitlbee-otr/ [2]  http://freshports.org/irc/bitlbee-otr/

Ashish

  Changed 3 months ago by wilmer

Hey Pesco, I'm glad to see you here. Yeah, I don't mind keeping bitlbee-otr up to date myself when I break compatibility. Shouldn't happen *that* often. The show_offline stuff indeed caused some troubles then, and I vote for leaving it like that for just another bit. With the rewritten IRC core we can hopefully come up with a more proper fix for this.

wahjava, do you have a bzr branch of that?

  Changed 3 months ago by wahjava@…

No, I use git. It is hosted on github at following link:

 http://github.com/abbe/bitlbee-otr

master branch contains the bitlbee-otr source code, and bitlbee branch contains bitlbee source code.

follow-up: ↓ 61   Changed 3 months ago by Sven Moritz Hallberg <pesco@…>

So, I've pulled the khjk branch up to latest HEAD.

I think the show_offline issue resolved itself relatively easy in my branch, precisely because of the way I changed the voice/op handling around: I have separate settings (voice|halfop|op)_buddies with possible values false|online|notaway|encrypted|trusted. Of these, only online is new. So if you turn on show_offline you have to set something like voice_buddies=online and op_buddies=notaway to get the behaviour of HEAD. I've documented this in the user guide.

Wilmer, can you see in the code how I did it (function imcb_buddy_status in protocol/nogaim.c)?

One new thing I've added: Twitter is not a protocol where OTR is applicable. Therefore, the OTR subsystem should be disabled on twitter accounts. I've added a constant OPT_NOOTR which gets set in the struct prpl options field of the twitter protocol. The OTR subsystem checks for this on entry to message and key handling functions and falls back to non-OTR behaviour if the flag is set. Is this the way it should be done?

Ashish, did you make any functional changes in your branch that I might have missed?

As before, testing appreciated!

in reply to: ↑ 60   Changed 3 months ago by wahjava@…

Replying to Sven Moritz Hallberg <pesco@…>: [...]

Ashish, did you make any functional changes in your branch that I might have missed?

Nop. I just merged the conflicts.

follow-up: ↓ 63   Changed 3 months ago by ilf

Good stuff going on here.

What about the plan to make otr a plugin for bitlbee, so we don't have to maintain an entire fork?

in reply to: ↑ 62   Changed 3 months ago by Sven Moritz Hallberg <pesco@…>

Replying to ilf:

What about the plan to make otr a plugin for bitlbee, so we don't have to maintain an entire fork?

I have to say, though I don't want to get into a fight about it, I still don't see why the code should not be merged into mainline even before it can be a plugin.

  • It is not a strict dependency. If there is no libotr, it won't be built and the hook calls are turned into preprocessor-macros that expand to the original non-OTR code.
  • A package maintainer can avoid depending on libotr by disabling it. This is no worse than currently.
  • An alternative bitlbee-otr package can be trivially built from the same source by flipping the switch the other way. This is preferable to the current situation.
  • It can be turned into a run-time plugin as soon as that becomes feasable.
  • Wilmer has stated that maintening the additional code won't be a problem.

Personally, I would even argue for pre-built packages to include OTR support (and depend on libotr), on the assumption that it is desirable to have encryption available by default, but that is a secondary issue.

  Changed 3 months ago by Wilmer van der Gaast <wilmer@…>

Hey,

Generally, I agree, but I'd really prefer having a plugin mostly *for*
packaging reasons. Having a small plugin module one can install next to
BitlBee itself would be a lot nicer than having an alternative package.

Probably the configure script would get three options then: Don't build
OTR, statically link it with BitlBee or have it as a separate
dynamically loadable module.

Personally, I would even argue for pre-built packages to include OTR
support (and depend on libotr), on the assumption that it is desirable to
have encryption available by default, but that is a secondary issue.

I'm a bit on the fence about this. For most of my IM communication I'm
not very concerned about the security and many people aren't. Also I
don't see a lot of OTR users around me anymore lately.

OTOH, I don't want to be on the counter-productive side of a chicken-egg
problem. So the latter is not an argument. :-)

Since I won't be using this myself a whole lot (I don't think any of my
contacts has OTR in their client) I hope you and others will have time
to keep the OTR-specific bits up-to-date though.

The problems with HTML/multiline messages convinced me that there is a
place for OTR in BitlBee (even though it's not as end-to-end as one
would ideally want to have), so I'll find a way to merge this that will
make/keep everyone happy. :-)

  Changed 3 months ago by ilf

Yay. When this gets mainline, just add us and you'll use a lot of OTR :)

Seriously, people will start using it, when stuff works "out of the box". More work, less users.

You're right about it not being fully End-To-End for people not running their own BitlBee on the same box as their own IRC client. I think this should be noted in README.

  Changed 3 months ago by ilf

Thanks. Using 1.2.7 OTR on one box now.

Unfortunately, $strip_html does not work with OTR for me.

Is that code section called before OTR decryption?

  Changed 3 months ago by Kenyon Ralph <kenyon@…>

Re: ilf's comment about $strip_html and OTR: I have a patch for that in my Ubuntu package. See  https://edge.launchpad.net/~kralph/+archive/ppa/+packages or bzr checkout  http://kenyonralph.com/pkg-bitlbee-otr/bitlbee-otr

If you're talking to someone using Adium, there is a bug about it:  http://trac.adium.im/ticket/6901

  Changed 3 months ago by Kenyon Ralph <kenyon@…>

Re: my previous comment. Here is the patch I use. It may not be the correct solution, but it does what I want.  http://kenyonralph.com/adium-otr-html.diff or  http://paste.pocoo.org/show/223146/

  Changed 8 weeks ago by Sven Moritz Hallberg <pesco@…>

Updated to upstream 1.2.8.

  Changed 6 weeks ago by wilmer

Thanks for the update! Have you by any chance tried to update it to the ui-fix codebase? I'm planning to do it myself when all the other work on it is done (which is going to be fairly soon), and then eventually merging it.

follow-up: ↓ 73   Changed 10 days ago by wilmer

Hmm. So we have two versions of bitlbee-otr now, and they're slightly different. :-/

wilmer@peer:~/src/bitlbee/otr$ diff -ur bitlbee-otr* | diffstat
 bitlbee-otr-1.2.8/bitlbee.conf                   |    4 
 bitlbee-otr-1.2.8/bitlbee.h                      |    7 
 bitlbee-otr-1.2.8/configure                      |   24 +
 bitlbee-otr-1.2.8/doc/bitlbee.8                  |    2 
 bitlbee-otr-1.2.8/doc/bitlbee.xinetd             |    5 
 bitlbee-otr-1.2.8/doc/user-guide/commands.xml    |  140 ++++-------
 bitlbee-otr-1.2.8/irc.c                          |   21 -
 bitlbee-otr-1.2.8/lib/misc.c                     |   22 -
 bitlbee-otr-1.2.8/lib/ssl_sspi.c                 |  278 -----------------------
 bitlbee-otr-1.2.8/motd.txt                       |    6 
 bitlbee-otr-1.2.8/otr.c                          |   24 -
 bitlbee-otr-1.2.8/protocols/nogaim.c             |  113 +++++++--
 bitlbee-otr-1.2.8/protocols/nogaim.h             |   10 
 bitlbee-otr-1.2.8/protocols/twitter/twitter.c    |    1 
 bitlbee-otr-1.2.8/set.c                          |    2 
 bitlbee-otr-1.2.8/storage.c                      |    1 
 bitlbee-otr-1.2.8/storage_xml.c                  |    5 
 bitlbee-otr-1.2.8/unix.c                         |    2 
 26 files changed, 213 insertions(+), 454 deletions(-)

What I'll probably end up doing is do a merge but revert pretty much everything except otr.[ch] (the rest won't apply cleanly anyway with the IRC core rewrite), and then figure out how to glue it all together again. :-)

Which one has more users, how did this evolve?

  Changed 39 hours ago by anonymous

Working on this merge now:  http://code.bitlbee.org/wilmer/merging-otr/

Note that this is not very functional yet. It loads, the otr root command works, you can generate keys ... but I have to add hooks for incoming/outgoing msgs, restore channel modes in a more ui-fix-compatible way, and who knows what else.

I assume/hope I can still count on you guys to maintain this once I finish the merge?

in reply to: ↑ 71   Changed 24 hours ago by pesco@…

Replying to wilmer:

Hmm. So we have two versions of bitlbee-otr now, and they're slightly different. :-/ .. What I'll probably end up doing is do a merge but revert pretty much everything except otr.[ch] (the rest won't apply cleanly anyway with the IRC core rewrite), and then figure out how to glue it all together again. :-)

This is reasonable, as otr.[ch] was designed to contain all the actual code that just needs to be hooked into the right places (an init here, a hook there, ...)

Which one has more users, how did this evolve?

It probably happened due to me not being quick enough with the updates (my fault) and whoever took the work into their own hands (good!) not sending a patch back.

Replying to anonymous:

Note that this is not very functional yet. It loads, the otr root command works, you can generate keys ... but I have to add hooks for incoming/outgoing msgs, restore channel modes in a more ui-fix-compatible way, and who knows what else.

Once you've hooked into the msg I/O, that should be it pretty much...

I assume/hope I can still count on you guys to maintain this once I finish the merge?

Put it in mainline and I'll be all over it. ;P

follow-up: ↓ 75   Changed 24 hours ago by Wilmer van der Gaast <wilmer@…>

This is reasonable, as otr.[ch] was designed to contain all the actual
code that just needs to be hooked into the right places (an init here, a
hook there, ...)

Exactly. I saw that, and I really like it. :-) This merge been pretty
easy so far, and lets me add some plugin hooks that will be useful for
other things as well (if anything else ever comes up).

Once you've hooked into the msg I/O, that should be it pretty much...

That's what I thought, and I'm close enough. It'd be nice to port the
mode stuff in a sane way as well though.

Put it in mainline and I'll be all over it. ;P

Deal[[BR]]

in reply to: ↑ 74   Changed 23 hours ago by pesco@…

Replying to Wilmer van der Gaast <wilmer@…>:

Once you've hooked into the msg I/O, that should be it pretty much...

That's what I thought, and I'm close enough. It'd be nice to port the mode stuff in a sane way as well though.

Yah. I realize I invaded on the turf of UI design a little when I changed those settings around. Take it as inspiration and do what suits you best. Organizing the settings as a map "channel mode->condition that triggers it" rather than multiple flags with complicated interactions seemed a) clean to implement and b) to clearly convey to the user what his settings mean.

Put it in mainline and I'll be all over it. ;P

Deal!

:) I'll have a look over the new codebase then.

  Changed 23 hours ago by Wilmer van der Gaast <wilmer@…>

16:29:53 @   wilmer| help set show_users
16:29:53 @     root| Type: string
16:29:53 @     root| Scope: channel
16:29:53 @     root| Default: online+,away
16:29:53 @     root|  
16:29:53 @     root| Comma-separated list of statuses of users you 
                     want in the channel, and any modes they should 
                     have. The following statuses are currently 
                     recognised: online (i.e. available, not away), 
                     away, and offline.
16:29:53 @     root|  
16:29:53 @     root| If a status is followed by a valid channel 
                     mode character (@, % or +), it will be given 
                     to users with that status. For example, 
                     online@,away+,offline will show all users in 
                     the channel. Online people will have +o, 
                     people who are online but away will have +v, 
                     and others will have no special modes.

That's what we have now. I'll see about either integrating OTR into this same var, or about making a separate otr_modes setting that can override modes if the user wants.

  Changed 16 hours ago by wilmer

I got something usable now. changeset:merging-otr,675.

SMP doesn't seem to work but I've only tried it with Pidgin on the other side, and in my tests I don't even see a response coming back in tcpdump. So I don't know where this is.

pesco, would you have time to see what's going on with that?

I've also found one bug causing crashes at disconnect time if keys were generated, since the FILE*s weren't reset to NULL after closing them.

Add/Change #115 (Add OTR (off-the-record messaging) support to BitlBee)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.