SASL Interoperability

"Paul Andrews" <[email protected]> Thu, 29 May 2003 11:10:49 -0400
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
And finally ( :-) ):
 
I've been using the Java beepcore implementation against the C beepcore
implementation (or more properly with the Cyrus SASL libraries) and come
across a couple of interoperability issues.
 
The first was with the base64 encoding of <blob>s. The Java SASL
libraries split the encoding across multiple lines - the Cyrus SASL
libraries expect it all to be on one line. At first, I though that
RFC3080 was vague on this issue, but it does say in its examples that
although the text is split across multiple lines, in actuality, the blob
wouldn't be. However, it is read we would increase interoperability if
we *didn't* split across multiple lines.
 
The second is really a problem with the Cyrus libraries, but I'll
include it here in case anyone reading can influence the Cyrus group.
RFC2831 (SASL/DIGESTMD5) states that 'qop-options' is optional and
defaults to "auth" if not specified. Cyrus simply aborts the exchange if
it isn't specified.
 
Thanks - Paul.