[kitten] comments on draft-ietf-kitten-sasl-saml-ec
Sam Hartman <hartmans-ietf@mit.edu> Mon, 10 March 2014 18:49 UTC
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C4C5B1A0564 for <kitten@ietfa.amsl.com>; Mon, 10 Mar 2014 11:49:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_SOFTFAIL=0.665] autolearn=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 10F1y_zMRZPA for <kitten@ietfa.amsl.com>; Mon, 10 Mar 2014 11:49:53 -0700 (PDT)
Received: from mail.painless-security.com (mail.painless-security.com [23.30.188.241]) by ietfa.amsl.com (Postfix) with ESMTP id 0C80A1A050E for <kitten@ietf.org>; Mon, 10 Mar 2014 11:49:53 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.painless-security.com (Postfix) with ESMTP id 4AA91206B1 for <kitten@ietf.org>; Mon, 10 Mar 2014 14:45:07 -0400 (EDT)
Received: from mail.painless-security.com ([127.0.0.1]) by localhost (mail.suchdamage.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X0IgZkSc_wNA for <kitten@ietf.org>; Mon, 10 Mar 2014 14:45:06 -0400 (EDT)
Received: from carter-zimmerman.suchdamage.org (unknown [10.1.10.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.painless-security.com (Postfix) with ESMTPS for <kitten@ietf.org>; Mon, 10 Mar 2014 14:45:06 -0400 (EDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 3398383F8E; Mon, 10 Mar 2014 14:49:46 -0400 (EDT)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: kitten@ietf.org
Date: Mon, 10 Mar 2014 14:49:46 -0400
Message-ID: <tsllhwhq46t.fsf@mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Archived-At: http://mailarchive.ietf.org/arch/msg/kitten/H2JPCN9eE_H3X0nncvrhvOdTnPI
Subject: [kitten] comments on draft-ietf-kitten-sasl-saml-ec
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 10 Mar 2014 18:49:55 -0000
I've reviewed the SAML EC draft. It was easy to read, and I appreciate the work that has gone into it. I would prefer to wait for responses to these comments prior to issuing a WG LC. I request review of these comments from the Kerberos community as well as the SAML EC community. I have not closely read the SAML and SAML ECP specifications, and as a result I cannot provide sufficient review of the overall security and interoperability of this mechanism. We will need review of that from folks other than the authors prior to progressing the specification. I cannot promise doing that additional review in a timely manner. Section 1: A reference to the discovery/WAYF problem would be desirable but is not required. Section 3: In this mechanism, the client does not send the response to the RP at a location of the IDP's choosing but instead sends to a location of the client's choosing through SASL. What are the implications of this? I guess one is the attack Jim brought up and we discussed in ABFAB. In the section on interactions with the IDP, there is no mandatory-to-implement mechanism specified for finding an IDP. I'd appreciate comments from the WG on whether this lack is a problem in terms of guaranteeing that two implementations of this mechanism will be interoperable. Should we require something like support for static configuration of an IDP? Section 5: SASL has an idea of mutual authentication. It seems like the same checks that apply to GSS-API should apply to SASL mutual auth too. The checks in section 5 seem inadequate. In particular, it seems like it should matter what identity is used to digitally sign the request, and the validity of the signature should matter. > If the mutual_state flag is not requested, or is not set, then the > security layer managed by the application outside of the GSS-API > mechanism is responsible for authenticating the acceptor. In this > case, applications MUST match the server identity from the existing > security layer with the target name. For TLS, this matching MUST be > performed as discussed in [RFC6125]. For SSH, this matching MUST be > performed as discussed in [RFC4462]. This text places normative requirements on applications using this mechanism. That's not reasonable because applications may have no knowledge of this mechanism. What happens if these checks are not performed? Section 5.1 seems applicable to SASL as well. It doesn't sound like section 5.1 provides enough guidance to provide interoperability between multiple implementations of delegation to me. Section 5.3 is inconsistent with the claim in the introduction that no integrity and confidentiality layer is provided. Section 5.3. I note that this is the first time I'm aware of where RFC 3961 enctypes' names are used in a protocol. I'd like explicit review of this from the Kerberos community. Everything we have so far uses numbers. Section 5.3.1: I think encryption needs to be a MUST here. Even if CB is used there's no confidence that the channel provides confidentiality. Consider for example a TLS cipher without confidentiality, an IPsec channel for ESP-null, etc. Section 5.4: RFc 4121 has multiple keys it can use: the session key, the subsession key, and the acceptor subsession key. The text in 5.4 is insufficiently detailed for interoperability. Section 5.6.2: 1) I am not sure that the guidance here is sufficient for interoperability and security. 2) This section appears to place normative requirements on the IDP even though the specification claims not to place normative requirements on the IDP. 3) This section seems to apply to SASL.
- [kitten] comments on draft-ietf-kitten-sasl-saml-… Sam Hartman
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Cantor, Scott
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Simo Sorce
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Cantor, Scott
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Simo Sorce
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Cantor, Scott
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Sam Hartman
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Cantor, Scott
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Sam Hartman
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Jeffrey Hutzelman
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Cantor, Scott
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Cantor, Scott
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Sam Hartman
- Re: [kitten] comments on draft-ietf-kitten-sasl-s… Cantor, Scott