Re: [TLS] GSS based PSK-TLS

Martin Rex <Martin.Rex@sap.com> Tue, 17 July 2007 23:19 UTC

Return-path: <tls-bounces@lists.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IAwKC-0005Wp-6v; Tue, 17 Jul 2007 19:19:24 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IAwKB-0005Rz-5T for tls@lists.ietf.org; Tue, 17 Jul 2007 19:19:23 -0400
Received: from smtpde03.sap-ag.de ([155.56.68.140]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IAwK9-0002kp-Ql for tls@lists.ietf.org; Tue, 17 Jul 2007 19:19:23 -0400
Received: from sap-ag.de (smtpde03) by smtpde03.sap-ag.de (out) with ESMTP id BAA13299 for <tls@lists.ietf.org>; Wed, 18 Jul 2007 01:19:20 +0200 (MESZ)
From: Martin Rex <Martin.Rex@sap.com>
Message-Id: <200707172319.l6HNJKrL007394@fs4113.wdf.sap.corp>
Subject: Re: [TLS] GSS based PSK-TLS
Orig-To: lzhu@windows.microsoft.com (Larry Zhu)
To: tls@lists.ietf.org
Cc: tls@lists.ietf.org
Date: Wed, 18 Jul 2007 01:17:33 +0200
In-Reply-To: <CAAAEFE273EAD341A4B02AAA9CA6F73306BB9A73@WIN-MSG-20.wingroup.windeploy.ntdev.microsoft.com> from "Larry Zhu" at Jul 17, 7 03:40:10 pm
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-SAP: out
X-Spam-Score: -4.0 (----)
X-Scan-Signature: d0bdc596f8dd1c226c458f0b4df27a88
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: martin.rex@sap.com
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Larry Zhu wrote:
> 
> Martin Rex wrote:
> > TLS session can be cached, resumed and forked.  Although performance
> > is an issue for a significant amount of our customers, the RSA-server-
> > authentication in the SSL handshake is NOT normally an issue (it only
> > becomes an issue if the SSL session cache is configured too small).
> 
> This will continue to work. I would like to emphasize FKA-TLS is a
> variant of PSK-TLS.

With the current proposal this will be pretty difficult and awkward.

> 
> > GSS-API security context can not be cached and not be resumed.
> 
> you do not need to resume in the GSS level. You can resume in the
> PSK-TLS level. Again, this is a variant of PSK-TLS, you have all the
> bells and whistlers of PSK-TLS.

As soon as you say GSS-API, a lot of unsaid things become an issue
which the current draft does not address at all, and which create
huge architectural problems (for the TLS implementation).

 - GSS-API naming

 - GSS-API extensions, like authorization
   (Microsoft will likely want impersonation to work)
   persitence of GSS-API objects and attributes and access to
   such attributes (currently existing as well as future defined ones)

With the proposed architecture FKA-TLS bolts GSS-API deep into
the TLS (protocol) stack, and in order to make anything besides
an "authentication succeded" boolean available to the calling
application, you will have to hack up the TLS API in a massive
way to make the underlying GSS-API accessible and session
caching interoperate smoothly with GSS-API related feature
requests and expectations of the calling application.


Compare this to an architecture, where you have an almost vanilla
TLS stack with support for a small "GSS-API mechanism list negotiation
extension plus server name signalling" and one or more vanilla
legacy GSS-API mechanisms bundled by an thin additional glue layer
that combines this into a TLS-with-adjacent-GSSAPI-handshake,
where you can plug'n'play gssapi mechanisms and TLS stacks.

In such an architecture, you may still have to solve the
GSS-API persistence in this additional top-level glue layer,
but you can support close to any existing and conceivable GSS-API 
mechanism and the necessary changes to SSL/TLS are
minimalistic and fully transparent/orthogonal to the
evolution of the TLS protocol&stack (like addition of
new ciphersuites).  Not having to deal with GSS-API
extensinos, objects, object persistence and naming
within TLS will be by far the biggest advantage. 


Generating a self-signed RSA server certificate is trivial and a non-issue.

Ignoring a self-signed RSA server certificate when the server
is authenticated by GSS-API as well is trivial and a non-issue.

Do NOT overestimate the security of the "endpoint identification"
that Web-Browsers currently perform (EKR: I really appreciate your
choice of terminology in rfc-2818).  As I said before, the approach
taken by SSH is much better, even without CA-signed host keys.



-Martin


_______________________________________________
TLS mailing list
TLS@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls