DevHeads.net

Cyrus SASL with httpform

Hello there

Anybody out there have had any success with httpform authentication
using Cyrus SASL? I am able to compile Cyrus SASL with the following
mechanisms:
saslauthd 2.1.26
authentication mechanisms: getpwent pam rimap shadow httpform

And to link the SASL libraries to Postfix, but how to get the HTTP
authentication bit to work with saslauthd is the head scratcher.

Any help, or pointers will be appreciated.

Regards

Comments

Re: Cyrus SASL with httpform

By Rick van Rein at 12/06/2018 - 07:25

Hi Jaco,

Although this is not exactly what you are asking, but we're working on
HTTP SASL authentication, so one level below the HTML forms that you are
talking about.

<a href="http://internetwide.org/blog/2018/11/15/somethings-cooking-4.html" title="http://internetwide.org/blog/2018/11/15/somethings-cooking-4.html">http://internetwide.org/blog/2018/11/15/somethings-cooking-4.html</a>

There is an early Docker Demo with a plugin to add SASL to FireFox,
based on the recently standardised notion of Native Messaging,

<a href="https://github.com/arpa2/docker-demo/tree/master/demo-ffsasl" title="https://github.com/arpa2/docker-demo/tree/master/demo-ffsasl">https://github.com/arpa2/docker-demo/tree/master/demo-ffsasl</a>

Maybe that is (a direction for) a solution. HTML forms are not likely
to support the any-number-of-back-and-forths that SASL requires, in general.

Cheers,
-Rick