Re: Musing on SIP and SPAM and SMTP authentication-like things

Benjamin Kaduk <kaduk@mit.edu> Fri, 01 May 2020 22:07 UTC

Return-Path: <kaduk@mit.edu>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A5693A147D for <ietf@ietfa.amsl.com>; Fri, 1 May 2020 15:07:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DydarERH1OPu for <ietf@ietfa.amsl.com>; Fri, 1 May 2020 15:07:28 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 832493A147C for <ietf@ietf.org>; Fri, 1 May 2020 15:07:27 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 041M7KND016091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 1 May 2020 18:07:24 -0400
Date: Fri, 01 May 2020 15:07:20 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: John R Levine <johnl@taugh.com>
Cc: IETF general list <ietf@ietf.org>
Subject: Re: Musing on SIP and SPAM and SMTP authentication-like things
Message-ID: <20200501220720.GT27494@kduck.mit.edu>
References: <20200428184040.B8FE81881E27@ary.qy> <559D801B4792D9B9BBB80D88@PSB> <alpine.OSX.2.22.407.2004281655590.16030@ary.qy>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <alpine.OSX.2.22.407.2004281655590.16030@ary.qy>
User-Agent: Mutt/1.12.1 (2019-06-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/cQdy2drwXP6DK9JSp3iwekJkNxA>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 May 2020 22:07:31 -0000

On Tue, Apr 28, 2020 at 05:10:21PM -0400, John R Levine wrote:
> On Tue, 28 Apr 2020, John C Klensin wrote:
> > While I don't think it would be useful in any realistic case I
> > can think of, I don't think anything in RFC 4954 would prevent a
> > delivery-end server from advertising the extension and an
> > intermediate MTA relay from using it.  That would provide some
> > validation of (or independent of) the argument to the EHLO
> > command that did not depend on IP addresses. ...
> 
> Sure, it's easy to imagine ways one might make arrangements like that. 
> Since SMTP AUTH uses SASL you're mostly limited to shared secrets with 
> counterparties you already know.  (I say mostly since in principle SASL 
> can use OpenID although I don't know anyone who does.)

The bits in draft-ietf-kitten-sasl-saml-ec do get used (IIRC with SASL,
though the doc supports GSS-API as well), but I don't think that's for
mail.

-Ben