[sugar] Data Transport between nodes

Simon McVittie simon.mcvittie
Mon Jun 11 17:02:57 EDT 2007


On Mon, 11 Jun 2007 at 16:49:31 -0400, Nolambar von L?meanor wrote:
> I need to send some simple data, specifically a name from an election, the
> list of choices and some others between nodes. This need to be secure and
> reliable (we plan to add GPG support or some kind of digital signatures) and
> I'm wondering if this should be done with telepathy (tubes) or can be done
> with xml-rpc or maybe some other ("easier") alternative.

You should use the "distributed D-Bus" mode of Telepathy Tubes; this will
allow it to work in any environment where chat works, in a transparent
way. My colleague Morgan Collett (morgs on irc.freenode.net #sugar) is working
on a Tubes "hello world" example which you'll be able to use as a reference,
and on improved client-side API so Tubes are easier to use.

We plan to make integrity transparent - communication with the server is
currently cleartext but will be SSL/TLS later, while communication
across the mesh network is currently cleartext but will later be
authenticated and possibly signed. The signing will be done
with the "owner key" (a DSA keypair) which is generated when you first
use a new OLPC.

If you want to provide integrity guarantees before we officially support
this, you could generate your own signatures at the application level
and send them along with your messages - binary blobs (in the form of byte
arrays, signature 'ay') are fully supported by D-Bus, and hence by Tubes.

Regards,
	Simon
-- 
Simon McVittie, Collabora Ltd.: http://www.collabora.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 266 bytes
Desc: Digital signature
Url : http://lists.laptop.org/pipermail/sugar/attachments/20070611/b9857cf2/attachment.pgp 



More information about the Sugar-devel mailing list