Up North

Personal blog of Mikael Hallendal
  • Home
  • About

STARTTLS support in Loudmouth

Published by Mikael Hallendal on February 26, 2007 11:46 pm under Programming

Sat down tonight and hacked up a first version of STARTTLS support in Loudmouth. The current version is pretty fragile to anything going wrong so I haven’t landed the code in the 1.3 tree yet. I also plan to do some refactoring required after merging the SASL patch this weekend.After merging this it means that Loudmouth will have support for SASL, STARTTLS and SRV lookup which will let you just use your JID for connecting rather than giving JID, host, port and whether to use SSL or not.Yay!

Share This

1 Comment so far

  1. Dax Kelson on February 27th, 2007

    That’s great! Currently I use gaim for GSSAPI/Kerberos jabber authentication and it would be nice to have other options available.

    One implementation gotcha to be aware of. Setting the proper SASL domain.

    When the domain portion of your JID != the FQDN of the jabber server and you are doing GSSAPI/Kerberos authentication you should use the FQDN of the jabber server as the SASL domain so that the FQDN is used when to obtain a Kerberos service ticket . Other implementations have initially gotten this wrong and have tried to use the domain portion of the JID.

    On the other hand, with the DIGEST-MD5 method, I believe you do want to use the domain portion of the the JID for the SASL domain.

    Another thing gaim initially got wrong. When the connection can be authenticated via GSSAPI/Kerberos or another non-password based method the user should not be prompted for a password.

    And finally if the jabber server offers the GSSAPI method along with PLAIN (over STARTTLS or SSL) and the client doesn’t not have Kerberos tickets, the client should gracefully fallback to PLAIN auth and prompt the user for a password.

Posting your comment.


  • Categories

    • Community (3)
    • Imendio (26)
    • Life (13)
    • Photography (1)
    • Programming (36)
    • Software (15)
    • Tips (8)
    • Uncategorized (180)
  • Most Popular Posts

    • Gtk+ natively on Mac OS X
    • GTK+ 3.0, enabling incrementalism
    • Removing a remote branch in Git
    • New Movable Type Theme
    • Google Calendar and Prism
  • Popular Tags

    c conference git gnome gossip gtk+ guadec Imendio linux loudmouth macosx ruby screencast web xmpp
  • My latest tweets

    • Think I might be catching a cold with sour throat and voice of a whisky drinker. 3 days ago
    • Been to pick up my Wrath of the Lich King DVD and lunch with a friend. 6 days ago
    • Productive evening, refreshed some guitar theory as well as added rspec to my little spare time project 1 week ago
    • More updates...
  • Feeds

    • Entries
    • Comments

Copyright © 2008 Mikael Hallendal
WordPress Theme based on Light Theme

Close
  • Social Web
  • E-mail
  • del.icio.us
  • Digg
  • Furl
  • Yahoo! My Web
  • StumbleUpon
  • Google Bookmarks
  • Technorati
  • BlinkList
  • Newsvine
  • ma.gnolia
  • reddit
  • Tailrank
  • 9rules Clips
E-mail It