Re: [kitten] SASL as authmode for HTTP and SIP

Stefan Marsiske <03cx8i55f6@ctrlc.hu> Fri, 14 October 2022 23:33 UTC

Return-Path: <03cx8i55f6@ctrlc.hu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F2E28C14CE38 for <kitten@ietfa.amsl.com>; Fri, 14 Oct 2022 16:33:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.887
X-Spam-Level:
X-Spam-Status: No, score=-6.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id awOuxuix7fgi for <kitten@ietfa.amsl.com>; Fri, 14 Oct 2022 16:33:36 -0700 (PDT)
Received: from ctrlc.hu (ctrlc.hu [185.193.126.105]) by ietfa.amsl.com (Postfix) with ESMTP id F0E15C14CF0D for <kitten@ietf.org>; Fri, 14 Oct 2022 16:33:35 -0700 (PDT)
Received: from i.ctrlc.hu (unknown [10.23.5.25]) by ctrlc.hu (Postfix) with ESMTP id 0AB4A3E551B; Fri, 14 Oct 2022 23:33:31 +0000 (UTC)
Received: by i.ctrlc.hu (Postfix, from userid 1000) id 95020A9; Fri, 14 Oct 2022 23:33:30 +0000 (UTC)
Date: Sat, 15 Oct 2022 01:33:30 +0200
From: Stefan Marsiske <03cx8i55f6@ctrlc.hu>
To: Ken Hornstein <kenh@pobox.com>
Cc: Rick van Rein <rick@openfortress.nl>, kitten@ietf.org
Message-ID: <Y0nxyhwV75SoBuvB@localhost>
References: <20221014171909.GB7961@openfortress.nl> <20221014231838.8881E16156F@pb-smtp2.pobox.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20221014231838.8881E16156F@pb-smtp2.pobox.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/aHbEQKPUHDaFI7a7xzsKk_Hdmsg>
Subject: Re: [kitten] SASL as authmode for HTTP and SIP
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Oct 2022 23:33:40 -0000

On Fri, Oct 14, 2022 at 07:18:37PM -0400, Ken Hornstein wrote:
> >The HTTP-SASL spec is mature, and has been implemented for Apache (2x),
> >Nginx and FireFox.

the missing links:
https://gitlab.com/arpa2/apachemod/-/tree/master/
https://github.com/stef/ngx_http_auth_sasl_module/
https://gitlab.com/arpa2/http_sasl_client

(i don't know which is the 2nd apache impl though)

> Forgive me for being skeptical, but ... is that statement accurate?
> 
> I found the HTTP-SASL plugin for Nginx, and it seems straighforward.  But
> I did not find a comparable one for Apache.  I did find mod_authn_sasl,
> but that seems to just be a basic provider that does calls for SASL
> password verification.  It's not that I don't believe you that such a
> plugin exists, but a quick search doesn't uncover it.
> 
> I was curious about Firefox, so I took a look at the mozilla-central
> repo.

it's not native. it's just a webextension (see above). and it only works with
manifestv2 - thus no chrom* support.