help-gsasl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SASL plain on AVR


From: Simon Josefsson
Subject: Re: SASL plain on AVR
Date: Mon, 02 Nov 2009 11:46:48 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Andrew Rapp <address@hidden> writes:

> Hi,
>
> I would like to write a XMPP (Jabber) client for the Arduino (AVR)
> microcontroller.  I'm straight on the XMPP communication but I need a SASL
> plain implementation to authenticate with Google Talk.  I wanted to know if
> it is possible to use gsasl on the AVR.  I'm using the atmega328
> http://www.atmel.com/dyn/products/product_card.asp?PN=ATmega328P  It can
> support only 32kb of program space and 2K of RAM.

Hi.  GNU SASL has been ported to many embedded devices, so it shouldn't
be too hard to make it work.

You most likely want to disable a lot of optional features, such as
obsolete interfaces (--disable-obsolete), all server code
(--disable-server) and all other mechanisms except for the PLAIN
mechanism.

It would be useful to know what parts of GNU SASL takes up space, so if
you can post some 'nm' outputs when you complete your build, that would
be interesting.  For PLAIN you will only need very minimal parts of GNU
SASL, so if there is something that is not needed that you want removed,
we could look into adding more interfaces.  Possibly removing the
MD5/SHA1 stuff should be possible, since PLAIN doesn't need it.

Also, GNU SASL is a good choice for XMPP since it supports SCRAM-SHA-1
which will be the mandatory-to-implement authentication mechanism in the
future. :-)

Good luck!

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]