From: Christian N. <ch....@fh...> - 2006-05-22 09:06:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Evan Schoenberg wrote: > Christian, > > Quoting Christian Nolte <ch....@fh...>: > >>> So my question is essentially this: Is there a way for a plugin to >>> access the underlying protocol to get everything sent to/from Gaim? Or >>> is this a matter of hacking the jabber-protocol somehow, to support >>> encryption? > > The protocol code (the "prpl") is responsible for determining what is > sent over the wire as well as how it is sent. The gaim signals for > receiving/sending ims allow you to modify what will be passed to the > prpl -- effectively "changing" what the user typed or the remote contact > sent. What you're wanting to do (process the message differently, > changing what xmpp tags are sent and so on) will need to be done at > least in part at the prpl level; my best guess is that Gaim itself will > need to be enhanced to know about encryption, in some protocol-agnostic > way, and make that information ("is this conversation supposed to be > encrypted?") available to appropriate prpls if they request it, rather > than a much-simpler signal-based plugin. > > Hope that helps, > Evan Thanks for your reply Evan! I have feared that it would be necessary to change some Gaim internals. Do you know if there are ongoing efforts to add encryption support to Gaim in a way you've described? And: is there some documentation of how to use the prpl-API, or some sample implementation I could use to learn from? The missing encryption of messages sent via Gaim is a feature I am missing most in Gaim, as neither gaim-e (seems to be dead) nor gaim-encryption (no GPG, and "non-standard" protocol) is usable with either the latest Gaim version or with other IM-clients. Cheers, Christian - -- Christian Nolte key : http://www.noltec.org/christian-nolte.asc or : www.keyserver.net - ---------------------------------------------------------------------- The Information Revolution will be fought on the command line. - ---------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFEcX78CNjA0nfhW7wRAn3mAKCDP9zRU0gGGEIUDGyvpVSj0EHaUACbBKeu TWuOVNaSk5mxqQ8mwkxIzBA= =mRYU -----END PGP SIGNATURE----- |