
From mrex@sap.com  Fri Nov  5 17:00:25 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E63063A69A2; Fri,  5 Nov 2010 17:00:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.189
X-Spam-Level: 
X-Spam-Status: No, score=-10.189 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48H4b2-P0NZp; Fri,  5 Nov 2010 17:00:24 -0700 (PDT)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id BD0563A6987; Fri,  5 Nov 2010 17:00:23 -0700 (PDT)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id oA600UoR019857 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 6 Nov 2010 01:00:35 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011060000.oA600Tja026012@fs4113.wdf.sap.corp>
To: simon@josefsson.org (Simon Josefsson)
Date: Sat, 6 Nov 2010 01:00:29 +0100 (MET)
In-Reply-To: <87iq13k62s.fsf@mocca.josefsson.org> from "Simon Josefsson" at Oct 15, 10 02:12:43 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: kitten@ietf.org, tls@ietf.org
Subject: Re: [kitten] RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 06 Nov 2010 00:00:25 -0000

Simon Josefsson wrote:
> 
> I'm implementing an API for RFC 5929 in GnuTLS and I'm having some
> troubles with the specification.  Section 3.1 says:
> 
>    Description: The first TLS Finished message sent (note: the Finished
>    struct, not the TLS record layer message containing it) in the most
>    recent TLS handshake of the TLS connection being bound to (note: TLS
>    connection, not session, so that the channel binding is specific to
>    each connection regardless of whether session resumption is used).

I've also started adding code for tls-unique channel bindings and
now I'm also wondering about this description:

rfc5929 says

"(note: the Finished struct, not the TLS record layer message containing it)"

which, according to rfc-5246 looks like this:

http://tools.ietf.org/html/rfc5246#section-7.4.9

   Structure of this message:

      struct {
          opaque verify_data[verify_data_length];
      } Finished;

      verify_data
         PRF(master_secret, finished_label, Hash(handshake_messages))
            [0..verify_data_length-1];


What puzzles me now:

rfc5929 clearly says "Finished struct", which differs from the
verify_data as used by rfc5246 (TLS extension RI) in that
it WILL include the length field of the verify_data opaque vector.

If there had been any mentioning of the CB sizes for tls-unique, similar
to rfc5746 (12 octets for TLSv1.x and existing cipher suites,
36 octets for SSLv3), then I would not be wondering whether this
spec really means what it says.

What size does your tls-unique CB have for TLSv1.x?  12 or 13 octets?

-Martin

From simon@josefsson.org  Sat Nov  6 02:47:02 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 64E213A67D3; Sat,  6 Nov 2010 02:47:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1g1lzJcnpIMl; Sat,  6 Nov 2010 02:47:01 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 129293A6781; Sat,  6 Nov 2010 02:47:00 -0700 (PDT)
Received: from latte.josefsson.org ([213.115.164.118]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA69l2DU002286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 6 Nov 2010 10:47:05 +0100
From: Simon Josefsson <simon@josefsson.org>
To: mrex@sap.com
References: <87iq13k62s.fsf@mocca.josefsson.org> <201011060000.oA600Tja026012__47265.1795288131$1289001651$gmane$org@fs4113.wdf.sap.corp>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101106:mrex@sap.com::REgRcMg9D8oVrmjN:A0Sh
X-Hashcash: 1:22:101106:kitten@ietf.org::D6JP0BhFdEA5LgJT:EH+K
X-Hashcash: 1:22:101106:tls@ietf.org::B1Dgbyqr56Z2QrF7:tG1E
Date: Sat, 06 Nov 2010 10:46:49 +0100
In-Reply-To: <201011060000.oA600Tja026012__47265.1795288131$1289001651$gmane$org@fs4113.wdf.sap.corp> (Martin Rex's message of "Sat, 6 Nov 2010 01:00:29 +0100 (MET)")
Message-ID: <8739revl6e.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.3 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org, tls@ietf.org
Subject: Re: [kitten] RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 06 Nov 2010 09:47:02 -0000

Martin Rex <mrex@sap.com> writes:

> rfc5929 clearly says "Finished struct", which differs from the
> verify_data as used by rfc5246 (TLS extension RI) in that
> it WILL include the length field of the verify_data opaque vector.
>
> If there had been any mentioning of the CB sizes for tls-unique, similar
> to rfc5746 (12 octets for TLSv1.x and existing cipher suites,
> 36 octets for SSLv3), then I would not be wondering whether this
> spec really means what it says.
>
> What size does your tls-unique CB have for TLSv1.x?  12 or 13 octets?

Sigh.  I used 12 octets, but your interpretation suggests 13 octets even
though that is silly.  My new API is not in any stable GnuTLS release,
so there is still time to fix it.

Were anyone able to interop test against the Microsoft implementation
that were the justification to change the definition?

I'd love to do interop testing with someone else, to feel more confident
in the output.  I do support both TLSv1 and SSLv3 Finished messages, but
I'm striping the initial length octet.  I'll change that if there is
consensus on the interpretation.

/Simon

From prvs=1926cfc1c9=jaltman@secure-endpoints.com  Sat Nov  6 05:03:22 2010
Return-Path: <prvs=1926cfc1c9=jaltman@secure-endpoints.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 88EB63A68AC for <kitten@core3.amsl.com>; Sat,  6 Nov 2010 05:03:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.495
X-Spam-Level: 
X-Spam-Status: No, score=-0.495 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553,  RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e6dFxICdLkO8 for <kitten@core3.amsl.com>; Sat,  6 Nov 2010 05:03:21 -0700 (PDT)
Received: from www.secure-endpoints.com (unknown [208.125.0.227]) by core3.amsl.com (Postfix) with ESMTP id E22B73A6879 for <kitten@ietf.org>; Sat,  6 Nov 2010 05:03:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=secure-endpoints.com; s=MDaemon; t=1289045015; x=1289649815; q=dns/txt; h=DomainKey-Signature:Received:Message-ID:Date:From: Organization:User-Agent:MIME-Version:To:Subject:References: In-Reply-To:OpenPGP:Content-Type:Reply-To; bh=ZQuWYvQ/6usMGtH6qV KcFyrGT0wY1fqkCdaZ8UmnBYw=; b=aPqb/EScY5FV/JTL3RIGYe0SXWN81N9OWe WXCHSP8zWbasMgY4vWwkpqWbaVz4CK5DVepoGcYIMC580ZvtNW8U0U6I7xnuh5vO q2iXmgeXO0TipEoigOzrQDz+IHLao1Pcfhn00lVOd/V78Etf6MxOntSBbL/Nw6Zw FxIUMktk4=
DomainKey-Signature: a=rsa-sha1; s=MDaemon; d=secure-endpoints.com; c=simple; q=dns; h=message-id:from; b=vuz4xbJC8vDLOnJXRRhhRQdOYtDTA/6Wc1QwR3nofUYpJ/8acwWwA2Kp4fiS ua/buia+ckVb2zKfbY08TmkNNrkY+yEp3hujj158nwDKNyJuEbTqmviQz NcgZ6vxjfmCpziUcJfLtE1BoTrzQB6ED5OQOEINCzNBkfJWUj1D/7I=;
X-MDAV-Processed: www.secure-endpoints.com, Sat, 06 Nov 2010 08:03:35 -0400
Received: from [172.16.16.76] by secure-endpoints.com (Cipher TLSv1:-SHA:128) (MDaemon PRO v11.0.3) with ESMTP id md50000052009.msg for <kitten@ietf.org>; Sat, 06 Nov 2010 08:03:35 -0400
X-Spam-Processed: www.secure-endpoints.com, Sat, 06 Nov 2010 08:03:35 -0400 (not processed: message from trusted or authenticated source)
X-Authenticated-Sender: jaltman@secure-endpoints.com
X-MDRemoteIP: 208.125.0.253
X-Return-Path: prvs=1926cfc1c9=jaltman@secure-endpoints.com
X-Envelope-From: jaltman@secure-endpoints.com
X-MDaemon-Deliver-To: kitten@ietf.org
Message-ID: <4CD54414.408@secure-endpoints.com>
Date: Sat, 06 Nov 2010 08:03:32 -0400
From: Jeffrey Altman <jaltman@secure-endpoints.com>
Organization: Secure Endpoints Inc.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b3pre Thunderbird/3.1.6
MIME-Version: 1.0
To: kitten@ietf.org
References: <87iq13k62s.fsf@mocca.josefsson.org>	<201011060000.oA600Tja026012__47265.1795288131$1289001651$gmane$org@fs4113.wdf.sap.corp> <8739revl6e.fsf@latte.josefsson.org>
In-Reply-To: <8739revl6e.fsf@latte.josefsson.org>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://pgp.mit.edu
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4D7FD63E2CA1768CF667FABD"
Subject: Re: [kitten] RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jaltman@secure-endpoints.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 06 Nov 2010 12:03:22 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4D7FD63E2CA1768CF667FABD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/6/2010 5:46 AM, Simon Josefsson wrote:
> Martin Rex <mrex@sap.com> writes:
>=20
>> rfc5929 clearly says "Finished struct", which differs from the
>> verify_data as used by rfc5246 (TLS extension RI) in that
>> it WILL include the length field of the verify_data opaque vector.
>>
>> If there had been any mentioning of the CB sizes for tls-unique, simil=
ar
>> to rfc5746 (12 octets for TLSv1.x and existing cipher suites,
>> 36 octets for SSLv3), then I would not be wondering whether this
>> spec really means what it says.
>>
>> What size does your tls-unique CB have for TLSv1.x?  12 or 13 octets?
>=20
> Sigh.  I used 12 octets, but your interpretation suggests 13 octets eve=
n
> though that is silly.  My new API is not in any stable GnuTLS release,
> so there is still time to fix it.
>=20
> Were anyone able to interop test against the Microsoft implementation
> that were the justification to change the definition?
>=20
> I'd love to do interop testing with someone else, to feel more confiden=
t
> in the output.  I do support both TLSv1 and SSLv3 Finished messages, bu=
t
> I'm striping the initial length octet.  I'll change that if there is
> consensus on the interpretation.
>=20
> /Simon

The original implementation of TLS unique channel bindings comes from
the Telnet TLS work from more than a decade ago.  That was implemented
using OpenSSL which provides the following APIs:

/* Obtain latest Finished message
*   -- that we sent (SSL_get_finished)
*   -- that we expected from peer (SSL_get_peer_finished).
* Returns length (0 =3D=3D no Finished so far), copies up to 'count' byte=
s. */
size_t SSL_get_finished(const SSL *s, void *buf, size_t count);
size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count);

The returned buffer contains 36 octets for SSL3 and 12 octets for
TLS1.x.  OpenSSL supports finished messages up to 128 octets in length.

Jeffrey Altman


--------------enig4D7FD63E2CA1768CF667FABD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBAgAGBQJM1UQWAAoJENxm1CNJffh45fwIAOhLyUFNLKb9UdSnlBiHrBlj
qkHJqczDnHdTFuX2aXHlPnUnBWFtYWp7nUjOAWHOOvc+Cj++oXAKXTnKyPUQGcPN
CZIt5DcCnLUi+bi1HRStWYC+akNPJ9bBkiTEjevbDxLy4f4suGaGtqseLuoPLEYc
4T2D67DFIHh/lQKk9KjtrEe+HyuIR1rurMIJuHrKBoaEkl+6+d/icf9BB7pNZ3Ht
sIvEIHw+lBlvecoTcHF5FXJRL+fCu46HNYK18u2ovYp9MxqZTtRLbhev5ooW3nCP
ucuXbVkxZWiROpZrzS6VMJupzwTQg/fmtjdrpVV+TMNHhHnScTY1QuM5AM/FXmM=
=ClWl
-----END PGP SIGNATURE-----

--------------enig4D7FD63E2CA1768CF667FABD--


From n.mavrogiannopoulos@gmail.com  Sat Nov  6 03:53:08 2010
Return-Path: <n.mavrogiannopoulos@gmail.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 062993A6950; Sat,  6 Nov 2010 03:53:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qP0ld-ca6rb6; Sat,  6 Nov 2010 03:53:07 -0700 (PDT)
Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by core3.amsl.com (Postfix) with ESMTP id AC70B3A6824; Sat,  6 Nov 2010 03:53:06 -0700 (PDT)
Received: by eyd10 with SMTP id 10so2253655eyd.31 for <multiple recipients>; Sat, 06 Nov 2010 03:53:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=9eGsXz6FxHOq4slCpQeHALldXvXOMLLV+4vdvYWnljI=; b=mBrbIR8slF/peTChoBpl8WU4XMM/GjXhOsoNO/G7+aZGIELWSZR/HEyBka5ZhxjxRL OMUE/l7RWav0J2IFyLMxbbkmimDcZyMMHg1pHCd5AtGHMM7PvrJliTTFzYqqHfnWt4qg JaXW5Eb7J9yHitO8NCUmM0D2v7Hrt1lWN6HHI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=EhJNEfnxewcZX31RqMe5zeEEAAxgxEZ5n+IE+NaSpQHOf7R2gbJB61oymLUGY0H96m vBRzt+lW+9CyJmrDTSegR/IYxLQihRI7SPjRX/Ah4JlrcLj5WGQ9UNTHzN4UPdXTevYi yUCm/OIHENiYskYUT8v/EMDafH3lEJ4pkaikM=
Received: by 10.213.33.10 with SMTP id f10mr2627065ebd.91.1289040799926; Sat, 06 Nov 2010 03:53:19 -0700 (PDT)
Received: from [10.100.2.14] (78-23-65-223.access.telenet.be [78.23.65.223]) by mx.google.com with ESMTPS id x54sm2032129eeh.23.2010.11.06.03.53.18 (version=SSLv3 cipher=RC4-MD5); Sat, 06 Nov 2010 03:53:18 -0700 (PDT)
Sender: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Message-ID: <4CD5339D.10709@gnutls.org>
Date: Sat, 06 Nov 2010 11:53:17 +0100
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10
MIME-Version: 1.0
To: mrex@sap.com
References: <201011060000.oA600Tja026012@fs4113.wdf.sap.corp>
In-Reply-To: <201011060000.oA600Tja026012@fs4113.wdf.sap.corp>
X-Enigmail-Version: 1.0.1
OpenPGP: id=96865171
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Sat, 06 Nov 2010 05:52:05 -0700
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>, tls@ietf.org
Subject: Re: [kitten] [TLS]  RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 06 Nov 2010 10:53:08 -0000

On 11/06/2010 01:00 AM, Martin Rex wrote:

> rfc5929 says
> 
> "(note: the Finished struct, not the TLS record layer message containing it)"
> 
> which, according to rfc-5246 looks like this:
> 
> http://tools.ietf.org/html/rfc5246#section-7.4.9
> 
>    Structure of this message:
> 
>       struct {
>           opaque verify_data[verify_data_length];
>       } Finished;
> 
>       verify_data
>          PRF(master_secret, finished_label, Hash(handshake_messages))
>             [0..verify_data_length-1];
> 
> 
> What puzzles me now:
> 
> rfc5929 clearly says "Finished struct", which differs from the
> verify_data as used by rfc5246 (TLS extension RI) in that
> it WILL include the length field of the verify_data opaque vector.

Does verify_data[] have a length field? It is not a variable length
vector to require length.


regards,
Nikos

From marsh@extendedsubset.com  Sat Nov  6 11:14:04 2010
Return-Path: <marsh@extendedsubset.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D311B3A6863; Sat,  6 Nov 2010 11:14:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dKFN7Y6KDoaF; Sat,  6 Nov 2010 11:14:04 -0700 (PDT)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by core3.amsl.com (Postfix) with ESMTP id 1B2E73A68E0; Sat,  6 Nov 2010 11:14:04 -0700 (PDT)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1PEnHQ-000LTL-1z; Sat, 06 Nov 2010 18:14:20 +0000
Received: from [192.168.1.15] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id ECEBD6077; Sat,  6 Nov 2010 18:14:12 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+INQHNKKvUm/QRpef+0wtnQOOd96XgRdo=
Message-ID: <4CD59AF4.2030501@extendedsubset.com>
Date: Sat, 06 Nov 2010 13:14:12 -0500
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10
MIME-Version: 1.0
To: Nikos Mavrogiannopoulos <nmav@gnutls.org>
References: <201011060000.oA600Tja026012@fs4113.wdf.sap.corp> <4CD5339D.10709@gnutls.org>
In-Reply-To: <4CD5339D.10709@gnutls.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Sat, 06 Nov 2010 19:22:25 -0700
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>, tls@ietf.org
Subject: Re: [kitten] [TLS]  RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 06 Nov 2010 18:14:04 -0000

On 11/06/2010 05:53 AM, Nikos Mavrogiannopoulos wrote:
> On 11/06/2010 01:00 AM, Martin Rex wrote:
>>
>> rfc5929 clearly says "Finished struct", which differs from the
>> verify_data as used by rfc5246 (TLS extension RI) in that
>> it WILL include the length field of the verify_data opaque vector.
>
> Does verify_data[] have a length field? It is not a variable length
> vector to require length.

http://tools.ietf.org/html/rfc5246
> 1.2.  Major Differences from TLS 1.1
>    -  Verify_data length now depends on the cipher suite (default is
>       still 12).

In theory, it's variable starting with TLS 1.2. Last I checked it seemed 
like all cipher suites still define it as 12.

- Marsh

From mike-list@pobox.com  Sat Nov  6 11:30:04 2010
Return-Path: <mike-list@pobox.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B5A353A68EE; Sat,  6 Nov 2010 11:30:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9F4n7htt929h; Sat,  6 Nov 2010 11:30:02 -0700 (PDT)
Received: from sasl.smtp.pobox.com (a-pb-sasl-sd.pobox.com [64.74.157.62]) by core3.amsl.com (Postfix) with ESMTP id 4936A3A6863; Sat,  6 Nov 2010 11:30:02 -0700 (PDT)
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id AC5DF3092; Sat,  6 Nov 2010 14:30:21 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=StR5eWgq34li GyFZWeTP4Gylmfw=; b=TTYqCViQDecriMDxYKdM9C2KX5l70OtFXXd2jvvuUwOw CEfb2by7EjXxnDc5Sk8W65x561jbx2MKRI3D5u2t3pIVlZd38K7/FSgOmVsvcbKU 1+gmFbcbUkGF72/ZbxneMcziH14f8U429Z3x5KSVLhl5wwrtiEXa6jNbxtls4Hc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=vRyrmN 10r26DYpYwQJCgkhlrlDHG/1aL1dlSBpEUOoGyTG3HsIwPD5WoMu4aRdTy+wvOyr dqdLL8csC5rAfoGqW4cYKX35xCGUZJsVt0/XiaOuCrRmamRQNR39w8X8HsrMsOKk AnwTTminulry/ig2lIAy54OXa9Buhqj7p6QQE=
Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6E2E83090; Sat,  6 Nov 2010 14:30:17 -0400 (EDT)
Received: from iMac.local (unknown [24.234.114.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 17BAA3085; Sat,  6 Nov 2010 14:30:11 -0400 (EDT)
Message-ID: <4CD59EAF.6040905@pobox.com>
Date: Sat, 06 Nov 2010 11:30:07 -0700
From: Michael D'Errico <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
MIME-Version: 1.0
To: Marsh Ray <marsh@extendedsubset.com>
References: <201011060000.oA600Tja026012@fs4113.wdf.sap.corp> <4CD5339D.10709@gnutls.org> <4CD59AF4.2030501@extendedsubset.com>
In-Reply-To: <4CD59AF4.2030501@extendedsubset.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Pobox-Relay-ID: E767CE52-E9D3-11DF-9190-B53272ABC92C-38729857!a-pb-sasl-sd.pobox.com
X-Mailman-Approved-At: Sat, 06 Nov 2010 19:22:25 -0700
Cc: kitten@ietf.org, Josefsson <simon@josefsson.org>, Simon, tls@ietf.org, Nikos Mavrogiannopoulos <nmav@gnutls.org>
Subject: Re: [kitten] [TLS]  RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 06 Nov 2010 18:30:05 -0000

A Finished message does not have a length byte, even in TLS 1.2.  Square
brackets in the definition mean the data is a fixed size.  TLS 1.2 does
allow a cipher suite to change the size of the verify_data to something
other than 12, but that does not mean a length byte is included in the
Finished message.  Angle brackets would have been used in the definition
if that were the case.

Mike



Marsh Ray wrote:
> On 11/06/2010 05:53 AM, Nikos Mavrogiannopoulos wrote:
>> On 11/06/2010 01:00 AM, Martin Rex wrote:
>>>
>>> rfc5929 clearly says "Finished struct", which differs from the
>>> verify_data as used by rfc5246 (TLS extension RI) in that
>>> it WILL include the length field of the verify_data opaque vector.
>>
>> Does verify_data[] have a length field? It is not a variable length
>> vector to require length.
> 
> http://tools.ietf.org/html/rfc5246
>> 1.2.  Major Differences from TLS 1.1
>>    -  Verify_data length now depends on the cipher suite (default is
>>       still 12).
> 
> In theory, it's variable starting with TLS 1.2. Last I checked it seemed 
> like all cipher suites still define it as 12.
> 
> - Marsh

From hannes.tschofenig@gmx.net  Sat Nov  6 19:22:26 2010
Return-Path: <hannes.tschofenig@gmx.net>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BDB293A6979 for <kitten@core3.amsl.com>; Sat,  6 Nov 2010 19:22:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2zeQPuG7KrTi for <kitten@core3.amsl.com>; Sat,  6 Nov 2010 19:22:25 -0700 (PDT)
Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by core3.amsl.com (Postfix) with SMTP id 2ECAB3A68D2 for <kitten@ietf.org>; Sat,  6 Nov 2010 19:22:25 -0700 (PDT)
Received: (qmail invoked by alias); 07 Nov 2010 02:22:41 -0000
Received: from dhcp-7730.meeting.ietf.org (EHLO dhcp-7730.meeting.ietf.org) [130.129.119.48] by mail.gmx.net (mp054) with SMTP; 07 Nov 2010 03:22:41 +0100
X-Authenticated: #29516787
X-Provags-ID: V01U2FsdGVkX19n/CxaxKRnPOLWqdig6r/No3Jvg6FTHRPuMNzUOR hWWFzgaMPScol0
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Date: Sat, 6 Nov 2010 21:22:33 -0500
Message-Id: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net>
To: ietf@ietf.org
Mime-Version: 1.0 (Apple Message framework v1081)
X-Mailer: Apple Mail (2.1081)
X-Y-GMX-Trusted: 0
X-Mailman-Approved-At: Sat, 06 Nov 2010 19:52:08 -0700
Cc: abfab@ietf.org, rai@ietf.org, secdir@ietf.org, websec@ietf.org, xmpp@ietf.org, kitten@ietf.org, "iab@iab.org Board" <iab@iab.org>, iesg@ietf.org, oauth@ietf.org
Subject: [kitten] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 07 Nov 2010 02:22:26 -0000

Hi all,=20

please consider attending the following two meetings!=20

** OAuth Security Session **

	=95 Date: Monday, 13:00-15:00
	=95 Location: IAB breakout room (Jade 2)
	=95 Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
The security consideration section of OAuth 2.0 (draft -10) is still =
empty. Hence, we would like to put some time aside to discuss what =
security threats, requirements, and countermeasures need to be =
described. We will use the Monday, November 8, 1300-1500 slot to have a  =
discussion session.

As a starting point I suggest to look at the following documents:

	=95 =
http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
	=95 http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
	=95 =
http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.txt

Note: If you are unfamiliar with OAuth then the OAuth tutorial session =
might be more suitable for you!



** OAuth Tutorial **

	=95 Date: Wednesday, 19:30 (after the plenary)
	=95 Location: IAB breakout room (Jade 2)
	=95 Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
OAuth allows a user to grant a third-party Web site or application =
access to their resources, without necessarily revealing their =
credentials, or even their identity. The OAuth working group, see =
http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to =
finalize their main specification, namely OAuth v2: =
http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/

Based on the positive response at the last IETF meeting (in Maastricht) =
we decided to hold another OAuth tutorial, namely on *Wednesday, =
starting at 19:30 (after the IETF Operations and Administration Plenary) =
till about 21:00. (Note: I had to switch the day because of the social =
event!)

It is helpful to read through the documents available int he working =
group but not required.

Up-to-date information can be found here: =
http://www.ietf.org/registration/MeetingWiki/wiki/79bofs

Ciao
Hannes


From hannes.tschofenig@gmx.net  Sat Nov  6 19:54:54 2010
Return-Path: <hannes.tschofenig@gmx.net>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 20F403A69A7 for <kitten@core3.amsl.com>; Sat,  6 Nov 2010 19:54:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sc5fszsDjRqA for <kitten@core3.amsl.com>; Sat,  6 Nov 2010 19:54:53 -0700 (PDT)
Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by core3.amsl.com (Postfix) with SMTP id B5F313A6774 for <kitten@ietf.org>; Sat,  6 Nov 2010 19:54:52 -0700 (PDT)
Received: (qmail invoked by alias); 07 Nov 2010 02:55:08 -0000
Received: from dhcp-7730.meeting.ietf.org (EHLO dhcp-7730.meeting.ietf.org) [130.129.119.48] by mail.gmx.net (mp004) with SMTP; 07 Nov 2010 03:55:08 +0100
X-Authenticated: #29516787
X-Provags-ID: V01U2FsdGVkX1+xrIdNW9mxeE8CO1dDUKPggC9r0nfEQftlfRdtjG Wo/oYbHVQcLNu6
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Apple Message framework v1081)
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Date: Sat, 6 Nov 2010 21:55:04 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <3C6E6703-88E3-4854-B608-3A3EDF143EB3@gmx.net>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net>
To: kitten@ietf.org
X-Mailer: Apple Mail (2.1081)
X-Y-GMX-Trusted: 0
Subject: [kitten] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 07 Nov 2010 02:54:54 -0000

Hi all,=20

please consider attending the following two meetings!=20

** OAuth Security Session **

	=95 Date: Monday, 13:00-15:00
	=95 Location: IAB breakout room (Jade 2)
	=95 Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
The security consideration section of OAuth 2.0 (draft -10) is still =
empty. Hence, we would like to put some time aside to discuss what =
security threats, requirements, and countermeasures need to be =
described. We will use the Monday, November 8, 1300-1500 slot to have a  =
discussion session.

As a starting point I suggest to look at the following documents:

	=95 =
http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
	=95 http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
	=95 =
http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.txt

Note: If you are unfamiliar with OAuth then the OAuth tutorial session =
might be more suitable for you!



** OAuth Tutorial **

	=95 Date: Wednesday, 19:30 (after the plenary)
	=95 Location: IAB breakout room (Jade 2)
	=95 Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
OAuth allows a user to grant a third-party Web site or application =
access to their resources, without necessarily revealing their =
credentials, or even their identity. The OAuth working group, =
seehttp://datatracker.ietf.org/wg/oauth/charter/, is currently trying to =
finalize their main specification, namely OAuth v2: =
http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/

Based on the positive response at the last IETF meeting (in Maastricht) =
we decided to hold another OAuth tutorial, namely on *Wednesday, =
starting at 19:30 (after the IETF Operations and Administration Plenary) =
till about 21:00. (Note: I had to switch the day because of the social =
event!)

It is helpful to read through the documents available int he working =
group but not required.

Up-to-date information can be found here: =
http://www.ietf.org/registration/MeetingWiki/wiki/79bofs

Ciao
Hannes

From torsten@lodderstedt.net  Sun Nov  7 15:04:07 2010
Return-Path: <torsten@lodderstedt.net>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A981F28C11F; Sun,  7 Nov 2010 15:04:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jwtw++ocQDAp; Sun,  7 Nov 2010 15:04:06 -0800 (PST)
Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.31.24]) by core3.amsl.com (Postfix) with ESMTP id 89E1A3A6919; Sun,  7 Nov 2010 15:04:06 -0800 (PST)
Received: from [79.253.37.94] (helo=[192.168.71.43]) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <torsten@lodderstedt.net>) id 1PFEHg-0007pK-9T; Mon, 08 Nov 2010 00:04:24 +0100
Message-ID: <4CD73075.8050408@lodderstedt.net>
Date: Mon, 08 Nov 2010 00:04:21 +0100
From: Torsten Lodderstedt <torsten@lodderstedt.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net>
In-Reply-To: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Df-Sender: torsten@lodderstedt-online.de
X-Mailman-Approved-At: Sun, 07 Nov 2010 17:08:15 -0800
Cc: abfab@ietf.org, rai@ietf.org, ietf@ietf.org, secdir@ietf.org, websec@ietf.org, xmpp@ietf.org, kitten@ietf.org, "iab@iab.org Board" <iab@iab.org>, iesg@ietf.org, Mark Mcgloin <mark.mcgloin@ie.ibm.com>, oauth@ietf.org
Subject: Re: [kitten] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 07 Nov 2010 23:04:07 -0000

Hi all,

Mark McGloin and me have been working on OAuth 2.0 security 
considerations for a couple of weeks now. Since we both cannot attend 
the IETF-79 meetings, we would like to provide the WG with information 
regarding the current status of our work. I therefore uploaded a 
_preliminary_ version of our working document to the WG's wiki at 
http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf. 
The focus of this version was on consolidating previous work as well as 
results of mailing list discussions and start working towards a rigorous 
threat model.

Please give us feedback.

regards,
Torsten.

Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
> Hi all,
>
> please consider attending the following two meetings!
>
> ** OAuth Security Session **
>
> 	• Date: Monday, 13:00-15:00
> 	• Location: IAB breakout room (Jade 2)
> 	• Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
> The security consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we would like to put some time aside to discuss what security threats, requirements, and countermeasures need to be described. We will use the Monday, November 8, 1300-1500 slot to have a  discussion session.
>
> As a starting point I suggest to look at the following documents:
>
> 	• http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
> 	• http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
> 	• http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.txt
>
> Note: If you are unfamiliar with OAuth then the OAuth tutorial session might be more suitable for you!
>
>
>
> ** OAuth Tutorial **
>
> 	• Date: Wednesday, 19:30 (after the plenary)
> 	• Location: IAB breakout room (Jade 2)
> 	• Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
> OAuth allows a user to grant a third-party Web site or application access to their resources, without necessarily revealing their credentials, or even their identity. The OAuth working group, see http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to finalize their main specification, namely OAuth v2: http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>
> Based on the positive response at the last IETF meeting (in Maastricht) we decided to hold another OAuth tutorial, namely on *Wednesday, starting at 19:30 (after the IETF Operations and Administration Plenary) till about 21:00. (Note: I had to switch the day because of the social event!)
>
> It is helpful to read through the documents available int he working group but not required.
>
> Up-to-date information can be found here: http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>
> Ciao
> Hannes
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


From mrex@sap.com  Mon Nov  8 05:45:05 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F7A03A67AE; Mon,  8 Nov 2010 05:45:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.199
X-Spam-Level: 
X-Spam-Status: No, score=-10.199 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kve2upFSf3QZ; Mon,  8 Nov 2010 05:45:04 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id DB2ED3A67AD; Mon,  8 Nov 2010 05:45:00 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oA8DjHcw004391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 8 Nov 2010 14:45:17 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011081345.oA8DjFTg013524@fs4113.wdf.sap.corp>
To: mike-list@pobox.com (Michael D'Errico)
Date: Mon, 8 Nov 2010 14:45:15 +0100 (MET)
In-Reply-To: <4CD59EAF.6040905@pobox.com> from "Michael D'Errico" at Nov 6, 10 11:30:07 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal04
X-SAP: out
Cc: kitten@ietf.org, simon@josefsson.org, Simon@core3.amsl.com, tls@ietf.org, marsh@extendedsubset.com
Subject: Re: [kitten] [TLS]  RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 08 Nov 2010 13:45:05 -0000

Michael D'Errico wrote:
> 
> Martin Rex wrote:
> >
> > rfc5929 clearly says "Finished struct", which differs from the
> > verify_data as used by rfc5246 (TLS extension RI) in that
> > it WILL include the length field of the verify_data opaque vector.
>
> A Finished message does not have a length byte, even in TLS 1.2.  Square
> brackets in the definition mean the data is a fixed size.  TLS 1.2 does
> allow a cipher suite to change the size of the verify_data to something
> other than 12, but that does not mean a length byte is included in the
> Finished message.  Angle brackets would have been used in the definition
> if that were the case.

*Blush*.

OK, thanks for the guidance.

-Martin

From tonynad@microsoft.com  Mon Nov  8 17:54:36 2010
Return-Path: <tonynad@microsoft.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A861C3A68FA; Mon,  8 Nov 2010 17:54:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2a7xn1iLpb31; Mon,  8 Nov 2010 17:54:35 -0800 (PST)
Received: from smtp.microsoft.com (mailc.microsoft.com [131.107.115.214]) by core3.amsl.com (Postfix) with ESMTP id A8A9A3A6898; Mon,  8 Nov 2010 17:54:35 -0800 (PST)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 8 Nov 2010 17:54:58 -0800
Received: from TK5EX14MBXC113.redmond.corp.microsoft.com ([169.254.6.199]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.01.0255.003; Mon, 8 Nov 2010 17:54:58 -0800
From: Anthony Nadalin <tonynad@microsoft.com>
To: Torsten Lodderstedt <torsten@lodderstedt.net>, Hannes Tschofenig <hannes.tschofenig@gmx.net>
Thread-Topic: [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
Thread-Index: AQHLfisaqAne5bBEGEGUAfaUzHbBGZNnKf+AgAE438A=
Date: Tue, 9 Nov 2010 01:54:57 +0000
Message-ID: <180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net> <4CD73075.8050408@lodderstedt.net>
In-Reply-To: <4CD73075.8050408@lodderstedt.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.123.12]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Mon, 08 Nov 2010 17:57:49 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [kitten] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 09 Nov 2010 01:54:36 -0000

I was looking for less of an analysis and more of considerations (of the cu=
rrent flows and actors), I'm not sure how to adapt what you have done to ac=
tually fit in the current specification, was your thought that you would pr=
oduce a separate security analysis document?

-----Original Message-----
From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of T=
orsten Lodderstedt
Sent: Sunday, November 07, 2010 3:04 PM
To: Hannes Tschofenig
Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org; websec@ie=
tf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board; iesg@ietf.org; o=
auth@ietf.org
Subject: Re: [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **

Hi all,

Mark McGloin and me have been working on OAuth 2.0 security considerations =
for a couple of weeks now. Since we both cannot attend the IETF-79 meetings=
, we would like to provide the WG with information regarding the current st=
atus of our work. I therefore uploaded a _preliminary_ version of our worki=
ng document to the WG's wiki at http://trac.tools.ietf.org/wg/oauth/trac/at=
tachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf.=20
The focus of this version was on consolidating previous work as well as res=
ults of mailing list discussions and start working towards a rigorous threa=
t model.

Please give us feedback.

regards,
Torsten.

Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
> Hi all,
>
> please consider attending the following two meetings!
>
> ** OAuth Security Session **
>
> 	* Date: Monday, 13:00-15:00
> 	* Location: IAB breakout room (Jade 2)
> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The security=20
> consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we =
would like to put some time aside to discuss what security threats, require=
ments, and countermeasures need to be described. We will use the Monday, No=
vember 8, 1300-1500 slot to have a  discussion session.
>
> As a starting point I suggest to look at the following documents:
>
> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
> 	*=20
> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
> txt
>
> Note: If you are unfamiliar with OAuth then the OAuth tutorial session mi=
ght be more suitable for you!
>
>
>
> ** OAuth Tutorial **
>
> 	* Date: Wednesday, 19:30 (after the plenary)
> 	* Location: IAB breakout room (Jade 2)
> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth allows a=20
> user to grant a third-party Web site or application access to their=20
> resources, without necessarily revealing their credentials, or even=20
> their identity. The OAuth working group, see=20
> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to=20
> finalize their main specification, namely OAuth v2:=20
> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>
> Based on the positive response at the last IETF meeting (in=20
> Maastricht) we decided to hold another OAuth tutorial, namely on=20
> *Wednesday, starting at 19:30 (after the IETF Operations and=20
> Administration Plenary) till about 21:00. (Note: I had to switch the=20
> day because of the social event!)
>
> It is helpful to read through the documents available int he working grou=
p but not required.
>
> Up-to-date information can be found here:=20
> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>
> Ciao
> Hannes
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth


From SRS0=si2S7B=SK=lodderstedt.net=torsten@srs.bis.eu.blackberry.com  Tue Nov  9 00:07:39 2010
Return-Path: <SRS0=si2S7B=SK=lodderstedt.net=torsten@srs.bis.eu.blackberry.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 66F0E3A6890; Tue,  9 Nov 2010 00:07:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.846
X-Spam-Level: 
X-Spam-Status: No, score=-4.846 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_BASE64_TEXT=1.753, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wlATxjM3OeG8; Tue,  9 Nov 2010 00:07:38 -0800 (PST)
Received: from smtp06.bis.eu.blackberry.com (smtp06.bis.eu.blackberry.com [216.9.253.29]) by core3.amsl.com (Postfix) with ESMTP id 73A5C3A688E; Tue,  9 Nov 2010 00:07:36 -0800 (PST)
Received: from bda2319.bisx.produk.on.blackberry (bda2319.bisx.produk.on.blackberry [172.24.204.122]) by srs.bis.eu.blackberry.com (8.13.7 TEAMON/8.13.7) with ESMTP id oA987xRm004407; Tue, 9 Nov 2010 08:07:59 GMT
Received: from bda2319.bisx.produk.on.blackberry (localhost.localdomain [127.0.0.1]) by bda2319.bisx.produk.on.blackberry (8.13.7 TEAMON/8.13.7) with ESMTP id oA987vRo016870; Tue, 9 Nov 2010 08:07:57 GMT
X-rim-org-msg-ref-id: 1893623701
Message-ID: <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
Content-Transfer-Encoding: base64
X-Priority: Normal
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com>
In-Reply-To: <180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com>
Sensitivity: Normal
Importance: Normal
To: "Anthony Nadalin" <tonynad@microsoft.com>, "Tschofenig, Hannes" <Hannes.Tschofenig@gmx.net>
From: torsten@lodderstedt.net
Date: Tue, 9 Nov 2010 08:07:56 +0000
Content-Type: text/plain; charset="Windows-1252"
MIME-Version: 1.0
X-Mailman-Approved-At: Tue, 09 Nov 2010 00:13:36 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [kitten] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: torsten@lodderstedt.net
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 09 Nov 2010 08:11:47 -0000

V2UgdGhpbmsgdGhlIHNlY3VyaXR5IGNvbnNpZGVyYXRpb25zIHNob3VsZCBiZSBiYXNlZCBvbiBh
IHRocmVhdCBtb2RlbCBvZiBPQXV0aC4gQnV0IGEgY29tcGxldGUgdGhyZWF0IG1vZGVsIHdvdWxk
IGJsb3cgdXAgdGhlIHNwZWMuDQoNCldlIHRoZXJlZm9yZSBhaW0gdG8gcHJvZHVjZSBhIHNlcGFy
YXRlIHNlY3VyaXR5IGRvY3VtZW50IChpbmZvcm1hdGlvbmFsIEktRC9SRkMpIGNvdmVyaW5nIHRo
cmVhdCBtb2RlbCBhcyB3ZWxsIGFzIHNlY3VyaXR5IGRlc2lnbiBhbmQgY29uc2lkZXJhdGlvbnMu
IFRoZSBzZWN1cml0eSBjb25zaWRlcmF0aW9ucyBzZWN0aW9uIG9mIHRoZSBjb3JlIHNwZWMgY2Fu
IHRoZW4gYmUgZGlzdGlsbGVkIGZyb20gdGhpcyBkb2N1bWVudC4NCg0KUmVnYXJkcywNClRvcnN0
ZW4uDQpHZXNlbmRldCBtaXQgQmxhY2tCZXJyea4gV2VibWFpbCB2b24gVGVsZWtvbSBEZXV0c2No
bGFuZCAgDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBBbnRob255IE5hZGFs
aW4gPHRvbnluYWRAbWljcm9zb2Z0LmNvbT4NCkRhdGU6IFR1ZSwgOSBOb3YgMjAxMCAwMTo1NDo1
NyANClRvOiBUb3JzdGVuIExvZGRlcnN0ZWR0PHRvcnN0ZW5AbG9kZGVyc3RlZHQubmV0PjsgSGFu
bmVzIFRzY2hvZmVuaWc8aGFubmVzLnRzY2hvZmVuaWdAZ214Lm5ldD4NCkNjOiBhYmZhYkBpZXRm
Lm9yZzxhYmZhYkBpZXRmLm9yZz47IHJhaUBpZXRmLm9yZzxyYWlAaWV0Zi5vcmc+OyBpZXRmQGll
dGYub3JnPGlldGZAaWV0Zi5vcmc+OyBzZWNkaXJAaWV0Zi5vcmc8c2VjZGlyQGlldGYub3JnPjsg
d2Vic2VjQGlldGYub3JnPHdlYnNlY0BpZXRmLm9yZz47IHhtcHBAaWV0Zi5vcmc8eG1wcEBpZXRm
Lm9yZz47IGtpdHRlbkBpZXRmLm9yZzxraXR0ZW5AaWV0Zi5vcmc+OyBpYWJAaWFiLm9yZyBCb2Fy
ZDxpYWJAaWFiLm9yZz47IGllc2dAaWV0Zi5vcmc8aWVzZ0BpZXRmLm9yZz47IG9hdXRoQGlldGYu
b3JnPG9hdXRoQGlldGYub3JnPg0KU3ViamVjdDogUkU6IFtPQVVUSC1XR10gKiogT0F1dGggVHV0
b3JpYWwgJiBPQXV0aCBTZWN1cml0eSBTZXNzaW9uICoqDQoNCkkgd2FzIGxvb2tpbmcgZm9yIGxl
c3Mgb2YgYW4gYW5hbHlzaXMgYW5kIG1vcmUgb2YgY29uc2lkZXJhdGlvbnMgKG9mIHRoZSBjdXJy
ZW50IGZsb3dzIGFuZCBhY3RvcnMpLCBJJ20gbm90IHN1cmUgaG93IHRvIGFkYXB0IHdoYXQgeW91
IGhhdmUgZG9uZSB0byBhY3R1YWxseSBmaXQgaW4gdGhlIGN1cnJlbnQgc3BlY2lmaWNhdGlvbiwg
d2FzIHlvdXIgdGhvdWdodCB0aGF0IHlvdSB3b3VsZCBwcm9kdWNlIGEgc2VwYXJhdGUgc2VjdXJp
dHkgYW5hbHlzaXMgZG9jdW1lbnQ/DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9t
OiBvYXV0aC1ib3VuY2VzQGlldGYub3JnIFttYWlsdG86b2F1dGgtYm91bmNlc0BpZXRmLm9yZ10g
T24gQmVoYWxmIE9mIFRvcnN0ZW4gTG9kZGVyc3RlZHQNClNlbnQ6IFN1bmRheSwgTm92ZW1iZXIg
MDcsIDIwMTAgMzowNCBQTQ0KVG86IEhhbm5lcyBUc2Nob2ZlbmlnDQpDYzogYWJmYWJAaWV0Zi5v
cmc7IHJhaUBpZXRmLm9yZzsgaWV0ZkBpZXRmLm9yZzsgc2VjZGlyQGlldGYub3JnOyB3ZWJzZWNA
aWV0Zi5vcmc7IHhtcHBAaWV0Zi5vcmc7IGtpdHRlbkBpZXRmLm9yZzsgaWFiQGlhYi5vcmcgQm9h
cmQ7IGllc2dAaWV0Zi5vcmc7IG9hdXRoQGlldGYub3JnDQpTdWJqZWN0OiBSZTogW09BVVRILVdH
XSAqKiBPQXV0aCBUdXRvcmlhbCAmIE9BdXRoIFNlY3VyaXR5IFNlc3Npb24gKioNCg0KSGkgYWxs
LA0KDQpNYXJrIE1jR2xvaW4gYW5kIG1lIGhhdmUgYmVlbiB3b3JraW5nIG9uIE9BdXRoIDIuMCBz
ZWN1cml0eSBjb25zaWRlcmF0aW9ucyBmb3IgYSBjb3VwbGUgb2Ygd2Vla3Mgbm93LiBTaW5jZSB3
ZSBib3RoIGNhbm5vdCBhdHRlbmQgdGhlIElFVEYtNzkgbWVldGluZ3MsIHdlIHdvdWxkIGxpa2Ug
dG8gcHJvdmlkZSB0aGUgV0cgd2l0aCBpbmZvcm1hdGlvbiByZWdhcmRpbmcgdGhlIGN1cnJlbnQg
c3RhdHVzIG9mIG91ciB3b3JrLiBJIHRoZXJlZm9yZSB1cGxvYWRlZCBhX3ByZWxpbWluYXJ5XyB2
ZXJzaW9uIG9mIG91ciB3b3JraW5nIGRvY3VtZW50IHRvIHRoZSBXRydzIHdpa2kgYXQgaHR0cDov
L3RyYWMudG9vbHMuaWV0Zi5vcmcvd2cvb2F1dGgvdHJhYy9hdHRhY2htZW50L3dpa2kvU2VjdXJp
dHlDb25zaWRlcmF0aW9ucy9vYXV0aDIwX3NlY2NvbnNfMjAxMDExMDcucGRmLiANClRoZSBmb2N1
cyBvZiB0aGlzIHZlcnNpb24gd2FzIG9uIGNvbnNvbGlkYXRpbmcgcHJldmlvdXMgd29yayBhcyB3
ZWxsIGFzIHJlc3VsdHMgb2YgbWFpbGluZyBsaXN0IGRpc2N1c3Npb25zIGFuZCBzdGFydCB3b3Jr
aW5nIHRvd2FyZHMgYSByaWdvcm91cyB0aHJlYXQgbW9kZWwuDQoNClBsZWFzZSBnaXZlIHVzIGZl
ZWRiYWNrLg0KDQpyZWdhcmRzLA0KVG9yc3Rlbi4NCg0KQW0gMDcuMTEuMjAxMCAwMzoyMiwgc2No
cmllYiBIYW5uZXMgVHNjaG9mZW5pZzoNCj4gSGkgYWxsLA0KPg0KPiBwbGVhc2UgY29uc2lkZXIg
YXR0ZW5kaW5nIHRoZSBmb2xsb3dpbmcgdHdvIG1lZXRpbmdzIQ0KPg0KPiAqKiBPQXV0aCBTZWN1
cml0eSBTZXNzaW9uICoqDQo+DQo+IAkqIERhdGU6IE1vbmRheSwgMTM6MDAtMTU6MDANCj4gCSog
TG9jYXRpb246IElBQiBicmVha291dCByb29tIChKYWRlIDIpDQo+IAkqIENvbnRhY3Q6IEhhbm5l
cyBUc2Nob2ZlbmlnIGhhbm5lcy50c2Nob2ZlbmlnQGdteC5uZXQgVGhlIHNlY3VyaXR5IA0KPiBj
b25zaWRlcmF0aW9uIHNlY3Rpb24gb2YgT0F1dGggMi4wIChkcmFmdCAtMTApIGlzIHN0aWxsIGVt
cHR5LiBIZW5jZSwgd2Ugd291bGQgbGlrZSB0byBwdXQgc29tZSB0aW1lIGFzaWRlIHRvIGRpc2N1
c3Mgd2hhdCBzZWN1cml0eSB0aHJlYXRzLCByZXF1aXJlbWVudHMsIGFuZCBjb3VudGVybWVhc3Vy
ZXMgbmVlZCB0byBiZSBkZXNjcmliZWQuIFdlIHdpbGwgdXNlIHRoZSBNb25kYXksIE5vdmVtYmVy
IDgsIDEzMDAtMTUwMCBzbG90IHRvIGhhdmUgYSAgZGlzY3Vzc2lvbiBzZXNzaW9uLg0KPg0KPiBB
cyBhIHN0YXJ0aW5nIHBvaW50IEkgc3VnZ2VzdCB0byBsb29rIGF0IHRoZSBmb2xsb3dpbmcgZG9j
dW1lbnRzOg0KPg0KPiAJKiBodHRwOi8vdHJhYy50b29scy5pZXRmLm9yZy93Zy9vYXV0aC90cmFj
L3dpa2kvU2VjdXJpdHlDb25zaWRlcmF0aW9ucw0KPiAJKiBodHRwOi8vdHJhYy50b29scy5pZXRm
Lm9yZy93Zy9vYXV0aC90cmFjL3dpa2kvU2lnbmF0dXJlc1doeQ0KPiAJKiANCj4gaHR0cDovL3Rv
b2xzLmlldGYub3JnL2lkL2RyYWZ0LXRzY2hvZmVuaWctb2F1dGgtc2lnbmF0dXJlLXRob3VnaHRz
LTAwLg0KPiB0eHQNCj4NCj4gTm90ZTogSWYgeW91IGFyZSB1bmZhbWlsaWFyIHdpdGggT0F1dGgg
dGhlbiB0aGUgT0F1dGggdHV0b3JpYWwgc2Vzc2lvbiBtaWdodCBiZSBtb3JlIHN1aXRhYmxlIGZv
ciB5b3UhDQo+DQo+DQo+DQo+ICoqIE9BdXRoIFR1dG9yaWFsICoqDQo+DQo+IAkqIERhdGU6IFdl
ZG5lc2RheSwgMTk6MzAgKGFmdGVyIHRoZSBwbGVuYXJ5KQ0KPiAJKiBMb2NhdGlvbjogSUFCIGJy
ZWFrb3V0IHJvb20gKEphZGUgMikNCj4gCSogQ29udGFjdDogSGFubmVzIFRzY2hvZmVuaWcgaGFu
bmVzLnRzY2hvZmVuaWdAZ214Lm5ldCBPQXV0aCBhbGxvd3MgYSANCj4gdXNlciB0byBncmFudCBh
IHRoaXJkLXBhcnR5IFdlYiBzaXRlIG9yIGFwcGxpY2F0aW9uIGFjY2VzcyB0byB0aGVpciANCj4g
cmVzb3VyY2VzLCB3aXRob3V0IG5lY2Vzc2FyaWx5IHJldmVhbGluZyB0aGVpciBjcmVkZW50aWFs
cywgb3IgZXZlbiANCj4gdGhlaXIgaWRlbnRpdHkuIFRoZSBPQXV0aCB3b3JraW5nIGdyb3VwLCBz
ZWUgDQo+IGh0dHA6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy93Zy9vYXV0aC9jaGFydGVyLywgaXMg
Y3VycmVudGx5IHRyeWluZyB0byANCj4gZmluYWxpemUgdGhlaXIgbWFpbiBzcGVjaWZpY2F0aW9u
LCBuYW1lbHkgT0F1dGggdjI6IA0KPiBodHRwOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2Ry
YWZ0LWlldGYtb2F1dGgtdjIvDQo+DQo+IEJhc2VkIG9uIHRoZSBwb3NpdGl2ZSByZXNwb25zZSBh
dCB0aGUgbGFzdCBJRVRGIG1lZXRpbmcgKGluIA0KPiBNYWFzdHJpY2h0KSB3ZSBkZWNpZGVkIHRv
IGhvbGQgYW5vdGhlciBPQXV0aCB0dXRvcmlhbCwgbmFtZWx5IG9uIA0KPiAqV2VkbmVzZGF5LCBz
dGFydGluZyBhdCAxOTozMCAoYWZ0ZXIgdGhlIElFVEYgT3BlcmF0aW9ucyBhbmQgDQo+IEFkbWlu
aXN0cmF0aW9uIFBsZW5hcnkpIHRpbGwgYWJvdXQgMjE6MDAuIChOb3RlOiBJIGhhZCB0byBzd2l0
Y2ggdGhlIA0KPiBkYXkgYmVjYXVzZSBvZiB0aGUgc29jaWFsIGV2ZW50ISkNCj4NCj4gSXQgaXMg
aGVscGZ1bCB0byByZWFkIHRocm91Z2ggdGhlIGRvY3VtZW50cyBhdmFpbGFibGUgaW50IGhlIHdv
cmtpbmcgZ3JvdXAgYnV0IG5vdCByZXF1aXJlZC4NCj4NCj4gVXAtdG8tZGF0ZSBpbmZvcm1hdGlv
biBjYW4gYmUgZm91bmQgaGVyZTogDQo+IGh0dHA6Ly93d3cuaWV0Zi5vcmcvcmVnaXN0cmF0aW9u
L01lZXRpbmdXaWtpL3dpa2kvNzlib2ZzDQo+DQo+IENpYW8NCj4gSGFubmVzDQo+DQo+X19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCj4gT0F1dGggbWFpbGlu
ZyBsaXN0DQo+IE9BdXRoQGlldGYub3JnDQo+IGh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4v
bGlzdGluZm8vb2F1dGgNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18NCk9BdXRoIG1haWxpbmcgbGlzdA0KT0F1dGhAaWV0Zi5vcmcNCmh0dHBzOi8vd3d3
LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vb2F1dGgNCg0K


From rbarnes@bbn.com  Tue Nov  9 00:53:26 2010
Return-Path: <rbarnes@bbn.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 35BCA28C170; Tue,  9 Nov 2010 00:53:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.617
X-Spam-Level: 
X-Spam-Status: No, score=-102.617 tagged_above=-999 required=5 tests=[AWL=-0.018, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u1-hw6kBQHuj; Tue,  9 Nov 2010 00:53:25 -0800 (PST)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) by core3.amsl.com (Postfix) with ESMTP id DDB223A69D8; Tue,  9 Nov 2010 00:53:24 -0800 (PST)
Received: from [128.89.253.252] (port=54397 helo=richards-MacBook-Pro.local) by smtp.bbn.com with esmtps (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1PFjxa-000OfY-Ep; Tue, 09 Nov 2010 03:53:47 -0500
Message-ID: <4CD90C14.2060803@bbn.com>
Date: Tue, 09 Nov 2010 16:53:40 +0800
From: "Richard L. Barnes" <rbarnes@bbn.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: torsten@lodderstedt.net
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
In-Reply-To: <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Tue, 09 Nov 2010 01:10:01 -0800
Cc: Anthony Nadalin <tonynad@microsoft.com>, "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "Tschofenig, Hannes" <Hannes.Tschofenig@gmx.net>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [kitten] [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 09 Nov 2010 08:53:26 -0000

I would say that the security considerations should be based on a model 
of OAuth.  Start with a model of the protocol and the guarantees you 
want, then explain how to use security mechanisms to achieve those 
guarantees.

I promised Hannes today to do a review of the current document (which I 
admit I haven't read) and start on some security considerations from 
that perspective.  So expect that in the next few weeks.

--Richard




On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
> We think the security considerations should be based on a threat model of OAuth. But a complete threat model would blow up the spec.
>
> We therefore aim to produce a separate security document (informational I-D/RFC) covering threat model as well as security design and considerations. The security considerations section of the core spec can then be distilled from this document.
>
> Regards,
> Torsten.
> Gesendet mit BlackBerry® Webmail von Telekom Deutschland
>
> -----Original Message-----
> From: Anthony Nadalin<tonynad@microsoft.com>
> Date: Tue, 9 Nov 2010 01:54:57
> To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes Tschofenig<hannes.tschofenig@gmx.net>
> Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>; ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>; websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>; kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>; iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
> Subject: RE: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> I was looking for less of an analysis and more of considerations (of the current flows and actors), I'm not sure how to adapt what you have done to actually fit in the current specification, was your thought that you would produce a separate security analysis document?
>
> -----Original Message-----
> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of Torsten Lodderstedt
> Sent: Sunday, November 07, 2010 3:04 PM
> To: Hannes Tschofenig
> Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org; websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board; iesg@ietf.org; oauth@ietf.org
> Subject: Re: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> Hi all,
>
> Mark McGloin and me have been working on OAuth 2.0 security considerations for a couple of weeks now. Since we both cannot attend the IETF-79 meetings, we would like to provide the WG with information regarding the current status of our work. I therefore uploaded a_preliminary_ version of our working document to the WG's wiki at http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf.
> The focus of this version was on consolidating previous work as well as results of mailing list discussions and start working towards a rigorous threat model.
>
> Please give us feedback.
>
> regards,
> Torsten.
>
> Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
>> Hi all,
>>
>> please consider attending the following two meetings!
>>
>> ** OAuth Security Session **
>>
>> 	* Date: Monday, 13:00-15:00
>> 	* Location: IAB breakout room (Jade 2)
>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The security
>> consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we would like to put some time aside to discuss what security threats, requirements, and countermeasures need to be described. We will use the Monday, November 8, 1300-1500 slot to have a  discussion session.
>>
>> As a starting point I suggest to look at the following documents:
>>
>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
>> 	*
>> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
>> txt
>>
>> Note: If you are unfamiliar with OAuth then the OAuth tutorial session might be more suitable for you!
>>
>>
>>
>> ** OAuth Tutorial **
>>
>> 	* Date: Wednesday, 19:30 (after the plenary)
>> 	* Location: IAB breakout room (Jade 2)
>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth allows a
>> user to grant a third-party Web site or application access to their
>> resources, without necessarily revealing their credentials, or even
>> their identity. The OAuth working group, see
>> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to
>> finalize their main specification, namely OAuth v2:
>> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>>
>> Based on the positive response at the last IETF meeting (in
>> Maastricht) we decided to hold another OAuth tutorial, namely on
>> *Wednesday, starting at 19:30 (after the IETF Operations and
>> Administration Plenary) till about 21:00. (Note: I had to switch the
>> day because of the social event!)
>>
>> It is helpful to read through the documents available int he working group but not required.
>>
>> Up-to-date information can be found here:
>> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>>
>> Ciao
>> Hannes
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> secdir mailing list
> secdir@ietf.org
> https://www.ietf.org/mailman/listinfo/secdir

From simon@josefsson.org  Tue Nov  9 03:10:57 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4A6183A68DE; Tue,  9 Nov 2010 03:10:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GXvqhK3VcPvX; Tue,  9 Nov 2010 03:10:53 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id F378C3A6909; Tue,  9 Nov 2010 03:10:51 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA9BB6G4026254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 9 Nov 2010 12:11:08 +0100
From: Simon Josefsson <simon@josefsson.org>
To: mrex@sap.com
References: <4CD59EAF.6040905@pobox.com> <201011081345.oA8DjFTg013524@fs4113.wdf.sap.corp>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101109:simon@core3.amsl.com::uCJdtzH3h93dC2um:10Wx
X-Hashcash: 1:22:101109:mrex@sap.com::pU/rrPS1WjGxs4DI:2Z/e
X-Hashcash: 1:22:101109:mike-list@pobox.com::77wB7Mhg7xudZmOW:7XQE
X-Hashcash: 1:22:101109:tls@ietf.org::bzL5l+xrcnwmWwCj:RIN+
X-Hashcash: 1:22:101109:kitten@ietf.org::ChUXqs42TVIE1uxq:0McTx
Date: Tue, 09 Nov 2010 12:11:03 +0100
In-Reply-To: <201011081345.oA8DjFTg013524@fs4113.wdf.sap.corp> (Martin Rex's message of "Mon, 8 Nov 2010 14:45:15 +0100 (MET)")
Message-ID: <87hbfqn454.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.3 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org, Simon@core3.amsl.com, Michael D'Errico <mike-list@pobox.com>, tls@ietf.org
Subject: Re: [kitten] RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 09 Nov 2010 11:10:57 -0000

Martin Rex <mrex@sap.com> writes:

> Michael D'Errico wrote:
>> 
>> Martin Rex wrote:
>> >
>> > rfc5929 clearly says "Finished struct", which differs from the
>> > verify_data as used by rfc5246 (TLS extension RI) in that
>> > it WILL include the length field of the verify_data opaque vector.
>>
>> A Finished message does not have a length byte, even in TLS 1.2.  Square
>> brackets in the definition mean the data is a fixed size.  TLS 1.2 does
>> allow a cipher suite to change the size of the verify_data to something
>> other than 12, but that does not mean a length byte is included in the
>> Finished message.  Angle brackets would have been used in the definition
>> if that were the case.
>
> *Blush*.
>
> OK, thanks for the guidance.

Interop testing of the tls-unique CB would still be useful, I believe.
Is anyone interested in this?

/Simon

From dave@cridland.net  Tue Nov  9 03:22:05 2010
Return-Path: <dave@cridland.net>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 829903A6851; Tue,  9 Nov 2010 03:22:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level: 
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8epDj-THWX4J; Tue,  9 Nov 2010 03:22:03 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id A1E493A688F; Tue,  9 Nov 2010 03:22:02 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 9D5A711680F9; Tue,  9 Nov 2010 11:22:25 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kATws2mFDVYt; Tue,  9 Nov 2010 11:22:19 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 5E74611680CA; Tue,  9 Nov 2010 11:22:19 +0000 (GMT)
References: <4CD59EAF.6040905@pobox.com> <201011081345.oA8DjFTg013524@fs4113.wdf.sap.corp> <87hbfqn454.fsf@latte.josefsson.org>
In-Reply-To: <87hbfqn454.fsf@latte.josefsson.org>
MIME-Version: 1.0
Message-Id: <2850.1289301739.381983@puncture>
Date: Tue, 09 Nov 2010 11:22:19 +0000
From: Dave Cridland <dave@cridland.net>
To: Simon Josefsson <simon@josefsson.org>, Common Authentication Technologies - Next Generation <kitten@ietf.org>,  "Simon@core3.amsl.com" <Simon@core3.amsl.com>, Michael D'Errico <mike-list@pobox.com>, "tls@ietf.org" <tls@ietf.org>, Martin Rex <mrex@sap.com>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [kitten] RFC 5929 tls-unique clarification?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 09 Nov 2010 11:22:05 -0000

On Tue Nov  9 11:11:03 2010, Simon Josefsson wrote:
> Martin Rex <mrex@sap.com> writes:
> 
> > Michael D'Errico wrote:
> >>
> >> Martin Rex wrote:
> >> >
> >> > rfc5929 clearly says "Finished struct", which differs from the
> >> > verify_data as used by rfc5246 (TLS extension RI) in that
> >> > it WILL include the length field of the verify_data opaque  
> vector.
> >>
> >> A Finished message does not have a length byte, even in TLS 1.2.  
>  Square
> >> brackets in the definition mean the data is a fixed size.  TLS  
> 1.2 does
> >> allow a cipher suite to change the size of the verify_data to  
> something
> >> other than 12, but that does not mean a length byte is included  
> in the
> >> Finished message.  Angle brackets would have been used in the  
> definition
> >> if that were the case.
> >
> > *Blush*.
> >
> > OK, thanks for the guidance.
> 
> Interop testing of the tls-unique CB would still be useful, I  
> believe.
> Is anyone interested in this?

Yes, I've a client that should, in principle, do this.

If you run up a server running IMAP, SMTP, ACAP, or XMPP, I can talk  
those.

(I would warn I'm quite busy, so there's no point in rushing.)

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From mark.mcgloin@ie.ibm.com  Tue Nov  9 06:54:30 2010
Return-Path: <mark.mcgloin@ie.ibm.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CCC2C3A6A04; Tue,  9 Nov 2010 06:54:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kxy8MrZ8zQvp; Tue,  9 Nov 2010 06:54:29 -0800 (PST)
Received: from mtagate3.de.ibm.com (mtagate3.de.ibm.com [195.212.17.163]) by core3.amsl.com (Postfix) with ESMTP id 949B13A69BE; Tue,  9 Nov 2010 06:54:28 -0800 (PST)
Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate3.de.ibm.com (8.13.1/8.13.1) with ESMTP id oA9Esflx004036; Tue, 9 Nov 2010 14:54:41 GMT
Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oA9EsfKQ3305506; Tue, 9 Nov 2010 14:54:41 GMT
Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oA9EsfPh002056; Tue, 9 Nov 2010 07:54:41 -0700
Received: from d06ml093.portsmouth.uk.ibm.com (d06ml093.portsmouth.uk.ibm.com [9.149.104.171]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id oA9Esf4U002048; Tue, 9 Nov 2010 07:54:41 -0700
In-Reply-To: <4CD90C14.2060803@bbn.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry> <4CD90C14.2060803@bbn.com>
X-KeepSent: 7957FE3B:45025425-802577D6:004F9E8F; type=4; name=$KeepSent
To: "Richard L. Barnes" <rbarnes@bbn.com>
X-Mailer: Lotus Notes Release 8.5.1 September 28, 2009
Message-ID: <OF7957FE3B.45025425-ON802577D6.004F9E8F-802577D6.0051E8D0@ie.ibm.com>
From: Mark Mcgloin <mark.mcgloin@ie.ibm.com>
Date: Tue, 9 Nov 2010 14:54:06 +0000
X-MIMETrack: Serialize by Router on D06ML093/06/M/IBM(Release 8.0.2FP6|July 15, 2010) at 09/11/2010 14:54:07
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable
X-Mailman-Approved-At: Tue, 09 Nov 2010 07:11:25 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, torsten@lodderstedt.net, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "Tschofenig, Hannes" <Hannes.Tschofenig@gmx.net>, "oauth@ietf.org" <oauth@ietf.org>, oauth-bounces@ietf.org
Subject: Re: [kitten] [OAUTH-WG] [secdir] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 09 Nov 2010 14:54:31 -0000

When Torsten and I started pulling together the security considerations=

over the last 4-6 weeks, we toyed with the idea of either populating th=
e
security considerations section of the protocol with a list/tree of
considerations, or creating a more comprehensive document to ensure we
covered all aspects, list security features and which would also act as=
 a
security aid to developers implementing the oauth protocol. We decided =
on
the latter and agreed it could later be distilled down to something tha=
t
will fit into the security considerations section of the protocol.

Bear in mind the document needs tidying but we wanted to push something=
 in
before the security meeting in China

Regards
Mark McGloin

oauth-bounces@ietf.org wrote on 09/11/2010 08:53:40:

> "Richard L. Barnes" <rbarnes@bbn.com>
> Sent by: oauth-bounces@ietf.org
>
> 09/11/2010 08:53
>
> To
>
> torsten@lodderstedt.net
>
> cc
>
> "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>,
> "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org"
> <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>,
> "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org"
> <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>,
> "iesg@ietf.org" <iesg@ietf.org>, "Tschofenig, Hannes"
> <Hannes.Tschofenig@gmx.net>, "oauth@ietf.org" <oauth@ietf.org>
>
> Subject
>
> Re: [OAUTH-WG] [secdir] ** OAuth Tutorial & OAuth Security Session **=

>
> I would say that the security considerations should be based on a mod=
el
> of OAuth.  Start with a model of the protocol and the guarantees you
> want, then explain how to use security mechanisms to achieve those
> guarantees.
>
> I promised Hannes today to do a review of the current document (which=
 I
> admit I haven't read) and start on some security considerations from
> that perspective.  So expect that in the next few weeks.
>
> --Richard
>
>
>
>
> On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
> > We think the security considerations should be based on a threat
> model of OAuth. But a complete threat model would blow up the spec.
> >
> > We therefore aim to produce a separate security document
> (informational I-D/RFC) covering threat model as well as security
> design and considerations. The security considerations section of
> the core spec can then be distilled from this document.
> >
> > Regards,
> > Torsten.
> > Gesendet mit BlackBerry=AE Webmail von Telekom Deutschland
> >
> > -----Original Message-----
> > From: Anthony Nadalin<tonynad@microsoft.com>
> > Date: Tue, 9 Nov 2010 01:54:57
> > To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes
> Tschofenig<hannes.tschofenig@gmx.net>
> > Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>;
> ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>;
> websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>;
> kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>;
> iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
> > Subject: RE: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session =
**
> >
> > I was looking for less of an analysis and more of considerations
> (of the current flows and actors), I'm not sure how to adapt what
> you have done to actually fit in the current specification, was your
> thought that you would produce a separate security analysis document?=

> >
> > -----Original Message-----
> > From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On
> Behalf Of Torsten Lodderstedt
> > Sent: Sunday, November 07, 2010 3:04 PM
> > To: Hannes Tschofenig
> > Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org;
> websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board;
> iesg@ietf.org; oauth@ietf.org
> > Subject: Re: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session =
**
> >
> > Hi all,
> >
> > Mark McGloin and me have been working on OAuth 2.0 security
> considerations for a couple of weeks now. Since we both cannot
> attend the IETF-79 meetings, we would like to provide the WG with
> information regarding the current status of our work. I therefore
> uploaded a_preliminary_ version of our working document to the WG's w=
iki
at
> http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/
> SecurityConsiderations/oauth20_seccons_20101107.pdf.
> > The focus of this version was on consolidating previous work as
> well as results of mailing list discussions and start working
> towards a rigorous threat model.
> >
> > Please give us feedback.
> >
> > regards,
> > Torsten.
> >
> > Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
> >> Hi all,
> >>
> >> please consider attending the following two meetings!
> >>
> >> ** OAuth Security Session **
> >>
> >>    * Date: Monday, 13:00-15:00
> >>    * Location: IAB breakout room (Jade 2)
> >>    * Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The secu=
rity
> >> consideration section of OAuth 2.0 (draft -10) is still empty.
> Hence, we would like to put some time aside to discuss what security
> threats, requirements, and countermeasures need to be described. We
> will use the Monday, November 8, 1300-1500 slot to have a  discussion=

session.
> >>
> >> As a starting point I suggest to look at the following documents:
> >>
> >>    *
http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
> >>    * http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
> >>    *
> >> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts=
-00.
> >> txt
> >>
> >> Note: If you are unfamiliar with OAuth then the OAuth tutorial
> session might be more suitable for you!
> >>
> >>
> >>
> >> ** OAuth Tutorial **
> >>
> >>    * Date: Wednesday, 19:30 (after the plenary)
> >>    * Location: IAB breakout room (Jade 2)
> >>    * Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth al=
lows
a
> >> user to grant a third-party Web site or application access to thei=
r
> >> resources, without necessarily revealing their credentials, or eve=
n
> >> their identity. The OAuth working group, see
> >> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying=
 to
> >> finalize their main specification, namely OAuth v2:
> >> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
> >>
> >> Based on the positive response at the last IETF meeting (in
> >> Maastricht) we decided to hold another OAuth tutorial, namely on
> >> *Wednesday, starting at 19:30 (after the IETF Operations and
> >> Administration Plenary) till about 21:00. (Note: I had to switch t=
he
> >> day because of the social event!)
> >>
> >> It is helpful to read through the documents available int he
> working group but not required.
> >>
> >> Up-to-date information can be found here:
> >> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
> >>
> >> Ciao
> >> Hannes
> >>
> >> _______________________________________________
> >> OAuth mailing list
> >> OAuth@ietf.org
> >> https://www.ietf.org/mailman/listinfo/oauth
> >
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
> >
> > _______________________________________________
> > secdir mailing list
> > secdir@ietf.org
> > https://www.ietf.org/mailman/listinfo/secdir
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth=



From tonynad@microsoft.com  Tue Nov  9 22:03:34 2010
Return-Path: <tonynad@microsoft.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3F13E3A68C8; Tue,  9 Nov 2010 22:03:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ed2jPVsD-p8p; Tue,  9 Nov 2010 22:03:34 -0800 (PST)
Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by core3.amsl.com (Postfix) with ESMTP id 0EDF53A68C6; Tue,  9 Nov 2010 22:03:34 -0800 (PST)
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (157.54.86.9) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 9 Nov 2010 22:03:48 -0800
Received: from TK5EX14MBXC117.redmond.corp.microsoft.com ([169.254.8.138]) by TK5EX14HUBC103.redmond.corp.microsoft.com ([157.54.86.9]) with mapi id 14.01.0255.003; Tue, 9 Nov 2010 22:03:48 -0800
From: Anthony Nadalin <tonynad@microsoft.com>
To: "Richard L. Barnes" <rbarnes@bbn.com>, "torsten@lodderstedt.net" <torsten@lodderstedt.net>
Thread-Topic: [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
Thread-Index: AQHLf+vNz+Zyzs3OwkSCnvjMrh08w5NqOX4w
Date: Wed, 10 Nov 2010 06:03:47 +0000
Message-ID: <180155C5EA10854997314CA5E063D18FEE90B8@TK5EX14MBXC117.redmond.corp.microsoft.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry> <4CD90C14.2060803@bbn.com>
In-Reply-To: <4CD90C14.2060803@bbn.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.123.12]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Tue, 09 Nov 2010 22:06:22 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "Tschofenig, Hannes" <Hannes.Tschofenig@gmx.net>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [kitten] [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 10 Nov 2010 06:03:34 -0000
X-List-Received-Date: Wed, 10 Nov 2010 06:03:34 -0000

Issue here is that guarantees (and what you want as a guarantee may not be =
what somebody else wants) can vary depending on scenario and deployment.

-----Original Message-----
From: Richard L. Barnes [mailto:rbarnes@bbn.com]=20
Sent: Tuesday, November 09, 2010 12:54 AM
To: torsten@lodderstedt.net
Cc: Anthony Nadalin; Tschofenig, Hannes; abfab@ietf.org; rai@ietf.org; ietf=
@ietf.org; secdir@ietf.org; websec@ietf.org; xmpp@ietf.org; kitten@ietf.org=
; iab@iab.org Board; iesg@ietf.org; oauth@ietf.org
Subject: Re: [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session=
 **

I would say that the security considerations should be based on a model of =
OAuth.  Start with a model of the protocol and the guarantees you want, the=
n explain how to use security mechanisms to achieve those guarantees.

I promised Hannes today to do a review of the current document (which I adm=
it I haven't read) and start on some security considerations from that pers=
pective.  So expect that in the next few weeks.

--Richard




On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
> We think the security considerations should be based on a threat model of=
 OAuth. But a complete threat model would blow up the spec.
>
> We therefore aim to produce a separate security document (informational I=
-D/RFC) covering threat model as well as security design and considerations=
. The security considerations section of the core spec can then be distille=
d from this document.
>
> Regards,
> Torsten.
> Gesendet mit BlackBerry(r) Webmail von Telekom Deutschland
>
> -----Original Message-----
> From: Anthony Nadalin<tonynad@microsoft.com>
> Date: Tue, 9 Nov 2010 01:54:57
> To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes=20
> Tschofenig<hannes.tschofenig@gmx.net>
> Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>;=20
> ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>;=20
> websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>;=20
> kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>;=20
> iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
> Subject: RE: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> I was looking for less of an analysis and more of considerations (of the =
current flows and actors), I'm not sure how to adapt what you have done to =
actually fit in the current specification, was your thought that you would =
produce a separate security analysis document?
>
> -----Original Message-----
> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf=20
> Of Torsten Lodderstedt
> Sent: Sunday, November 07, 2010 3:04 PM
> To: Hannes Tschofenig
> Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org;=20
> websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board;=20
> iesg@ietf.org; oauth@ietf.org
> Subject: Re: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> Hi all,
>
> Mark McGloin and me have been working on OAuth 2.0 security consideration=
s for a couple of weeks now. Since we both cannot attend the IETF-79 meetin=
gs, we would like to provide the WG with information regarding the current =
status of our work. I therefore uploaded a_preliminary_ version of our work=
ing document to the WG's wiki at http://trac.tools.ietf.org/wg/oauth/trac/a=
ttachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf.
> The focus of this version was on consolidating previous work as well as r=
esults of mailing list discussions and start working towards a rigorous thr=
eat model.
>
> Please give us feedback.
>
> regards,
> Torsten.
>
> Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
>> Hi all,
>>
>> please consider attending the following two meetings!
>>
>> ** OAuth Security Session **
>>
>> 	* Date: Monday, 13:00-15:00
>> 	* Location: IAB breakout room (Jade 2)
>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The security=20
>> consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we=
 would like to put some time aside to discuss what security threats, requir=
ements, and countermeasures need to be described. We will use the Monday, N=
ovember 8, 1300-1500 slot to have a  discussion session.
>>
>> As a starting point I suggest to look at the following documents:
>>
>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
>> 	*
>> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
>> txt
>>
>> Note: If you are unfamiliar with OAuth then the OAuth tutorial session m=
ight be more suitable for you!
>>
>>
>>
>> ** OAuth Tutorial **
>>
>> 	* Date: Wednesday, 19:30 (after the plenary)
>> 	* Location: IAB breakout room (Jade 2)
>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth allows=20
>> a user to grant a third-party Web site or application access to their=20
>> resources, without necessarily revealing their credentials, or even=20
>> their identity. The OAuth working group, see=20
>> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to=20
>> finalize their main specification, namely OAuth v2:
>> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>>
>> Based on the positive response at the last IETF meeting (in
>> Maastricht) we decided to hold another OAuth tutorial, namely on=20
>> *Wednesday, starting at 19:30 (after the IETF Operations and=20
>> Administration Plenary) till about 21:00. (Note: I had to switch the=20
>> day because of the social event!)
>>
>> It is helpful to read through the documents available int he working gro=
up but not required.
>>
>> Up-to-date information can be found here:
>> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>>
>> Ciao
>> Hannes
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> secdir mailing list
> secdir@ietf.org
> https://www.ietf.org/mailman/listinfo/secdir


From rbarnes@bbn.com  Tue Nov  9 22:19:37 2010
Return-Path: <rbarnes@bbn.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2CE0C3A68D6; Tue,  9 Nov 2010 22:19:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.609
X-Spam-Level: 
X-Spam-Status: No, score=-102.609 tagged_above=-999 required=5 tests=[AWL=-0.010, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IZYj+e0Guafa; Tue,  9 Nov 2010 22:19:30 -0800 (PST)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) by core3.amsl.com (Postfix) with ESMTP id 3EB973A6895; Tue,  9 Nov 2010 22:19:30 -0800 (PST)
Received: from [128.89.254.59] (port=53402 helo=richards-MacBook-Pro.local) by smtp.bbn.com with esmtps (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1PG42E-000Emt-1U; Wed, 10 Nov 2010 01:19:54 -0500
Message-ID: <4CDA3983.7050101@bbn.com>
Date: Wed, 10 Nov 2010 14:19:47 +0800
From: "Richard L. Barnes" <rbarnes@bbn.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Anthony Nadalin <tonynad@microsoft.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry> <4CD90C14.2060803@bbn.com> <180155C5EA10854997314CA5E063D18FEE90B8@TK5EX14MBXC117.redmond.corp.microsoft.com>
In-Reply-To: <180155C5EA10854997314CA5E063D18FEE90B8@TK5EX14MBXC117.redmond.corp.microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 09 Nov 2010 22:22:51 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, "Tschofenig, Hannes" <Hannes.Tschofenig@gmx.net>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "torsten@lodderstedt.net" <torsten@lodderstedt.net>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [kitten] [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 10 Nov 2010 06:19:37 -0000

Of course not every scenario calls for all of the security knobs to be 
turned to 11.  Think of things instead in terms of syllogisms: "IF you 
want X guarantee, THEN you MUST do A, B, C."

Then you can also read the same things backwards in a given deployment 
scenario: "Given that I can't do B, I can't get assurances X, Y, but I 
can get Z (if I do D, F as well)".

I promise to produce something more concrete soon :)  In the meantime, 
this text illustrates what I mean pretty well:
<http://tools.ietf.org/html/draft-barnes-oauth-model-01#section-5>

--Richard


On 11/10/10 2:03 PM, Anthony Nadalin wrote:
> Issue here is that guarantees (and what you want as a guarantee may not be what somebody else wants) can vary depending on scenario and deployment.
>
> -----Original Message-----
> From: Richard L. Barnes [mailto:rbarnes@bbn.com]
> Sent: Tuesday, November 09, 2010 12:54 AM
> To: torsten@lodderstedt.net
> Cc: Anthony Nadalin; Tschofenig, Hannes; abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org; websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board; iesg@ietf.org; oauth@ietf.org
> Subject: Re: [secdir] [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> I would say that the security considerations should be based on a model of OAuth.  Start with a model of the protocol and the guarantees you want, then explain how to use security mechanisms to achieve those guarantees.
>
> I promised Hannes today to do a review of the current document (which I admit I haven't read) and start on some security considerations from that perspective.  So expect that in the next few weeks.
>
> --Richard
>
>
>
>
> On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
>> We think the security considerations should be based on a threat model of OAuth. But a complete threat model would blow up the spec.
>>
>> We therefore aim to produce a separate security document (informational I-D/RFC) covering threat model as well as security design and considerations. The security considerations section of the core spec can then be distilled from this document.
>>
>> Regards,
>> Torsten.
>> Gesendet mit BlackBerry(r) Webmail von Telekom Deutschland
>>
>> -----Original Message-----
>> From: Anthony Nadalin<tonynad@microsoft.com>
>> Date: Tue, 9 Nov 2010 01:54:57
>> To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes
>> Tschofenig<hannes.tschofenig@gmx.net>
>> Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>;
>> ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>;
>> websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>;
>> kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>;
>> iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
>> Subject: RE: [OAUTH-WG] ** OAuth Tutorial&   OAuth Security Session **
>>
>> I was looking for less of an analysis and more of considerations (of the current flows and actors), I'm not sure how to adapt what you have done to actually fit in the current specification, was your thought that you would produce a separate security analysis document?
>>
>> -----Original Message-----
>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
>> Of Torsten Lodderstedt
>> Sent: Sunday, November 07, 2010 3:04 PM
>> To: Hannes Tschofenig
>> Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org;
>> websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board;
>> iesg@ietf.org; oauth@ietf.org
>> Subject: Re: [OAUTH-WG] ** OAuth Tutorial&   OAuth Security Session **
>>
>> Hi all,
>>
>> Mark McGloin and me have been working on OAuth 2.0 security considerations for a couple of weeks now. Since we both cannot attend the IETF-79 meetings, we would like to provide the WG with information regarding the current status of our work. I therefore uploaded a_preliminary_ version of our working document to the WG's wiki at http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf.
>> The focus of this version was on consolidating previous work as well as results of mailing list discussions and start working towards a rigorous threat model.
>>
>> Please give us feedback.
>>
>> regards,
>> Torsten.
>>
>> Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
>>> Hi all,
>>>
>>> please consider attending the following two meetings!
>>>
>>> ** OAuth Security Session **
>>>
>>> 	* Date: Monday, 13:00-15:00
>>> 	* Location: IAB breakout room (Jade 2)
>>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The security
>>> consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we would like to put some time aside to discuss what security threats, requirements, and countermeasures need to be described. We will use the Monday, November 8, 1300-1500 slot to have a  discussion session.
>>>
>>> As a starting point I suggest to look at the following documents:
>>>
>>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
>>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
>>> 	*
>>> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
>>> txt
>>>
>>> Note: If you are unfamiliar with OAuth then the OAuth tutorial session might be more suitable for you!
>>>
>>>
>>>
>>> ** OAuth Tutorial **
>>>
>>> 	* Date: Wednesday, 19:30 (after the plenary)
>>> 	* Location: IAB breakout room (Jade 2)
>>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth allows
>>> a user to grant a third-party Web site or application access to their
>>> resources, without necessarily revealing their credentials, or even
>>> their identity. The OAuth working group, see
>>> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to
>>> finalize their main specification, namely OAuth v2:
>>> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>>>
>>> Based on the positive response at the last IETF meeting (in
>>> Maastricht) we decided to hold another OAuth tutorial, namely on
>>> *Wednesday, starting at 19:30 (after the IETF Operations and
>>> Administration Plenary) till about 21:00. (Note: I had to switch the
>>> day because of the social event!)
>>>
>>> It is helpful to read through the documents available int he working group but not required.
>>>
>>> Up-to-date information can be found here:
>>> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>>>
>>> Ciao
>>> Hannes
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>> _______________________________________________
>> secdir mailing list
>> secdir@ietf.org
>> https://www.ietf.org/mailman/listinfo/secdir
>

From igor.faynberg@alcatel-lucent.com  Tue Nov  9 22:57:56 2010
Return-Path: <igor.faynberg@alcatel-lucent.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 925393A69A3; Tue,  9 Nov 2010 22:57:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WHx5MIc21mga; Tue,  9 Nov 2010 22:57:54 -0800 (PST)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by core3.amsl.com (Postfix) with ESMTP id 1E1113A69A9; Tue,  9 Nov 2010 22:57:54 -0800 (PST)
Received: from umail.lucent.com (h135-3-40-63.lucent.com [135.3.40.63]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id oAA6aZcM011476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Nov 2010 00:36:35 -0600 (CST)
Received: from [135.244.80.3] (faynberg.lra.lucent.com [135.244.80.3]) by umail.lucent.com (8.13.8/TPES) with ESMTP id oAA6aUoF026012; Wed, 10 Nov 2010 00:36:31 -0600 (CST)
Message-ID: <4CDA3D73.10609@alcatel-lucent.com>
Date: Wed, 10 Nov 2010 01:36:35 -0500
From: Igor Faynberg <igor.faynberg@alcatel-lucent.com>
Organization: Alcatel-Lucent
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: "Richard L. Barnes" <rbarnes@bbn.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com>	<1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>	<4CD90C14.2060803@bbn.com>	<180155C5EA10854997314CA5E063D18FEE90B8@TK5EX14MBXC117.redmond.corp.microsoft.com> <4CDA3983.7050101@bbn.com>
In-Reply-To: <4CDA3983.7050101@bbn.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:02:45 -0800
Cc: Anthony Nadalin <tonynad@microsoft.com>, "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "Tschofenig, Hannes" <Hannes.Tschofenig@gmx.net>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [kitten] [OAUTH-WG] [secdir] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: igor.faynberg@alcatel-lucent.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 10 Nov 2010 06:57:56 -0000

(With apologies for bringing up a tangential matter...)

Talking about the OAuth model, I still see here "Client" instead of 
"Consumer."  I thought there was an agreement on the terminology 
change.  I have no specific preference for either term, but  I think it 
is essential that our terminology be consistent, especially now that 
other SDOs are considering adopting OAuth.

This is not necessarily a question for Richard, but could someone set me 
straight: Is it "Client" or "Consumer"? 

With thanks,

Igor

Richard L. Barnes wrote:
> Of course not every scenario calls for all of the security knobs to be 
> turned to 11.  Think of things instead in terms of syllogisms: "IF you 
> want X guarantee, THEN you MUST do A, B, C."
>
> Then you can also read the same things backwards in a given deployment 
> scenario: "Given that I can't do B, I can't get assurances X, Y, but I 
> can get Z (if I do D, F as well)".
>
> I promise to produce something more concrete soon :)  In the meantime, 
> this text illustrates what I mean pretty well:
> <http://tools.ietf.org/html/draft-barnes-oauth-model-01#section-5>
>
> --Richard
>
>
> On 11/10/10 2:03 PM, Anthony Nadalin wrote:
>> Issue here is that guarantees (and what you want as a guarantee may 
>> not be what somebody else wants) can vary depending on scenario and 
>> deployment.
>>
>> -----Original Message-----
>> From: Richard L. Barnes [mailto:rbarnes@bbn.com]
>> Sent: Tuesday, November 09, 2010 12:54 AM
>> To: torsten@lodderstedt.net
>> Cc: Anthony Nadalin; Tschofenig, Hannes; abfab@ietf.org; 
>> rai@ietf.org; ietf@ietf.org; secdir@ietf.org; websec@ietf.org; 
>> xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board; iesg@ietf.org; 
>> oauth@ietf.org
>> Subject: Re: [secdir] [OAUTH-WG] ** OAuth Tutorial&  OAuth Security 
>> Session **
>>
>> I would say that the security considerations should be based on a 
>> model of OAuth.  Start with a model of the protocol and the 
>> guarantees you want, then explain how to use security mechanisms to 
>> achieve those guarantees.
>>
>> I promised Hannes today to do a review of the current document (which 
>> I admit I haven't read) and start on some security considerations 
>> from that perspective.  So expect that in the next few weeks.
>>
>> --Richard
>>
>>
>>
>>
>> On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
>>> We think the security considerations should be based on a threat 
>>> model of OAuth. But a complete threat model would blow up the spec.
>>>
>>> We therefore aim to produce a separate security document 
>>> (informational I-D/RFC) covering threat model as well as security 
>>> design and considerations. The security considerations section of 
>>> the core spec can then be distilled from this document.
>>>
>>> Regards,
>>> Torsten.
>>> Gesendet mit BlackBerry(r) Webmail von Telekom Deutschland
>>>
>>> -----Original Message-----
>>> From: Anthony Nadalin<tonynad@microsoft.com>
>>> Date: Tue, 9 Nov 2010 01:54:57
>>> To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes
>>> Tschofenig<hannes.tschofenig@gmx.net>
>>> Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>;
>>> ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>;
>>> websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>;
>>> kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>;
>>> iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
>>> Subject: RE: [OAUTH-WG] ** OAuth Tutorial&   OAuth Security Session **
>>>
>>> I was looking for less of an analysis and more of considerations (of 
>>> the current flows and actors), I'm not sure how to adapt what you 
>>> have done to actually fit in the current specification, was your 
>>> thought that you would produce a separate security analysis document?
>>>
>>> -----Original Message-----
>>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
>>> Of Torsten Lodderstedt
>>> Sent: Sunday, November 07, 2010 3:04 PM
>>> To: Hannes Tschofenig
>>> Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org;
>>> websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board;
>>> iesg@ietf.org; oauth@ietf.org
>>> Subject: Re: [OAUTH-WG] ** OAuth Tutorial&   OAuth Security Session **
>>>
>>> Hi all,
>>>
>>> Mark McGloin and me have been working on OAuth 2.0 security 
>>> considerations for a couple of weeks now. Since we both cannot 
>>> attend the IETF-79 meetings, we would like to provide the WG with 
>>> information regarding the current status of our work. I therefore 
>>> uploaded a_preliminary_ version of our working document to the WG's 
>>> wiki at 
>>> http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf. 
>>>
>>> The focus of this version was on consolidating previous work as well 
>>> as results of mailing list discussions and start working towards a 
>>> rigorous threat model.
>>>
>>> Please give us feedback.
>>>
>>> regards,
>>> Torsten.
>>>
>>> Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
>>>> Hi all,
>>>>
>>>> please consider attending the following two meetings!
>>>>
>>>> ** OAuth Security Session **
>>>>
>>>>     * Date: Monday, 13:00-15:00
>>>>     * Location: IAB breakout room (Jade 2)
>>>>     * Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The 
>>>> security
>>>> consideration section of OAuth 2.0 (draft -10) is still empty. 
>>>> Hence, we would like to put some time aside to discuss what 
>>>> security threats, requirements, and countermeasures need to be 
>>>> described. We will use the Monday, November 8, 1300-1500 slot to 
>>>> have a  discussion session.
>>>>
>>>> As a starting point I suggest to look at the following documents:
>>>>
>>>>     * 
>>>> http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
>>>>     * http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
>>>>     *
>>>> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
>>>> txt
>>>>
>>>> Note: If you are unfamiliar with OAuth then the OAuth tutorial 
>>>> session might be more suitable for you!
>>>>
>>>>
>>>>
>>>> ** OAuth Tutorial **
>>>>
>>>>     * Date: Wednesday, 19:30 (after the plenary)
>>>>     * Location: IAB breakout room (Jade 2)
>>>>     * Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth 
>>>> allows
>>>> a user to grant a third-party Web site or application access to their
>>>> resources, without necessarily revealing their credentials, or even
>>>> their identity. The OAuth working group, see
>>>> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to
>>>> finalize their main specification, namely OAuth v2:
>>>> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>>>>
>>>> Based on the positive response at the last IETF meeting (in
>>>> Maastricht) we decided to hold another OAuth tutorial, namely on
>>>> *Wednesday, starting at 19:30 (after the IETF Operations and
>>>> Administration Plenary) till about 21:00. (Note: I had to switch the
>>>> day because of the social event!)
>>>>
>>>> It is helpful to read through the documents available int he 
>>>> working group but not required.
>>>>
>>>> Up-to-date information can be found here:
>>>> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>>>>
>>>> Ciao
>>>> Hannes
>>>>
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>>
>>> _______________________________________________
>>> secdir mailing list
>>> secdir@ietf.org
>>> https://www.ietf.org/mailman/listinfo/secdir
>>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

From Nicolas.Williams@oracle.com  Tue Nov  9 23:02:37 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BF19B3A6A17; Tue,  9 Nov 2010 23:02:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.476
X-Spam-Level: 
X-Spam-Status: No, score=-6.476 tagged_above=-999 required=5 tests=[AWL=0.122,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RQmB7Qzdzfxn; Tue,  9 Nov 2010 23:02:25 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 116863A68B5; Tue,  9 Nov 2010 23:02:00 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAA72ATX008484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 10 Nov 2010 07:02:11 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oA9HhiJO024108; Wed, 10 Nov 2010 07:02:09 GMT
Received: from abhmt001.oracle.com by acsmt354.oracle.com with ESMTP id 765322921289372442; Tue, 09 Nov 2010 23:00:42 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 09 Nov 2010 23:00:42 -0800
Date: Wed, 10 Nov 2010 01:00:37 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: torsten@lodderstedt.net
Message-ID: <20101110070037.GT6536@oracle.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net> <4CD73075.8050408@lodderstedt.net> <180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:05:39 -0800
Cc: Anthony Nadalin <tonynad@microsoft.com>, "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "Tschofenig, Hannes" <Hannes.Tschofenig@gmx.net>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [kitten] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: oauth@ietf.org
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 10 Nov 2010 07:02:37 -0000

[That is some cc list!  Do you really need a cc list that large for this
thread?  I've set the reply-to to just oauth@ietf.org (note: I'm NOT
subscribed to that list).  Please honor the reply-to header.  It's a
good idea to set reply-to when making announcements, so that replies
don't flood people who are almost certainly not interested.]

On Tue, Nov 09, 2010 at 08:07:56AM +0000, torsten@lodderstedt.net wrote:
> We think the security considerations should be based on a threat model
> of OAuth. But a complete threat model would blow up the spec.

Really?  I would think that a threat model for OAuth could be described
fairly briefly.  What is the typical value of resources protected by
OAuth?  What kinds of attackers (active, passive, ...) does OAuth aim to
defeat, and under what assumptions (end-points are secure, trusted third
parties are trustworthy, certain cryptographic algorithms are not broken
with parameters in certain ranges, smartcards are secure, ...)?  Which
kinds of attacks does OAuth explicitly not protect against (e.g., DoS)?
What resources do you expect attackers to apply to compromising
resources protected by OAuth?

A few pages should do for the threat model.  An abstract of the OAuth
threat model should also be possible to write.

> We therefore aim to produce a separate security document
> (informational I-D/RFC) covering threat model as well as security
> design and considerations. The security considerations section of the
> core spec can then be distilled from this document.

Sure.  Procedurally speaking, that works.

Nico
-- 

From hartmans@mit.edu  Thu Nov 11 03:24:34 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 14B0828C101 for <kitten@core3.amsl.com>; Thu, 11 Nov 2010 03:24:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.807
X-Spam-Level: 
X-Spam-Status: No, score=-102.807 tagged_above=-999 required=5 tests=[AWL=-0.542, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1hXNnEQB2dB9 for <kitten@core3.amsl.com>; Thu, 11 Nov 2010 03:24:30 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 4C17128C0ED for <kitten@ietf.org>; Thu, 11 Nov 2010 03:24:29 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (dhcp-2392.meeting.ietf.org [130.129.35.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 5DB2120289 for <kitten@ietf.org>; Thu, 11 Nov 2010 06:24:36 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 942534761; Thu, 11 Nov 2010 06:24:55 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: kitten@ietf.org
Date: Thu, 11 Nov 2010 06:24:55 -0500
Message-ID: <tsltyjoksqg.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 11 Nov 2010 11:24:35 -0000

Hi folks.  I think a couple people have read more into my comments
Tuesday than I intended to make.

As far as I know the OpenID and SAML mechanisms have the same security
model as the web.  That means they are as good as things we use today on
a regular basis.

I'd prefer to push work beyond these mechanisms to a higher level of
security within this working group.  That is all I intended to say.  I
favor increasing security over time.

From simon@josefsson.org  Thu Nov 11 05:12:16 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8C1223A6A3F for <kitten@core3.amsl.com>; Thu, 11 Nov 2010 05:12:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ZVem28bwHhP for <kitten@core3.amsl.com>; Thu, 11 Nov 2010 05:12:15 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id CC8163A68E8 for <kitten@ietf.org>; Thu, 11 Nov 2010 05:12:14 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oABDCb0F005595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 11 Nov 2010 14:12:39 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Sam Hartman <hartmans-ietf@mit.edu>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101111:kitten@ietf.org::C77rUNdwCRKduMJh:HRp1
X-Hashcash: 1:22:101111:hartmans-ietf@mit.edu::Bex2kmC+SW10a0sW:FI30
Date: Thu, 11 Nov 2010 14:12:48 +0100
In-Reply-To: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> (Sam Hartman's message of "Thu, 11 Nov 2010 06:24:55 -0500")
Message-ID: <87pqucm2b3.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 11 Nov 2010 13:12:16 -0000

Sam Hartman <hartmans-ietf@mit.edu> writes:

> Hi folks.  I think a couple people have read more into my comments
> Tuesday than I intended to make.

(I haven't listened to recordings or read jabber scripts yet..)

> As far as I know the OpenID and SAML mechanisms have the same security
> model as the web.  That means they are as good as things we use today on
> a regular basis.

That applies to (the current) OPENID + SAML20, but would not apply to
SAML20EC with channel bindings, right?

If you are saying that SAML20EC, with channel bindings, would not be
more secure than the weak security model provided to by the web (i.e.,
server-authentication at best), please elaborate.

> I'd prefer to push work beyond these mechanisms to a higher level of
> security within this working group.  That is all I intended to say.  I
> favor increasing security over time.

My hope is that experiments with OPENID+SAML20 will lead to specifying
changes for IdP/SP's that will allow them to also support channel
bindings, and thus become more secure.  SAML20EC could potentially be
the first to support this natively, but I'm hoping OPENID/SAML20 could
adopt something similar in an opt-in way.

/Simon

From hartmans@mit.edu  Thu Nov 11 19:12:34 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 345E73A695C for <kitten@core3.amsl.com>; Thu, 11 Nov 2010 19:12:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.747
X-Spam-Level: 
X-Spam-Status: No, score=-102.747 tagged_above=-999 required=5 tests=[AWL=-0.482, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xi3JCGruJzDX for <kitten@core3.amsl.com>; Thu, 11 Nov 2010 19:12:33 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 7ECE53A68B6 for <kitten@ietf.org>; Thu, 11 Nov 2010 19:12:33 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (dhcp-4d02.meeting.ietf.org [130.129.77.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 6B48D2029D; Thu, 11 Nov 2010 22:12:39 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 9FC3F4761; Thu, 11 Nov 2010 22:12:58 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Simon Josefsson <simon@josefsson.org>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org>
Date: Thu, 11 Nov 2010 22:12:58 -0500
In-Reply-To: <87pqucm2b3.fsf@latte.josefsson.org> (Simon Josefsson's message of "Thu, 11 Nov 2010 14:12:48 +0100")
Message-ID: <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 12 Nov 2010 03:12:34 -0000

>>>>> "Simon" == Simon Josefsson <simon@josefsson.org> writes:

    Simon> That applies to (the current) OPENID + SAML20, but would not
    Simon> apply to SAML20EC with channel bindings, right?

Absolutely correct.

It's sounding a lot like it also applies to the oauth mech.

From shawn.emery@oracle.com  Fri Nov 12 05:49:20 2010
Return-Path: <shawn.emery@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E0553A6B4C for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 05:49:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.55
X-Spam-Level: 
X-Spam-Status: No, score=-6.55 tagged_above=-999 required=5 tests=[AWL=0.048,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hF-Cm1ldJnMR for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 05:49:13 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id AA1493A6B2C for <kitten@ietf.org>; Fri, 12 Nov 2010 05:49:11 -0800 (PST)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oACDngxR029548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <kitten@ietf.org>; Fri, 12 Nov 2010 13:49:43 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oACDnexR030266 for <kitten@ietf.org>; Fri, 12 Nov 2010 13:49:40 GMT
Received: from abhmt005.oracle.com by acsmt355.oracle.com with ESMTP id 772983371289569745; Fri, 12 Nov 2010 05:49:05 -0800
Received: from dhcp-416e.meeting.ietf.org (/130.129.65.110) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 12 Nov 2010 05:49:05 -0800
Message-ID: <4CDD45CD.5080602@oracle.com>
Date: Fri, 12 Nov 2010 06:49:01 -0700
From: Shawn M Emery <shawn.emery@oracle.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: kitten@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 12 Nov 2010 13:49:20 -0000

This starts a WG consensus call for the adoption of two new work items 
to the charter:

SASL-SAML-EC
http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec

SASL-OAuth:
http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth

1. Adopt with no pre-conditions
2. Adopt with the assumption that there be a CB option specified for 
each mechanism
3. Adopt after the security considerations/assumptions of each mechanism 
is fully understood
4. Both 2 and 3.

Please provide feed-back to me or the list no later than 11/19/10.

Shawn.
kitten co-chair
--

From Nicolas.Williams@oracle.com  Fri Nov 12 09:47:22 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 733CF3A69E9 for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 09:47:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.468
X-Spam-Level: 
X-Spam-Status: No, score=-6.468 tagged_above=-999 required=5 tests=[AWL=0.130,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qQJACHtYLGUh for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 09:47:15 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 9DC533A6A5A for <kitten@ietf.org>; Fri, 12 Nov 2010 09:47:15 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oACHlkPX026556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <kitten@ietf.org>; Fri, 12 Nov 2010 17:47:48 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oACHljri008555 for <kitten@ietf.org>; Fri, 12 Nov 2010 17:47:45 GMT
Received: from abhmt007.oracle.com by acsmt355.oracle.com with ESMTP id 773744801289584058; Fri, 12 Nov 2010 09:47:38 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 12 Nov 2010 09:47:37 -0800
Date: Fri, 12 Nov 2010 11:47:31 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Shawn M Emery <shawn.emery@oracle.com>
Message-ID: <20101112174729.GQ6536@oracle.com>
References: <4CDD45CD.5080602@oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4CDD45CD.5080602@oracle.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 12 Nov 2010 17:47:22 -0000

On Fri, Nov 12, 2010 at 06:49:01AM -0700, Shawn M Emery wrote:
> 
> This starts a WG consensus call for the adoption of two new work
> items to the charter:
> 
> SASL-SAML-EC
> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
> 
> SASL-OAuth:
> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
> 
> 1. Adopt with no pre-conditions
> 2. Adopt with the assumption that there be a CB option specified for
> each mechanism
> 3. Adopt after the security considerations/assumptions of each
> mechanism is fully understood
> 4. Both 2 and 3.
> 
> Please provide feed-back to me or the list no later than 11/19/10.

I believe these would require a re-charter.

Nico
-- 

From simon@josefsson.org  Fri Nov 12 13:24:17 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 230C93A6A82 for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 13:24:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tqI8QTMv9ucW for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 13:24:10 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id B3B003A693A for <kitten@ietf.org>; Fri, 12 Nov 2010 13:24:08 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oACLOXMS030083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 12 Nov 2010 22:24:35 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Shawn M Emery <shawn.emery@oracle.com>
In-Reply-To: <4CDD45CD.5080602__18328.3971543007$1289569808$gmane$org@oracle.com> (Shawn M. Emery's message of "Fri, 12 Nov 2010 06:49:01 -0700")
References: <4CDD45CD.5080602__18328.3971543007$1289569808$gmane$org@oracle.com>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101112:kitten@ietf.org::QSqVoo7biWd80YuL:BsBJ
X-Hashcash: 1:22:101112:shawn.emery@oracle.com::0Tevu2zWEQgwuRGd:8rdm
Date: Fri, 12 Nov 2010 22:24:53 +0100
Message-ID: <8762w2w7yy.fsf@latte.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 12 Nov 2010 21:24:17 -0000

Shawn M Emery <shawn.emery@oracle.com> writes:

> This starts a WG consensus call for the adoption of two new work items
> to the charter:
>
> SASL-SAML-EC
> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
>
> SASL-OAuth:
> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
>
> 1. Adopt with no pre-conditions
> 2. Adopt with the assumption that there be a CB option specified for
> each mechanism
> 3. Adopt after the security considerations/assumptions of each
> mechanism is fully understood
> 4. Both 2 and 3.

Option 3 seemed reasonable to me, since I believe that it is critical
for the 'Security Considerations' for each document to be accurate and
understandable.  The problem with the option is when to evaluate the
status, and how to do it -- what does it mean for something to be "fully
understood"?  Do we check that every WG participant understands what is
involved?  That is open ended.

Option 2 looks good from a security perspective, and it is doable for
SAML20EC.  However, for SASL-OAuth I don't see a way to implement a CB
option, thus what 2 would translate into is that we refuse to adopt the
document?  This just means that it will proceed on a individual basis,
and be registered in the SASL registry, without any opportunity for the
Kitten WG to influence its design.  I don't care strongly either way,
but if that is what people want, I think it should be explicit.

Thus I am leaning towards option 1 because it will allow the WG to
improve the documents into something good, or perhaps more correct: as
good as it possible can become.  There seems to be sufficient interest
from people to work on the documents, and to review them.  There is even
new blood in the WG.

The output documents still has to pass IETF-wide review, and if there is
a strong community concern on the issues implied by option 2+3, I'm sure
we'll hear about it.

/Simon

From cantor.2@osu.edu  Fri Nov 12 13:33:38 2010
Return-Path: <cantor.2@osu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ECA723A6A56 for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 13:33:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TQii4Xcny8b2 for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 13:33:37 -0800 (PST)
Received: from defang19.it.ohio-state.edu (defang19.it.ohio-state.edu [128.146.216.133]) by core3.amsl.com (Postfix) with ESMTP id 017BF3A693A for <kitten@ietf.org>; Fri, 12 Nov 2010 13:33:36 -0800 (PST)
Received: from defang9.it.ohio-state.edu (defang9.it.ohio-state.edu [128.146.216.78]) by defang19.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oACLY9eP025471; Fri, 12 Nov 2010 16:34:09 -0500
Received: from SNOWDOG (SNOWDOG.dyn.cio.osu.edu [164.107.160.224]) by defang9.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oACLY9Bs019129; Fri, 12 Nov 2010 16:34:09 -0500
From: "Scott Cantor" <cantor.2@osu.edu>
To: "'Simon Josefsson'" <simon@josefsson.org>, "'Shawn M Emery'" <shawn.emery@oracle.com>
References: <4CDD45CD.5080602__18328.3971543007$1289569808$gmane$org@oracle.com> <8762w2w7yy.fsf@latte.josefsson.org>
In-Reply-To: <8762w2w7yy.fsf@latte.josefsson.org>
Date: Fri, 12 Nov 2010 16:34:10 -0500
Organization: The Ohio State University
Message-ID: <007d01cb82b1$57e37da0$07aa78e0$@osu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQN8n76s71j98JKztTLx5oziGEeH9QFEXtNOkAH+0qA=
Content-language: en-us
X-CanIt-Geo: ip=128.146.216.78; country=US; region=OH; city=Columbus; latitude=39.9968; longitude=-82.9882; metrocode=535; areacode=614; http://maps.google.com/maps?q=39.9968,-82.9882&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.133
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 12 Nov 2010 21:33:38 -0000

> Option 3 seemed reasonable to me, since I believe that it is critical
> for the 'Security Considerations' for each document to be accurate and
> understandable.  The problem with the option is when to evaluate the
> status, and how to do it -- what does it mean for something to be "fully
> understood"?  Do we check that every WG participant understands what is
> involved?  That is open ended.

I don't think it needs to be open ended, I interpreted it as saying that
mechanisms that provide (or don't provide) particular security guarantees
should be required to say so. The WG should be able to enumerate a set of
such guarantees that are useful and just ask that the SC sections address
them.

Another way of saying it is, let's aspire to consistency in the SC material
across all these mechanisms so that people can evaluate apples to apples.
 
-- Scott



From jhutz@cmu.edu  Fri Nov 12 14:01:17 2010
Return-Path: <jhutz@cmu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 36B5D3A6A7F for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 14:01:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.419
X-Spam-Level: 
X-Spam-Status: No, score=-106.419 tagged_above=-999 required=5 tests=[AWL=0.180, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uugzHXWTrjmk for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 14:01:10 -0800 (PST)
Received: from smtp01.srv.cs.cmu.edu (SMTP01.SRV.CS.CMU.EDU [128.2.217.196]) by core3.amsl.com (Postfix) with ESMTP id 483CA3A6A1D for <kitten@ietf.org>; Fri, 12 Nov 2010 14:01:10 -0800 (PST)
Received: from atlantis-home.pc.cs.cmu.edu (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp01.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id oACM1f47014172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Nov 2010 17:01:41 -0500 (EST)
Date: Fri, 12 Nov 2010 17:01:41 -0500
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Simon Josefsson <simon@josefsson.org>, Shawn M Emery <shawn.emery@oracle.com>
Message-ID: <1E28240B6753A08582BC1892@atlantis.pc.cs.cmu.edu>
In-Reply-To: <14068_1289597093_oACLOqhA015921_8762w2w7yy.fsf@latte.josefsson.org>
References: <4CDD45CD.5080602__18328.3971543007$1289569808$gmane$org@oracle.com> <14068_1289597093_oACLOqhA015921_8762w2w7yy.fsf@latte.josefsson.org>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.217.196
Cc: kitten@ietf.org, jhutz@cmu.edu
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 12 Nov 2010 22:01:17 -0000

--On Friday, November 12, 2010 10:24:53 PM +0100 Simon Josefsson 
<simon@josefsson.org> wrote:

> Shawn M Emery <shawn.emery@oracle.com> writes:
>
>> This starts a WG consensus call for the adoption of two new work items
>> to the charter:
>>
>> SASL-SAML-EC
>> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
>>
>> SASL-OAuth:
>> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
>>
>> 1. Adopt with no pre-conditions
>> 2. Adopt with the assumption that there be a CB option specified for
>> each mechanism
>> 3. Adopt after the security considerations/assumptions of each
>> mechanism is fully understood
>> 4. Both 2 and 3.
>
> Option 3 seemed reasonable to me, since I believe that it is critical
> for the 'Security Considerations' for each document to be accurate and
> understandable.  The problem with the option is when to evaluate the
> status, and how to do it -- what does it mean for something to be "fully
> understood"?  Do we check that every WG participant understands what is
> involved?  That is open ended.

Indeed.  I think we all agree that security considerations for each 
mechanism need to be appropriately documented before we can publish.  That 
does not mean it must or should be done before we adopt; after all, that's 
part of the work we're signing on to do.

> Option 2 looks good from a security perspective, and it is doable for
> SAML20EC.  However, for SASL-OAuth I don't see a way to implement a CB
> option, thus what 2 would translate into is that we refuse to adopt the
> document?  This just means that it will proceed on a individual basis,
> and be registered in the SASL registry, without any opportunity for the
> Kitten WG to influence its design.  I don't care strongly either way,
> but if that is what people want, I think it should be explicit.

Again, I think we have general agreement in this WG that SASL and GSS-API 
mechanisms should include CB support whenever feasible.  Thus, any time we 
adopt a mechanism, it's pretty much a given that we're going to try to make 
sure it has CB support.  I'd be very surprised if, having adopted a 
mechanism, we found rough consensus to approve it without CB support when 
adding such support is doable.  On the other hand, I wouldn't be surprised 
if we published a document defining mechanism for which CB support is not 
feasible, given sufficient need.  Certainly I think we'd publish PLAIN 
today.

> Thus I am leaning towards option 1 because it will allow the WG to
> improve the documents into something good, or perhaps more correct: as
> good as it possible can become.  There seems to be sufficient interest
> from people to work on the documents, and to review them.  There is even
> new blood in the WG.

I'm inclined to agree.  I've never been a fan of "late adoption"; if we 
believe this work is worth doing, we should adopt it now and then do it, 
rather than expecting it to be done before we adopt.

-- Jeff

From Nicolas.Williams@oracle.com  Fri Nov 12 15:06:45 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 02FD23A6A86 for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 15:06:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.472
X-Spam-Level: 
X-Spam-Status: No, score=-6.472 tagged_above=-999 required=5 tests=[AWL=0.126,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HrQpnX2SmwQk for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 15:06:37 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id D77723A68E0 for <kitten@ietf.org>; Fri, 12 Nov 2010 15:06:37 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oACN7ATl026773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <kitten@ietf.org>; Fri, 12 Nov 2010 23:07:11 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oACB7k2l022979 for <kitten@ietf.org>; Fri, 12 Nov 2010 23:07:06 GMT
Received: from abhmt004.oracle.com by acsmt354.oracle.com with ESMTP id 774532201289603111; Fri, 12 Nov 2010 15:05:11 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 12 Nov 2010 15:05:10 -0800
Date: Fri, 12 Nov 2010 17:05:05 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Shawn M Emery <shawn.emery@oracle.com>
Message-ID: <20101112230504.GT6536@oracle.com>
References: <4CDD45CD.5080602@oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4CDD45CD.5080602@oracle.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 12 Nov 2010 23:06:45 -0000

On Fri, Nov 12, 2010 at 06:49:01AM -0700, Shawn M Emery wrote:
> 
> This starts a WG consensus call for the adoption of two new work
> items to the charter:
> 
> SASL-SAML-EC
> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
> 
> SASL-OAuth:
> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
> 
> 1. Adopt with no pre-conditions
> 2. Adopt with the assumption that there be a CB option specified for
> each mechanism
> 3. Adopt after the security considerations/assumptions of each
> mechanism is fully understood
> 4. Both 2 and 3.
> 
> Please provide feed-back to me or the list no later than 11/19/10.

IMO, (1) is out.

(3) is too strong a requirement.  If KITTEN is to work on mechanisms it
might be a good idea for the WG charter to state the minimal threat
model that those mechanisms must meet, and the minimum feature
requirements for them as well.  That is, it's OK to demand a threat
model a priori, but a security considerations treatment seems a bit
silly to require a priori.

These are the requirements I would demand of any mechanism in order to
be adopted by KITTEN:

 - the mechanism MUST state what threat model it will meet
    - this must be at least a minimum threat model, as yet to be
      determined, but with at least these elements:
       - resistance to passive attacks (no passwords sent in the clear)
	 (unless stacking over a mechanism that provides the necessary
	 protection is expected)
       - resistance to MITM attacks (so that channel binding can be
	 meaningful)

 - the mechanism MUST provide the following GSS-API mechanism features:
    - mutual authentication (in the sense that the initiator and
      acceptor are named, and also in the sense of confirmation)
    - channel binding
    - the GSS PRF 
    - GSS_C_NT_HOSTBASED_SERVICE naming MUST be supported for acceptors[*]

 - authentication and channel binding MUST provide a reasonable level of
   cryptographic protection (say, not less than SCRAM)

For example, a mechanism that does not aim to defeat eavesdroppers
(e.g., passwords are sent in the clear, not even tunneled over TLS) is
not desirable for Internet protocols.  A mechanism that purports to meet
a threat model that is appropriate for Internet protocols might
eventually fail to deliver, in which case it likely won't make it on the
standards-track, but at least it can be designed in and reviewed by the
WG.

[*] Note that the host-based naming requirement can be fairly weak in
    that the acceptor principal can be "imaginary", so to speak, as in
    SCRAM (where the acceptor isn't named anywhere outside the API, but
    nonetheless can play a useful role).

Nico

From wmills@yahoo-inc.com  Fri Nov 12 15:39:11 2010
Return-Path: <wmills@yahoo-inc.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6C72F3A6A33 for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 15:39:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.598
X-Spam-Level: 
X-Spam-Status: No, score=-17.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RDNS_DOTCOM_HELO=0.001, USER_IN_DEF_WHITELIST=-15]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ERxaLLjQvEZ2 for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 15:39:04 -0800 (PST)
Received: from mrout3.yahoo.com (mrout3.yahoo.com [216.145.54.173]) by core3.amsl.com (Postfix) with ESMTP id D808B3A6403 for <kitten@ietf.org>; Fri, 12 Nov 2010 15:39:03 -0800 (PST)
Received: from SP2-EX07CAS03.ds.corp.yahoo.com (sp2-ex07cas03.corp.sp2.yahoo.com [98.137.59.35]) by mrout3.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id oACNdIOS073478;  Fri, 12 Nov 2010 15:39:18 -0800 (PST)
Received: from SP2-EX07VS06.ds.corp.yahoo.com ([98.137.59.25]) by SP2-EX07CAS03.ds.corp.yahoo.com ([98.137.59.35]) with mapi; Fri, 12 Nov 2010 15:39:18 -0800
From: William Mills <wmills@yahoo-inc.com>
To: Nicolas Williams <Nicolas.Williams@oracle.com>, Shawn M Emery <shawn.emery@oracle.com>
Date: Fri, 12 Nov 2010 15:39:17 -0800
Thread-Topic: [kitten] WG Adoptions
Thread-Index: AcuCvnGVbjX6F+kyTOaDtRxNGznhaAABCpIA
Message-ID: <FFDFD7371D517847AD71FBB08F9A3156257C7209ED@SP2-EX07VS06.ds.corp.yahoo.com>
References: <4CDD45CD.5080602@oracle.com> <20101112230504.GT6536@oracle.com>
In-Reply-To: <20101112230504.GT6536@oracle.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 12 Nov 2010 23:39:11 -0000

I think requiring the initiator to be "named" as well as the acceptor is go=
ing to be too high a bar.  There are a lot of use cases that won't be able =
to meet that without some trivializing of the initiator naming.

> -----Original Message-----
> From: kitten-bounces@ietf.org [mailto:kitten-bounces@ietf.org] On
> Behalf Of Nicolas Williams
> Sent: Friday, November 12, 2010 3:05 PM
> To: Shawn M Emery
> Cc: kitten@ietf.org
> Subject: Re: [kitten] WG Adoptions
>=20
> On Fri, Nov 12, 2010 at 06:49:01AM -0700, Shawn M Emery wrote:
> >
> > This starts a WG consensus call for the adoption of two new work
> > items to the charter:
> >
> > SASL-SAML-EC
> > http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
> >
> > SASL-OAuth:
> > http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
> >
> > 1. Adopt with no pre-conditions
> > 2. Adopt with the assumption that there be a CB option specified for
> > each mechanism
> > 3. Adopt after the security considerations/assumptions of each
> > mechanism is fully understood
> > 4. Both 2 and 3.
> >
> > Please provide feed-back to me or the list no later than 11/19/10.
>=20
> IMO, (1) is out.
>=20
> (3) is too strong a requirement.  If KITTEN is to work on mechanisms it
> might be a good idea for the WG charter to state the minimal threat
> model that those mechanisms must meet, and the minimum feature
> requirements for them as well.  That is, it's OK to demand a threat
> model a priori, but a security considerations treatment seems a bit
> silly to require a priori.
>=20
> These are the requirements I would demand of any mechanism in order to
> be adopted by KITTEN:
>=20
>  - the mechanism MUST state what threat model it will meet
>     - this must be at least a minimum threat model, as yet to be
>       determined, but with at least these elements:
>        - resistance to passive attacks (no passwords sent in the clear)
> 	 (unless stacking over a mechanism that provides the necessary
> 	 protection is expected)
>        - resistance to MITM attacks (so that channel binding can be
> 	 meaningful)
>=20
>  - the mechanism MUST provide the following GSS-API mechanism features:
>     - mutual authentication (in the sense that the initiator and
>       acceptor are named, and also in the sense of confirmation)
>     - channel binding
>     - the GSS PRF
>     - GSS_C_NT_HOSTBASED_SERVICE naming MUST be supported for
> acceptors[*]
>=20
>  - authentication and channel binding MUST provide a reasonable level
> of
>    cryptographic protection (say, not less than SCRAM)
>=20
> For example, a mechanism that does not aim to defeat eavesdroppers
> (e.g., passwords are sent in the clear, not even tunneled over TLS) is
> not desirable for Internet protocols.  A mechanism that purports to
> meet
> a threat model that is appropriate for Internet protocols might
> eventually fail to deliver, in which case it likely won't make it on
> the
> standards-track, but at least it can be designed in and reviewed by the
> WG.
>=20
> [*] Note that the host-based naming requirement can be fairly weak in
>     that the acceptor principal can be "imaginary", so to speak, as in
>     SCRAM (where the acceptor isn't named anywhere outside the API, but
>     nonetheless can play a useful role).
>=20
> Nico
> _______________________________________________
> Kitten mailing list
> Kitten@ietf.org
> https://www.ietf.org/mailman/listinfo/kitten

From Nicolas.Williams@oracle.com  Fri Nov 12 16:20:21 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AD7873A6B6E for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 16:20:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.476
X-Spam-Level: 
X-Spam-Status: No, score=-6.476 tagged_above=-999 required=5 tests=[AWL=0.122,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ccMd6WLNuTGF for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 16:20:20 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 6D2773A6B73 for <kitten@ietf.org>; Fri, 12 Nov 2010 16:20:20 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAD0KrUk021331 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Nov 2010 00:20:54 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oACGsmah012897; Sat, 13 Nov 2010 00:20:51 GMT
Received: from abhmt016.oracle.com by acsmt355.oracle.com with ESMTP id 774648691289607624; Fri, 12 Nov 2010 16:20:24 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 12 Nov 2010 16:20:24 -0800
Date: Fri, 12 Nov 2010 18:20:19 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: William Mills <wmills@yahoo-inc.com>
Message-ID: <20101113002019.GY6536@oracle.com>
References: <4CDD45CD.5080602@oracle.com> <20101112230504.GT6536@oracle.com> <FFDFD7371D517847AD71FBB08F9A3156257C7209ED@SP2-EX07VS06.ds.corp.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <FFDFD7371D517847AD71FBB08F9A3156257C7209ED@SP2-EX07VS06.ds.corp.yahoo.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 00:20:21 -0000

On Fri, Nov 12, 2010 at 03:39:17PM -0800, William Mills wrote:
> I think requiring the initiator to be "named" as well as the acceptor
> is going to be too high a bar.  There are a lot of use cases that
> won't be able to meet that without some trivializing of the initiator
> naming.

I should clarify that GSS_C_NT_ANONYMOUS initiators should be OK (though
if that's all that's provided then the mechanism will not be terribly
useful).  Also, the name of the initiator needn't be anything
particularly meaningful, as long as, in the non-anonymous case, it's
something that can be compared or "exported".

The primary naming requirement is that host-based service acceptors must
be supported.  Initiator names can be of any type, including types for
which there is no generic syntax.

Nico
-- 

From Nicolas.Williams@oracle.com  Fri Nov 12 16:31:35 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BA5CC3A6B6E for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 16:31:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.48
X-Spam-Level: 
X-Spam-Status: No, score=-6.48 tagged_above=-999 required=5 tests=[AWL=0.118,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26NsDlhbujC5 for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 16:31:34 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id BFD453A6B69 for <kitten@ietf.org>; Fri, 12 Nov 2010 16:31:34 -0800 (PST)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAD0W7FR005570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Nov 2010 00:32:08 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAD0W3SF030731; Sat, 13 Nov 2010 00:32:04 GMT
Received: from abhmt021.oracle.com by acsmt354.oracle.com with ESMTP id 775615841289608311; Fri, 12 Nov 2010 16:31:51 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 12 Nov 2010 16:31:51 -0800
Date: Fri, 12 Nov 2010 18:31:46 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: William Mills <wmills@yahoo-inc.com>
Message-ID: <20101113003146.GZ6536@oracle.com>
References: <4CDD45CD.5080602@oracle.com> <20101112230504.GT6536@oracle.com> <FFDFD7371D517847AD71FBB08F9A3156257C7209ED@SP2-EX07VS06.ds.corp.yahoo.com> <20101113002019.GY6536@oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20101113002019.GY6536@oracle.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 00:31:35 -0000

On Fri, Nov 12, 2010 at 06:20:19PM -0600, Nicolas Williams wrote:
> The primary naming requirement is that host-based service acceptors must
> be supported.  Initiator names can be of any type, including types for
> which there is no generic syntax.

The reason, incidentally, for requiring support for host-based service
acceptors is that most Internet application protocols that use the
GSS-API use it with host-based service acceptors.  SSHv2, NFSv4, DNS
(GSS-TSIG), LDAP, IMAP, ... -- all require host-based service naming for
acceptors.

Note that treating all service names as equivalent would be fine,
yielding host-based naming.  (i.e., HTTP@foo.example could be treated as
just foo.example).

The form of the initiator principal name is much less important.  In the
traditional API what matters is that a) you be able to call
gss_import_name() to import an initiator principal from a string, b) be
able to gss_compare_name() names of the given name type, c) be able to
gss_export_name() an MN of the given name type, d) be able to
gss_import_name() the exported name tokens resulting from
gss_export_name().

If all of the preceding  parargraph is gobbledeegook to you, don't
worry, we'll make sure to explain it :)  (just not right this minute).

Given naming extensions an anonymous initiator whose name nonetheless
includes naming attributes such as SAML assertions and what not would be
a lot more useful than just anonymous initiator naming.

Lacking meaninful non-anonymous initiator naming may limit the
usefulness of a mechanism in the case of some applications _as
implemented_.  But that's not as big a problem as the lack of host-based
service naming because Internet application protocols require the
latter, but don't require any particular initiator name forms.

Nico
-- 

From mrex@sap.com  Fri Nov 12 20:25:40 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DEDD23A692F for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 20:25:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.047
X-Spam-Level: 
X-Spam-Status: No, score=-10.047 tagged_above=-999 required=5 tests=[AWL=0.202, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zEYCbbJJiXrD for <kitten@core3.amsl.com>; Fri, 12 Nov 2010 20:25:24 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id 7BD9B3A6B68 for <kitten@ietf.org>; Fri, 12 Nov 2010 20:25:20 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oAD4Ps9K004547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Nov 2010 05:25:54 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp>
To: Nicolas.Williams@oracle.com (Nicolas Williams)
Date: Sat, 13 Nov 2010 05:25:52 +0100 (MET)
In-Reply-To: <20101112230504.GT6536@oracle.com> from "Nicolas Williams" at Nov 12, 10 05:05:05 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal03
X-SAP: out
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 04:25:40 -0000

Nicolas Williams wrote:
> 
> These are the requirements I would demand of any mechanism in order to
> be adopted by KITTEN:
> 
>  - the mechanism MUST provide the following GSS-API mechanism features:
> (1) - mutual authentication (in the sense that the initiator and
>       acceptor are named, and also in the sense of confirmation)
> (2) - channel binding
> (3) - the GSS PRF 
> (4) - GSS_C_NT_HOSTBASED_SERVICE naming MUST be supported for acceptors[*]

I have some serious problems with these requirements in this order
of seriousness:  (4), (3), (2), (1)

For me (4) is an absolute NO GO.  From the ~15 gssapi mechanisms that
I know only 2 (Kerberos and DCE) support that nametype.  Basically
none of the SPKM-like (see rfc2025) gssapi mechanisms supports
hostbased service names.  The way hostbased service names are
defined in rfc-2743 (and had been implemented in Kerbeors 5 like
that for at least a decade) are a REAL security problem.

Doing GSS-API and mutual authentication without hostbased service
names is pretty normal, and it is more secure.

Look at the beautiful EV-certificates.  The weakest attribute in
an EV cert is the DNS name.  The attributes that are verified
with much more scrutiny are all the others.  So from the security
standpoint, matching only the DNS name and ignore all the other
attributes is non-sensical.


Similarly, GSS PRF is an fairly new optional feature, and it is
difficult to find implementatiosn that support it (I haven't
met any).

The GSS-API channel bindings facility is also a underused feature,
and GSS-API is *MUCH* more usable without it.  Lots of gssapi
mechanisms do not implement it and even fewer apps use it.
The only time where I have seen channel bindings to be useful,
is for a clear abuse of GSS-API, where the Kerberos authentication
exchanges is misappropriated into an OTP-scheme.

If the gssapi mechanism provides the message protection for the
entire communication, which is what GSS-API was originally
designed for, then there is absolutely no need for channel bindings
(and no need for GSS-PRF).


The mutual authentication thing is a little funny.  Kerberos actually
has a design flaw, in that one always has to provide a target name,
even when not requesting mutual authentication.  This could have
been implemented in a fashion that does not require a target name
for gss_init_sec_context(), but would have incurred another round-trip.

I haven't looked at how exactly the Microsoft implementation of
user2user authentication works, but it should be possible to
make that work without a target_name parameter to gss_init_sec_context().

Another possibility, for gss-api mechanisms that offer only unidirectional
authentication of the client to the server, is that these mechanisms
simply ignore the value of the target_name parameter.  The difficulty
here concerning hostbased service names: the target_name parameter
is an opaque type "gss_name_t" that must first be created through
calling gss_import_name() and it is much less obvious how to
"simply ignore the target name", because that means that trying
to import a hostbased service names is very likely to fail with an error.


Bottom line, an application that blindly expects "hostbased service names"
to be available for use as target names for gss_init_sec_context()
is NON-portable(!) gssapi-aware application.

-Martin

From lear@cisco.com  Sat Nov 13 00:15:12 2010
Return-Path: <lear@cisco.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8CE413A6AB9 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:15:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.456
X-Spam-Level: 
X-Spam-Status: No, score=-109.456 tagged_above=-999 required=5 tests=[AWL=1.143, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7r9t3bCvv+ca for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:15:08 -0800 (PST)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by core3.amsl.com (Postfix) with ESMTP id B6A5D3A6AAF for <kitten@ietf.org>; Sat, 13 Nov 2010 00:15:02 -0800 (PST)
Authentication-Results: ams-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Al0EAJfX3UyQ/khMgWdsb2JhbACDPZEXjX8VAQEWIiKjYIozkGSBIoFQgWVzBIpX
X-IronPort-AV: E=Sophos;i="4.59,191,1288569600"; d="scan'208";a="69153844"
Received: from ams-core-3.cisco.com ([144.254.72.76]) by ams-iport-1.cisco.com with ESMTP; 13 Nov 2010 08:15:37 +0000
Received: from ams3-vpn-dhcp7628.cisco.com (ams3-vpn-dhcp7628.cisco.com [10.61.93.203]) by ams-core-3.cisco.com (8.14.3/8.14.3) with ESMTP id oAD8FaJ5009822; Sat, 13 Nov 2010 08:15:37 GMT
Message-ID: <4CDE493C.7020900@cisco.com>
Date: Sat, 13 Nov 2010 09:15:56 +0100
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: mrex@sap.com
References: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp>
In-Reply-To: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 08:15:12 -0000

Before we get into a discussion of solutions, can we please have a
serious conversation about what channel binding means in the context of
federated identity and multiparty exchanges, where we consider it from
the angle of each party?  That is, the IdP, the SP/RP, the principal,
and the application(s)?

From simon@josefsson.org  Sat Nov 13 00:40:40 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 413413A6AA4 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:40:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v+50QEW4rA7s for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:40:39 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 923C828B23E for <kitten@ietf.org>; Sat, 13 Nov 2010 00:40:36 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAD8f4Tw002223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 13 Nov 2010 09:41:05 +0100
From: Simon Josefsson <simon@josefsson.org>
To: "Scott Cantor" <cantor.2@osu.edu>
References: <4CDD45CD.5080602__18328.3971543007$1289569808$gmane$org@oracle.com> <8762w2w7yy.fsf@latte.josefsson.org> <007d01cb82b1$57e37da0$07aa78e0$__13996.3050875396$1289597665$gmane$org@osu.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101113:cantor.2@osu.edu::WoWC6fisjtdYYsxa:08pd
X-Hashcash: 1:22:101113:kitten@ietf.org::6HKTeaFc5I7sT0Ot:aLiY
X-Hashcash: 1:22:101113:shawn.emery@oracle.com::0EGD4km3O+U3Qun+:Z+7D
Date: Sat, 13 Nov 2010 09:41:26 +0100
In-Reply-To: <007d01cb82b1$57e37da0$07aa78e0$__13996.3050875396$1289597665$gmane$org@osu.edu> (Scott Cantor's message of "Fri, 12 Nov 2010 16:34:10 -0500")
Message-ID: <87aald62fd.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 08:40:40 -0000

"Scott Cantor" <cantor.2@osu.edu> writes:

>> Option 3 seemed reasonable to me, since I believe that it is critical
>> for the 'Security Considerations' for each document to be accurate and
>> understandable.  The problem with the option is when to evaluate the
>> status, and how to do it -- what does it mean for something to be "fully
>> understood"?  Do we check that every WG participant understands what is
>> involved?  That is open ended.
>
> I don't think it needs to be open ended, I interpreted it as saying that
> mechanisms that provide (or don't provide) particular security guarantees
> should be required to say so. The WG should be able to enumerate a set of
> such guarantees that are useful and just ask that the SC sections address
> them.
>
> Another way of saying it is, let's aspire to consistency in the SC material
> across all these mechanisms so that people can evaluate apples to apples.

I would support that, but I'm not certain that interpretation is the
only one that is being made.

/Simon

From simon@josefsson.org  Sat Nov 13 00:50:20 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DF2393A6AC2 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:50:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GtN2HwkPyV1E for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:50:20 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id B62B13A6A94 for <kitten@ietf.org>; Sat, 13 Nov 2010 00:50:19 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAD8oj9r002805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 13 Nov 2010 09:50:47 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
References: <4CDD45CD.5080602__18328.3971543007$1289569808$gmane$org@oracle.com> <14068_1289597093_oACLOqhA015921_8762w2w7yy.fsf@latte.josefsson.org> <1E28240B6753A08582BC1892__25892.3383350067$1289599327$gmane$org@atlantis.pc.cs.cmu.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101113:shawn.emery@oracle.com::tqQhtSlcftIV5gih:7bbJ
X-Hashcash: 1:22:101113:jhutz@cmu.edu::Rxr/ywdxCEldfp8V:BngH
X-Hashcash: 1:22:101113:kitten@ietf.org::LG6q9uvSGQnBzZC7:IJFo
Date: Sat, 13 Nov 2010 09:51:08 +0100
In-Reply-To: <1E28240B6753A08582BC1892__25892.3383350067$1289599327$gmane$org@atlantis.pc.cs.cmu.edu> (Jeffrey Hutzelman's message of "Fri, 12 Nov 2010 17:01:41 -0500")
Message-ID: <8762w161z7.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 08:50:21 -0000

Jeffrey Hutzelman <jhutz@cmu.edu> writes:

> Again, I think we have general agreement in this WG that SASL and
> GSS-API mechanisms should include CB support whenever feasible.

People who have been participating here for a long while would probably
agree, but I'm not sure we have that written down anywhere and I think
newcomers are struggling with the motivation for CB in SASL.  Maybe a
"SASL/GSS-API Mechanism Design Best Practice" document or similar would
help.  Or just updated RFC 4422?  It may be a bit early though, there
haven't been that many interop of CB-enabled implementations, let alone
deployment...

/Simon

From Nicolas.Williams@oracle.com  Sat Nov 13 00:51:40 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2751F3A6AC0 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:51:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.484
X-Spam-Level: 
X-Spam-Status: No, score=-6.484 tagged_above=-999 required=5 tests=[AWL=0.114,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72+-Km2UJU-h for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:51:39 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 534363A6A94 for <kitten@ietf.org>; Sat, 13 Nov 2010 00:51:39 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAD8qB26005317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Nov 2010 08:52:13 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAD8qADW012853; Sat, 13 Nov 2010 08:52:10 GMT
Received: from abhmt004.oracle.com by acsmt353.oracle.com with ESMTP id 775077471289638263; Sat, 13 Nov 2010 00:51:03 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 13 Nov 2010 00:51:03 -0800
Date: Sat, 13 Nov 2010 02:50:57 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Eliot Lear <lear@cisco.com>
Message-ID: <20101113085057.GD6536@oracle.com>
References: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp> <4CDE493C.7020900@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4CDE493C.7020900@cisco.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 08:51:40 -0000

On Sat, Nov 13, 2010 at 09:15:56AM +0100, Eliot Lear wrote:
> Before we get into a discussion of solutions, can we please have a
> serious conversation about what channel binding means in the context of
> federated identity and multiparty exchanges, where we consider it from
> the angle of each party?  That is, the IdP, the SP/RP, the principal,
> and the application(s)?

Channel binding here means exactly what RFC5056 says.  It's the client
and the rp that authenticate mutually and bind some other channel
(typically also with the same two entities as end-points, else proxies
for them as end-points) into that authentication.

Whether the IdP, KDCs, or whatever other third parties, are involved in
the process of binding the channel is not important -- except as a
detail of the mechanism, of course.  There is no requirement that third
parties be involved in channel binding.

Nico
-- 

From Nicolas.Williams@oracle.com  Sat Nov 13 00:59:48 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 056143A6AC4 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:59:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.487
X-Spam-Level: 
X-Spam-Status: No, score=-6.487 tagged_above=-999 required=5 tests=[AWL=0.111,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WLWzsy2eimF0 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 00:59:47 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id D040B3A6AC0 for <kitten@ietf.org>; Sat, 13 Nov 2010 00:59:46 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAD90KBI011578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Nov 2010 09:00:21 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAD8ZsQo021841; Sat, 13 Nov 2010 09:00:19 GMT
Received: from abhmt009.oracle.com by acsmt354.oracle.com with ESMTP id 775085331289638780; Sat, 13 Nov 2010 00:59:40 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 13 Nov 2010 00:59:39 -0800
Date: Sat, 13 Nov 2010 02:59:34 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Martin Rex <mrex@sap.com>
Message-ID: <20101113085934.GE6536@oracle.com>
References: <20101112230504.GT6536@oracle.com> <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 08:59:48 -0000

On Sat, Nov 13, 2010 at 05:25:52AM +0100, Martin Rex wrote:
> Nicolas Williams wrote:
> > 
> > These are the requirements I would demand of any mechanism in order to
> > be adopted by KITTEN:
> > 
> >  - the mechanism MUST provide the following GSS-API mechanism features:
> > (1) - mutual authentication (in the sense that the initiator and
> >       acceptor are named, and also in the sense of confirmation)
> > (2) - channel binding
> > (3) - the GSS PRF 
> > (4) - GSS_C_NT_HOSTBASED_SERVICE naming MUST be supported for acceptors[*]
> 
> I have some serious problems with these requirements in this order
> of seriousness:  (4), (3), (2), (1)
> 
> For me (4) is an absolute NO GO.  From the ~15 gssapi mechanisms that
> I know only 2 (Kerberos and DCE) support that nametype.  Basically
> none of the SPKM-like (see rfc2025) gssapi mechanisms supports
> hostbased service names.  The way hostbased service names are
> defined in rfc-2743 (and had been implemented in Kerbeors 5 like
> that for at least a decade) are a REAL security problem.

Martin, you have said this before, and sorry, but _Internet_ application
protocols that exist today (I listed some) _require_ hostbased service
names.  This doesn't mean that you cannot have Standards-Track
mechanisms that don't support hostbased service names.  But it could
mean that KITTEN WG may not host such work (emphasis on the "could" --
we're deciding on that, aren't we?).

I believe it is perfectly appropriate for an IETF WG considering work on
Standards-Track GSS-API mechanisms to require features that are required
by Internet application protocols.

Note, incidentally, that I didn't express a desire for per-message
tokens even though most existing Internet applications that use the
GSS-API depend on them.  There's a reason for this: I asked for PRF
support, which implies keying, which implies that per-message tokens are
definitely feasible.

Let me then re-phrase my request for PRF support as: a request for
keying.  Given keying one can trivially add per-message tokens and PRF
support (say, by borrowing the ones from the Kerberos V5 mechanism).

> Doing GSS-API and mutual authentication without hostbased service
> names is pretty normal, and it is more secure.

Of course it is (except for the "more secure" part).  I didn't say that
it's not.

> Similarly, GSS PRF is an fairly new optional feature, and it is
> difficult to find implementatiosn that support it (I haven't
> met any).

That's true, and yet _I_ want that as a requirement.  I have my reasons,
namely: it makes the GSS-API much easier to use in contexts where you
can't use per-message tokens.  In any case, see above.

> The GSS-API channel bindings facility is also a underused feature,
> and GSS-API is *MUCH* more usable without it.  Lots of gssapi
> mechanisms do not implement it and even fewer apps use it.
> The only time where I have seen channel bindings to be useful,
> is for a clear abuse of GSS-API, where the Kerberos authentication
> exchanges is misappropriated into an OTP-scheme.

This is no longer true, or it's about to no longer be true.  See
SASL/GS2, SCRAM, ABFAB WG's work.

> If the gssapi mechanism provides the message protection for the
> entire communication, which is what GSS-API was originally
> designed for, then there is absolutely no need for channel bindings
> (and no need for GSS-PRF).

It'd be nice if the world was so simple that this were true.  But it's
not.  The fact is that the SASL community doesn't want to bother with
SASL security layers because most Internet SASL apps already have an
option to use TLS -- to support two security layer protocols is a pain,
yet TLS doesn't have the user authentication mechanisms that SASL and
the GSS-API have, so the obvious solution (enshrined in SASL/GS2) is to
do channel binding.

> The mutual authentication thing is a little funny.  Kerberos actually
> has a design flaw, in that one always has to provide a target name,
> even when not requesting mutual authentication.  This could have
> been implemented in a fashion that does not require a target name
> for gss_init_sec_context(), but would have incurred another round-trip.

I agree regarding Kerberos, but that says nothing as to whether
requiring mutual authentication is a good or bad idea.

> I haven't looked at how exactly the Microsoft implementation of
> user2user authentication works, but it should be possible to
> make that work without a target_name parameter to gss_init_sec_context().

Sure.  But again: what's the point?

> Another possibility, for gss-api mechanisms that offer only unidirectional
> authentication of the client to the server, is that these mechanisms
> simply ignore the value of the target_name parameter.  The difficulty
> here concerning hostbased service names: the target_name parameter
> is an opaque type "gss_name_t" that must first be created through
> calling gss_import_name() and it is much less obvious how to
> "simply ignore the target name", because that means that trying
> to import a hostbased service names is very likely to fail with an error.

One could provide GSS_C_NO_NAME.  But if you do this then channel
binding loses meaning.

> Bottom line, an application that blindly expects "hostbased service names"
> to be available for use as target names for gss_init_sec_context()
> is NON-portable(!) gssapi-aware application.

Portability is not the issue.  Interoperability is.  All Internet GSS
applications that I can think of require support for hostbased service
names as acceptors (which is not to say that they require that acceptors
always be hostbased services).

Nico
-- 

From lear@cisco.com  Sat Nov 13 03:57:06 2010
Return-Path: <lear@cisco.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 01E0F3A6B16 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 03:57:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.599
X-Spam-Level: 
X-Spam-Status: No, score=-109.599 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KMIn+-zUaH5W for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 03:57:05 -0800 (PST)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by core3.amsl.com (Postfix) with ESMTP id 1E9273A6A12 for <kitten@ietf.org>; Sat, 13 Nov 2010 03:57:04 -0800 (PST)
Authentication-Results: ams-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ai4EAFMM3kyQ/khNgWdsb2JhbACDPJ8WFQEBFiIionmKM5BWgSKDNXMEilc
X-IronPort-AV: E=Sophos;i="4.59,191,1288569600"; d="scan'208";a="69159426"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-1.cisco.com with ESMTP; 13 Nov 2010 11:57:39 +0000
Received: from ams3-vpn-dhcp7628.cisco.com (ams3-vpn-dhcp7628.cisco.com [10.61.93.203]) by ams-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id oADBvc9v014731; Sat, 13 Nov 2010 11:57:39 GMT
Message-ID: <4CDE7D46.5070600@cisco.com>
Date: Sat, 13 Nov 2010 12:57:58 +0100
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Nicolas Williams <Nicolas.Williams@oracle.com>
References: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp> <4CDE493C.7020900@cisco.com> <20101113085057.GD6536@oracle.com>
In-Reply-To: <20101113085057.GD6536@oracle.com>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 11:57:06 -0000

Nico,

On 11/13/10 9:50 AM, Nicolas Williams wrote:
> Whether the IdP, KDCs, or whatever other third parties, are involved in
> the process of binding the channel is not important -- except as a
> detail of the mechanism, of course.  There is no requirement that third
> parties be involved in channel binding.
>

Thank you for that clarification.  That was what I was trying to understand.

Eliot

From Nicolas.Williams@oracle.com  Sat Nov 13 06:58:57 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BDD6E3A6BB3 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 06:58:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.491
X-Spam-Level: 
X-Spam-Status: No, score=-6.491 tagged_above=-999 required=5 tests=[AWL=0.107,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id klW67HTsN682 for <kitten@core3.amsl.com>; Sat, 13 Nov 2010 06:58:57 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id F32433A6BB0 for <kitten@ietf.org>; Sat, 13 Nov 2010 06:58:56 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oADExT0Z017160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Nov 2010 14:59:31 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oADEgfPx008262; Sat, 13 Nov 2010 14:59:28 GMT
Received: from abhmt017.oracle.com by acsmt354.oracle.com with ESMTP id 776449481289660311; Sat, 13 Nov 2010 06:58:31 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 13 Nov 2010 06:58:31 -0800
Date: Sat, 13 Nov 2010 08:58:27 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Eliot Lear <lear@cisco.com>
Message-ID: <20101113145826.GG6536@oracle.com>
References: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp> <4CDE493C.7020900@cisco.com> <20101113085057.GD6536@oracle.com> <4CDE7D46.5070600@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4CDE7D46.5070600@cisco.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 13 Nov 2010 14:58:57 -0000

On Sat, Nov 13, 2010 at 12:57:58PM +0100, Eliot Lear wrote:
> On 11/13/10 9:50 AM, Nicolas Williams wrote:
> > Whether the IdP, KDCs, or whatever other third parties, are involved in
> > the process of binding the channel is not important -- except as a
> > detail of the mechanism, of course.  There is no requirement that third
> > parties be involved in channel binding.
> 
> Thank you for that clarification.  That was what I was trying to
> understand.

Also, note that there is no requirement that third parties not be
involved.

From hartmans@mit.edu  Sun Nov 14 10:20:25 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 800F83A6BC6 for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:20:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.626
X-Spam-Level: 
X-Spam-Status: No, score=-102.626 tagged_above=-999 required=5 tests=[AWL=-0.361, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E+Z3ruJiHM1C for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:20:23 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 5C0BD3A6BEF for <kitten@ietf.org>; Sun, 14 Nov 2010 10:20:23 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (dhcp-4d02.meeting.ietf.org [130.129.77.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id B19962032E; Sun, 14 Nov 2010 13:20:33 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 9D2FD4761; Sun, 14 Nov 2010 13:20:54 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Shawn M Emery <shawn.emery@oracle.com>
References: <4CDD45CD.5080602@oracle.com>
Date: Sun, 14 Nov 2010 13:20:54 -0500
In-Reply-To: <4CDD45CD.5080602@oracle.com> (Shawn M. Emery's message of "Fri,  12 Nov 2010 06:49:01 -0700")
Message-ID: <tsl62vzojg9.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 18:20:25 -0000

>>>>> "Shawn" == Shawn M Emery <shawn.emery@oracle.com> writes:

    Shawn> This starts a WG consensus call for the adoption of two new
    Shawn> work items to the charter:

    Shawn> SASL-SAML-EC
    Shawn> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec

    Shawn> SASL-OAuth:
    Shawn> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth

2. Adopt with the assumption
    Shawn> that there be a CB option specified for each mechanism


I support this option.
My rationale is that we have explored both mechanisms enough that we
believe we can do CB.

I don't think it would be desirable to come up with a solution that is
significantly less secure than what we've convinced ourselves we can
already accomplish.
IF we were to get to a point where we found we were unable to do a CB
mechanism for these it would indicate that a lot of our reasoning in
evaluating these mechanisms was flawed and we would need to rethink a
lot more than just CB.

From hartmans@mit.edu  Sun Nov 14 10:22:37 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9FB543A6BD7 for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:22:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.598
X-Spam-Level: 
X-Spam-Status: No, score=-102.598 tagged_above=-999 required=5 tests=[AWL=-0.333, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iF7QGhobGBsb for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:22:37 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 0711B3A6BC6 for <kitten@ietf.org>; Sun, 14 Nov 2010 10:22:36 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (dhcp-4d02.meeting.ietf.org [130.129.77.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id A17022032E; Sun, 14 Nov 2010 13:22:49 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 507AB4761; Sun, 14 Nov 2010 13:23:11 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Nicolas Williams <Nicolas.Williams@oracle.com>
References: <4CDD45CD.5080602@oracle.com> <20101112230504.GT6536@oracle.com>
Date: Sun, 14 Nov 2010 13:23:11 -0500
In-Reply-To: <20101112230504.GT6536@oracle.com> (Nicolas Williams's message of "Fri, 12 Nov 2010 17:05:05 -0600")
Message-ID: <tsl1v6nojcg.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 18:22:37 -0000

Nico, do you think making the PRF a strict requirement is desirable?
For example it seems like SAML EC could probably do CB but I'm not sure
about PRF.

From hartmans@mit.edu  Sun Nov 14 10:29:30 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 80BA03A6BC6 for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:29:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.53
X-Spam-Level: 
X-Spam-Status: No, score=-101.53 tagged_above=-999 required=5 tests=[AWL=-1.354, BAYES_05=-1.11, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_34=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zCqfM5jwTYAY for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:29:29 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id C59793A6BB6 for <kitten@ietf.org>; Sun, 14 Nov 2010 10:29:29 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (dhcp-4d02.meeting.ietf.org [130.129.77.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 6717B202E8; Sun, 14 Nov 2010 13:29:42 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 4BAB34761; Sun, 14 Nov 2010 13:30:03 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: mrex@sap.com
References: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp>
Date: Sun, 14 Nov 2010 13:30:03 -0500
In-Reply-To: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp> (Martin Rex's message of "Sat, 13 Nov 2010 05:25:52 +0100 (MET)")
Message-ID: <tslwrofn4gk.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 18:29:30 -0000

>>>>> "Martin" == Martin Rex <mrex@sap.com> writes:

    Martin> Nicolas Williams wrote:
    Martin> For me (4) is an absolute NO GO.  From the ~15 gssapi
    Martin> mechanisms that I know only 2 (Kerberos and DCE) support
    Martin> that nametype.  Basically none of the SPKM-like (see
    Martin> rfc2025) gssapi mechanisms supports hostbased service names.
    Martin> The way hostbased service names are defined in rfc-2743 (and
    Martin> had been implemented in Kerbeors 5 like that for at least a
    Martin> decade) are a REAL security problem.

Martin, note that Nico is only talking about what the IETF should work
on here in kitten.  He correctly argues that without hostbased services
names, the mechanism will be useless for IMAP, SSH, NFS,XMPP, LDAP and
HTTP.

In short, he's arguing that the IETF should only work on mechanisms that
will be useful for IETF application protocols.

I support that argument.

If you want to do work or encourage others to do work for
backwards-compatible support for other name forms in these applications,
I encourage you to do so.  If you succeed in that work, I think it would
be fine to relax this restriction.  I also think it's fine to work on
GSS-API mechanisms that do not support hostbased service names outside
of the IETF.  I just think it's reasonable and desirable for the IETF to
focus on mechanisms that work with its protocols.

From hartmans@mit.edu  Sun Nov 14 10:35:30 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BF66E3A6C35 for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:35:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.484
X-Spam-Level: 
X-Spam-Status: No, score=-102.484 tagged_above=-999 required=5 tests=[AWL=-0.219, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l1vYbIgk+6na for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:35:29 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 9BC8F3A6BF0 for <kitten@ietf.org>; Sun, 14 Nov 2010 10:35:21 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (dhcp-4d02.meeting.ietf.org [130.129.77.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id E1DBC2032E; Sun, 14 Nov 2010 13:35:30 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 4688E4761; Sun, 14 Nov 2010 13:35:52 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Eliot Lear <lear@cisco.com>
References: <201011130425.oAD4Pqq1028947@fs4113.wdf.sap.corp> <4CDE493C.7020900@cisco.com>
Date: Sun, 14 Nov 2010 13:35:52 -0500
In-Reply-To: <4CDE493C.7020900@cisco.com> (Eliot Lear's message of "Sat, 13 Nov 2010 09:15:56 +0100")
Message-ID: <tslsjz3n46v.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 18:35:30 -0000

>>>>> "Eliot" == Eliot Lear <lear@cisco.com> writes:

    Eliot> Before we get into a discussion of solutions, can we please
    Eliot> have a serious conversation about what channel binding means
    Eliot> in the context of federated identity and multiparty
    Eliot> exchanges, where we consider it from the angle of each party?
    Eliot> That is, the IdP, the SP/RP, the principal, and the
    Eliot> application(s)?

channel binding: the software acting on behalf of the principal and the
software acting on behalf of the SP MUST verify channel binding data
consistency.
The IDP and other parties may assist as desired; it is best if minimal
to no assistance is required.

That is, the user's software passes in channel binding data in
accordance with SASL or GSS. It's better defined for GSS, so I'll use
that context, although we do have code for the SASL case as well.  In
that case, the initiator passes in channel binding data to
gss_init_sec_context.

If the acceptor (SP/RP) passes in non-null channel binding data to
gss_accept_sec_context, the authentication MUST fail if these two
strings are not identical.

There is a lot of discussion of what data you should pass in.  That's
the same for federated and non-federated applications.

Note that I'm going to be proposing to expand these semantics slightly
in a couple of days in order to better support applications with HTTP as
a substrate.  That expansion will also be independent of federated vs
non-federated.

It's my belief that SAML EC and oauth can clearly meet this definition.

From simon@josefsson.org  Sun Nov 14 10:42:16 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BF8B23A6BED for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:42:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s9eyVxIhSvtk for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 10:42:09 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 89A193A6BF0 for <kitten@ietf.org>; Sun, 14 Nov 2010 10:42:08 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAEIgdXU014723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sun, 14 Nov 2010 19:42:40 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Sam Hartman <hartmans-ietf@mit.edu>
References: <4CDD45CD.5080602@oracle.com> <tsl62vzojg9.fsf__49041.5467102595$1289758878$gmane$org@carter-zimmerman.suchdamage.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101114:hartmans-ietf@mit.edu::eUWFY0iUkD3liG+U:0Ea6
X-Hashcash: 1:22:101114:kitten@ietf.org::jzlSxn6ER15bMdKv:HNX6
X-Hashcash: 1:22:101114:shawn.emery@oracle.com::Jg/PK9FGY0WEsk7+:JUmS
Date: Sun, 14 Nov 2010 19:43:00 +0100
In-Reply-To: <tsl62vzojg9.fsf__49041.5467102595$1289758878$gmane$org@carter-zimmerman.suchdamage.org> (Sam Hartman's message of "Sun, 14 Nov 2010 13:20:54 -0500")
Message-ID: <87r5eng30r.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 18:42:16 -0000

Sam Hartman <hartmans-ietf@mit.edu> writes:

>     Shawn> SASL-SAML-EC
>     Shawn> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
>
>     Shawn> SASL-OAuth:
>     Shawn> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
...
> My rationale is that we have explored both mechanisms enough that we
> believe we can do CB.

How would CB for OAuth work?

/Simon

From Nicolas.Williams@oracle.com  Sun Nov 14 11:37:06 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C7DB03A6BE1 for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 11:37:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.494
X-Spam-Level: 
X-Spam-Status: No, score=-6.494 tagged_above=-999 required=5 tests=[AWL=0.104,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uPdDaLkCWA8C for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 11:37:06 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 0E5E13A6BB1 for <kitten@ietf.org>; Sun, 14 Nov 2010 11:37:05 -0800 (PST)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAEJbhNR005379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 14 Nov 2010 19:37:44 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAEJMvnJ021187; Sun, 14 Nov 2010 19:37:42 GMT
Received: from abhmt004.oracle.com by acsmt354.oracle.com with ESMTP id 777755351289763376; Sun, 14 Nov 2010 11:36:16 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 14 Nov 2010 11:36:15 -0800
Date: Sun, 14 Nov 2010 13:36:11 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Message-ID: <20101114193610.GH6536@oracle.com>
References: <4CDD45CD.5080602@oracle.com> <20101112230504.GT6536@oracle.com> <tsl1v6nojcg.fsf@carter-zimmerman.suchdamage.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <tsl1v6nojcg.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 19:37:06 -0000

On Sun, Nov 14, 2010 at 01:23:11PM -0500, Sam Hartman wrote:
> Nico, do you think making the PRF a strict requirement is desirable?
> For example it seems like SAML EC could probably do CB but I'm not sure
> about PRF.

As I clarified, I want some form of key exchange because many Internet
application protocols depend on per-message tokens, and to me supporting
the PRF means being able to support per-message tokens.  However, I
think I'd be happy to use stacking and channel binding to achieve that.

Therefore, I'm willing to drop that element.  But maybe we should add a
work item to get the minimal TLS w/ anon DH + stacking mechanism done.

Nico
-- 

From Nicolas.Williams@oracle.com  Sun Nov 14 11:43:40 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 040553A6C40 for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 11:43:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.497
X-Spam-Level: 
X-Spam-Status: No, score=-6.497 tagged_above=-999 required=5 tests=[AWL=0.101,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mL53iIO0eiKE for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 11:43:39 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 93E0A3A6C4C for <kitten@ietf.org>; Sun, 14 Nov 2010 11:43:08 -0800 (PST)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAEJhkcg013354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <kitten@ietf.org>; Sun, 14 Nov 2010 19:43:47 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAEJDHV1008259 for <kitten@ietf.org>; Sun, 14 Nov 2010 19:43:46 GMT
Received: from abhmt005.oracle.com by acsmt354.oracle.com with ESMTP id 777760011289763734; Sun, 14 Nov 2010 11:42:14 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 14 Nov 2010 11:42:14 -0800
Date: Sun, 14 Nov 2010 13:42:10 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Shawn M Emery <shawn.emery@oracle.com>
Message-ID: <20101114194209.GJ6536@oracle.com>
References: <4CDD45CD.5080602@oracle.com> <20101112230504.GT6536@oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20101112230504.GT6536@oracle.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 19:43:40 -0000

On Fri, Nov 12, 2010 at 05:05:05PM -0600, Nicolas Williams wrote:
> These are the requirements I would demand of any mechanism in order to
> be adopted by KITTEN:
> 
>  - the mechanism MUST state what threat model it will meet
>    [...]
> 
>  - the mechanism MUST provide the following GSS-API mechanism features:
>     - mutual authentication (in the sense that the initiator and
>       acceptor are named, and also in the sense of confirmation)
>     - channel binding
>     - the GSS PRF 
>     - GSS_C_NT_HOSTBASED_SERVICE naming MUST be supported for acceptors[*]

After some thought I am dropping my requirement for PRF (or per-message
token) support.  The reason is that we could easily take a CB-only
mechanism and stack it on a mechanism that provides anonymous-anonymous
key exchange.

Nico
-- 

From prvs=19345326c6=jaltman@secure-endpoints.com  Sun Nov 14 15:56:23 2010
Return-Path: <prvs=19345326c6=jaltman@secure-endpoints.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8556D3A6924 for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 15:56:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.435
X-Spam-Level: 
X-Spam-Status: No, score=0.435 tagged_above=-999 required=5 tests=[AWL=-0.929,  BAYES_20=-0.74, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553,  RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zW3MgypA2yga for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 15:56:16 -0800 (PST)
Received: from www.secure-endpoints.com (unknown [208.125.0.227]) by core3.amsl.com (Postfix) with ESMTP id 434FF3A69AA for <kitten@ietf.org>; Sun, 14 Nov 2010 15:56:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=secure-endpoints.com; s=MDaemon; t=1289779015; x=1290383815; q=dns/txt; h=DomainKey-Signature:Received:Message-ID:Date:From: Organization:User-Agent:MIME-Version:To:Subject:References: In-Reply-To:OpenPGP:Content-Type:Reply-To; bh=rWBbRQYOMHuL9flOCh yR6elty5u7tkvGF1XtpWuAxVc=; b=iq9DKJUQbmVcez5MqKa3CAFQy+J64Sdk8t G14mNLcomgWg7SiwN+AsJ4//oKvwoxgHQqh8oRH2xEm5D7dCLz1kr2ZUpSi9EOKg 1vlLgIXti8v2lsuo5of80qiqrOPHTGet9uiLWavwrC3z2RSV4Y+mxxVNXBkO6BIp 8i1aGtqQs=
DomainKey-Signature: a=rsa-sha1; s=MDaemon; d=secure-endpoints.com; c=simple; q=dns; h=message-id:from; b=N1Rb6v40yL9/tMQsVwbIA0UVooZT4/cU2WYYNKZZQbWYuXXTxRM2jBd9Ldo6 8ypmQDvYpyuJZ93vtUC9zPE6Jqm8NNc1tLxZ5yvCnji/gYCTaEwM86rvA K4nwkxhKC/44bEuvbf9udjooyXwQJS6wZgzY+paOzm98TQExj42esU=;
X-MDAV-Processed: www.secure-endpoints.com, Sun, 14 Nov 2010 18:56:55 -0500
Received: from [172.17.16.146] by secure-endpoints.com (Cipher TLSv1:-SHA:128) (MDaemon PRO v11.0.3) with ESMTP id md50000054487.msg for <kitten@ietf.org>; Sun, 14 Nov 2010 18:56:53 -0500
X-Spam-Processed: www.secure-endpoints.com, Sun, 14 Nov 2010 18:56:53 -0500 (not processed: message from trusted or authenticated source)
X-Authenticated-Sender: jaltman@secure-endpoints.com
X-MDRemoteIP: 75.99.247.221
X-Return-Path: prvs=19345326c6=jaltman@secure-endpoints.com
X-Envelope-From: jaltman@secure-endpoints.com
X-MDaemon-Deliver-To: kitten@ietf.org
Message-ID: <4CE0773E.4030708@secure-endpoints.com>
Date: Sun, 14 Nov 2010 18:56:46 -0500
From: Jeffrey Altman <jaltman@secure-endpoints.com>
Organization: Secure Endpoints Inc.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b3pre Thunderbird/3.1.6
MIME-Version: 1.0
To: kitten@ietf.org
References: <4CDD45CD.5080602@oracle.com> <20101112230504.GT6536@oracle.com> <tsl1v6nojcg.fsf@carter-zimmerman.suchdamage.org>
In-Reply-To: <tsl1v6nojcg.fsf@carter-zimmerman.suchdamage.org>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://pgp.mit.edu
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig57E602C6DD60ABBE5BF600BC"
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jaltman@secure-endpoints.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 23:56:23 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig57E602C6DD60ABBE5BF600BC
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/14/2010 1:23 PM, Sam Hartman wrote:
> Nico, do you think making the PRF a strict requirement is desirable?
> For example it seems like SAML EC could probably do CB but I'm not sure=

> about PRF.

I would strongly prefer that there be both CB and PRF capabilities for
any new GSS mechanism.  Any mechanism that does not support PRF will not
be usable with the AFS rxgk security class.  There has been some
interest in using OAuth to authenticate AFS in the future.

Thank you.

Jeffrey Altman


--------------enig57E602C6DD60ABBE5BF600BC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBAgAGBQJM4HdAAAoJENxm1CNJffh4ArYIAODbSHBaJrWeI+Js4+AUSsln
2Z1x37MVzML/LVEpFKm9/zr1TjAKRKAyPD3kKZano0LVnYehT3FTSBc519ImBLWP
Dw4VQ1sx+C5NlW5LwSGdpbWg/sQg0KmlS1HwESpPpYs5erjMUTLNLCsz67Pj0Vxn
D0+zG/t5HwNvhE9DD0BZ1g9thGbsTlCt4NYhdbCnodBqdU5y5FxYhnVhV7ujy4dT
VRuRoRTmUonaaxLpP8RP9B11RkJhUbYkMffM3j3qHdNaNETQlp8Jb2nhZA5R/Zoc
hwVWlphegmnYg2zO+tdMbJbT+ut/wIqFO2EQ1hRExxnXTUvvF1iJVKTSol1q1IE=
=XSXn
-----END PGP SIGNATURE-----

--------------enig57E602C6DD60ABBE5BF600BC--


From hartmans@mit.edu  Sun Nov 14 15:59:01 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D21033A69AA for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 15:59:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.471
X-Spam-Level: 
X-Spam-Status: No, score=-102.471 tagged_above=-999 required=5 tests=[AWL=-0.206, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ScbOhJQUF4wA for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 15:58:55 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id E3C7A3A6924 for <kitten@ietf.org>; Sun, 14 Nov 2010 15:58:54 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (dhcp-4d02.meeting.ietf.org [130.129.77.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id AB7B8202C7; Sun, 14 Nov 2010 18:59:07 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id D574E4761; Sun, 14 Nov 2010 18:59:23 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Simon Josefsson <simon@josefsson.org>
References: <4CDD45CD.5080602@oracle.com> <tsl62vzojg9.fsf__49041.5467102595$1289758878$gmane$org@carter-zimmerman.suchdamage.org> <87r5eng30r.fsf@latte.josefsson.org>
Date: Sun, 14 Nov 2010 18:59:23 -0500
In-Reply-To: <87r5eng30r.fsf@latte.josefsson.org> (Simon Josefsson's message of "Sun, 14 Nov 2010 19:43:00 +0100")
Message-ID: <tslhbfjmp7o.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 14 Nov 2010 23:59:01 -0000

>>>>> "Simon" == Simon Josefsson <simon@josefsson.org> writes:

    Simon> Sam Hartman <hartmans-ietf@mit.edu> writes:
    Shawn> SASL-SAML-EC
    Shawn> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
    >> 
    Shawn> SASL-OAuth:
    Shawn> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
    Simon> ...
    >> My rationale is that we have explored both mechanisms enough that
    >> we believe we can do CB.

    Simon> How would CB for OAuth work?

oauth has two "signature" modes.  The first involves a "base string"
signed by an hmac. The second involves asymmetric signatures.  For the
first, include the channel binding data in the base string.  For the
second, it's not clear that it works well.  The hmac-based approach is
definitely preferred by the parts of the oauth community that use
signatures, Hannes says.

From hartmans@mit.edu  Sun Nov 14 16:00:49 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 05BAD3A6971 for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 16:00:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.459
X-Spam-Level: 
X-Spam-Status: No, score=-102.459 tagged_above=-999 required=5 tests=[AWL=-0.194, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8EWTZNCZEj2w for <kitten@core3.amsl.com>; Sun, 14 Nov 2010 16:00:48 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 5A3053A6924 for <kitten@ietf.org>; Sun, 14 Nov 2010 16:00:48 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (dhcp-4d02.meeting.ietf.org [130.129.77.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 6D5FC202C7; Sun, 14 Nov 2010 19:01:01 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 1CB544761; Sun, 14 Nov 2010 19:01:22 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Nicolas Williams <Nicolas.Williams@oracle.com>
References: <4CDD45CD.5080602@oracle.com> <20101112230504.GT6536@oracle.com> <tsl1v6nojcg.fsf@carter-zimmerman.suchdamage.org> <20101114193610.GH6536@oracle.com>
Date: Sun, 14 Nov 2010 19:01:22 -0500
In-Reply-To: <20101114193610.GH6536@oracle.com> (Nicolas Williams's message of "Sun, 14 Nov 2010 13:36:11 -0600")
Message-ID: <tsld3q7mp4d.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 00:00:49 -0000

OK.  I strongly support your original list of requirements with the PRF
a strong SHOULD instead of a MUST.

I  have specifically considered Martin's comments.
I agree we should add a comment that mechanisms MUST NOT depend on
insecure DNS for hostbased service suport, but disagree that we can drop
hostbased service names as a strong requirement.

From simon@josefsson.org  Mon Nov 15 01:53:03 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A03B33A6BE1 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 01:53:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64ujVP5fu2ab for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 01:52:58 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 6DF2E3A69C6 for <kitten@ietf.org>; Mon, 15 Nov 2010 01:52:58 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAF9rVQi030181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 15 Nov 2010 10:53:33 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Sam Hartman <hartmans-ietf@mit.edu>
References: <4CDD45CD.5080602@oracle.com> <tsl62vzojg9.fsf__49041.5467102595$1289758878$gmane$org@carter-zimmerman.suchdamage.org> <87r5eng30r.fsf@latte.josefsson.org> <tslhbfjmp7o.fsf@carter-zimmerman.suchdamage.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101115:kitten@ietf.org::0MWhyc3FdeNHSxLN:6Dn
X-Hashcash: 1:22:101115:hartmans-ietf@mit.edu::YMxE8xixyPDrwtGI:Uenh
Date: Mon, 15 Nov 2010 10:53:43 +0100
In-Reply-To: <tslhbfjmp7o.fsf@carter-zimmerman.suchdamage.org> (Sam Hartman's message of "Sun, 14 Nov 2010 18:59:23 -0500")
Message-ID: <871v6mhpzs.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 09:53:03 -0000

Sam Hartman <hartmans-ietf@mit.edu> writes:

>>>>>> "Simon" == Simon Josefsson <simon@josefsson.org> writes:
>
>     Simon> Sam Hartman <hartmans-ietf@mit.edu> writes:
>     Shawn> SASL-SAML-EC
>     Shawn> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
>     >> 
>     Shawn> SASL-OAuth:
>     Shawn> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
>     Simon> ...
>     >> My rationale is that we have explored both mechanisms enough that
>     >> we believe we can do CB.
>
>     Simon> How would CB for OAuth work?
>
> oauth has two "signature" modes.  The first involves a "base string"
> signed by an hmac. The second involves asymmetric signatures.  For the
> first, include the channel binding data in the base string.  For the
> second, it's not clear that it works well.  The hmac-based approach is
> definitely preferred by the parts of the oauth community that use
> signatures, Hannes says.

Are you talking about OAuth 1.0 aka RFC 5849?  OAuth 1.0 also supports
the "PLAINTEXT" signature mode.  I don't see any way to get a CB with
the PLAINTEXT mode.  So in the general case it seems difficult.

Note that draft-mills-kitten-sasl-oauth refers to OAuth 2.0 and not to
OAuth 1.0.  OAuth 2.0 does not support signatures but instead uses HTTP
authentication.

/Simon

From klaas@cisco.com  Mon Nov 15 02:06:20 2010
Return-Path: <klaas@cisco.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 804F63A6BE1 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 02:06:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nrGR2CF1LvBA for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 02:06:13 -0800 (PST)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by core3.amsl.com (Postfix) with ESMTP id 3E4EE3A6C1D for <kitten@ietf.org>; Mon, 15 Nov 2010 02:06:13 -0800 (PST)
Authentication-Results: ams-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AuMEAF6U4EyQ/khMgWdsb2JhbACiVhYBFiIioRKaO4VKBIpXixc
X-IronPort-AV: E=Sophos;i="4.59,199,1288569600"; d="scan'208";a="69248873"
Received: from ams-core-3.cisco.com ([144.254.72.76]) by ams-iport-1.cisco.com with ESMTP; 15 Nov 2010 10:06:53 +0000
Received: from macmini.wierenga.net (ams-kwiereng-8712.cisco.com [10.55.220.243]) by ams-core-3.cisco.com (8.14.3/8.14.3) with ESMTP id oAFA6rOI003191; Mon, 15 Nov 2010 10:06:53 GMT
Message-ID: <4CE1063D.9040005@cisco.com>
Date: Mon, 15 Nov 2010 11:06:53 +0100
From: Klaas Wierenga <klaas@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Sam Hartman <hartmans-ietf@mit.edu>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org>	<87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org>
In-Reply-To: <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: kitten@ietf.org
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 10:06:20 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/12/10 4:12 AM, Sam Hartman wrote:

Sam,

>>>>>> "Simon" == Simon Josefsson <simon@josefsson.org> writes:
> 
>     Simon> That applies to (the current) OPENID + SAML20, but would not
>     Simon> apply to SAML20EC with channel bindings, right?
> 
> Absolutely correct.
> 
> It's sounding a lot like it also applies to the oauth mech.

Why do you think sasl-saml could not support CB? I would think that in
principle the client could mix in some TLS stuff and as long as the IdP
is willing to carry that to the SP (coming in via the AuthN Request and
sent out in the AuthN statement)? Or am I missing something?
This would of course require the IdP to change, but as Scott is already
working on CB for SAML2 in OASIS that could be used in the future.

Klaas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzhBj0ACgkQH2Wy/p4XeFJnPACeOqcW2QXMewGqDm4S99ZUHhsO
UDkAn2FKmFvsTkH54juKRfmCVRbho2CW
=+z/5
-----END PGP SIGNATURE-----

From simon@josefsson.org  Mon Nov 15 03:07:59 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 540D23A6BE1 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 03:07:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eDA1KyXkdFfK for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 03:07:52 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 4A6593A6ABE for <kitten@ietf.org>; Mon, 15 Nov 2010 03:07:51 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAFB8NBO002088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 15 Nov 2010 12:08:25 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Klaas Wierenga <klaas@cisco.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101115:kitten@ietf.org::atnnefl3R/a3Pkb6:1F7j
X-Hashcash: 1:22:101115:klaas@cisco.com::wA2hLxJUrNBNo5lY:7YG9
X-Hashcash: 1:22:101115:hartmans-ietf@mit.edu::bzA3lpWrRWrJFygy:O33F
Date: Mon, 15 Nov 2010 12:08:34 +0100
In-Reply-To: <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> (Klaas Wierenga's message of "Mon, 15 Nov 2010 11:06:53 +0100")
Message-ID: <87wroeg7yl.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 11:07:59 -0000

Klaas Wierenga <klaas@cisco.com> writes:

> On 11/12/10 4:12 AM, Sam Hartman wrote:
>
> Sam,
>
>>>>>>> "Simon" == Simon Josefsson <simon@josefsson.org> writes:
>> 
>>     Simon> That applies to (the current) OPENID + SAML20, but would not
>>     Simon> apply to SAML20EC with channel bindings, right?
>> 
>> Absolutely correct.
>> 
>> It's sounding a lot like it also applies to the oauth mech.
>
> Why do you think sasl-saml could not support CB? I would think that in
> principle the client could mix in some TLS stuff and as long as the IdP
> is willing to carry that to the SP (coming in via the AuthN Request and
> sent out in the AuthN statement)? Or am I missing something?
> This would of course require the IdP to change, but as Scott is already
> working on CB for SAML2 in OASIS that could be used in the future.

That would work -- but it is not a solution if the IdP cannot be
modified, and I thought initially this was the background for the SAML20
mechanism?  I'm happy to see that change, though, to get _optional_ CB
support.

One unpleasant aspect of this is that the client needs to be able to
insert its local channel binding into the SAML AuthN request received
from the server, so that the SP (and IdP) can check that the CB is
correct, and/or also be able to parse the SAML AuthN request to extract
the CB used by the server, so the client can check that the CB is
correct.  This will be possible to implement, but requires some SAML
knowledge to the otherwise SAML-unaware SASL implementation.

/Simon

From klaas@cisco.com  Mon Nov 15 03:22:10 2010
Return-Path: <klaas@cisco.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8A9903A6B67 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 03:22:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e+pHc7-krEx6 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 03:22:03 -0800 (PST)
Received: from ams-iport-2.cisco.com (ams-iport-2.cisco.com [144.254.224.141]) by core3.amsl.com (Postfix) with ESMTP id 698BF3A6C68 for <kitten@ietf.org>; Mon, 15 Nov 2010 03:22:01 -0800 (PST)
Authentication-Results: ams-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AuMEAOOm4EyQ/khNgWdsb2JhbACiVhYBFiIioTuaWYVKBIpX
X-IronPort-AV: E=Sophos;i="4.59,199,1288569600"; d="scan'208";a="13337920"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-2.cisco.com with ESMTP; 15 Nov 2010 11:22:41 +0000
Received: from macmini.wierenga.net (ams-kwiereng-8712.cisco.com [10.55.220.243]) by ams-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id oAFBMfRt003058; Mon, 15 Nov 2010 11:22:41 GMT
Message-ID: <4CE11801.6080106@cisco.com>
Date: Mon, 15 Nov 2010 12:22:41 +0100
From: Klaas Wierenga <klaas@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Simon Josefsson <simon@josefsson.org>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org>	<87pqucm2b3.fsf@latte.josefsson.org>	<tslpqubkzet.fsf@carter-zimmerman.suchdamage.org>	<4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org>
In-Reply-To: <87wroeg7yl.fsf@latte.josefsson.org>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 11:22:10 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/15/10 12:08 PM, Simon Josefsson wrote:

Simon,

> Klaas Wierenga <klaas@cisco.com> writes:
> 
>> On 11/12/10 4:12 AM, Sam Hartman wrote:
>>
>> Sam,
>>
>>>>>>>> "Simon" == Simon Josefsson <simon@josefsson.org> writes:
>>>
>>>     Simon> That applies to (the current) OPENID + SAML20, but would not
>>>     Simon> apply to SAML20EC with channel bindings, right?
>>>
>>> Absolutely correct.
>>>
>>> It's sounding a lot like it also applies to the oauth mech.
>>
>> Why do you think sasl-saml could not support CB? I would think that in
>> principle the client could mix in some TLS stuff and as long as the IdP
>> is willing to carry that to the SP (coming in via the AuthN Request and
>> sent out in the AuthN statement)? Or am I missing something?
>> This would of course require the IdP to change, but as Scott is already
>> working on CB for SAML2 in OASIS that could be used in the future.
> 
> That would work -- but it is not a solution if the IdP cannot be
> modified, and I thought initially this was the background for the SAML20
> mechanism?  I'm happy to see that change, though, to get _optional_ CB
> support.

well, yes, not having to touch the IdP is a design goal. But I think we
all would like to see the overall security of the solution improve. So
if IdPs do support CB why not use it, so I would be happy to have an
optional CB.

> 
> One unpleasant aspect of this is that the client needs to be able to
> insert its local channel binding into the SAML AuthN request received
> from the server, so that the SP (and IdP) can check that the CB is
> correct, and/or also be able to parse the SAML AuthN request to extract
> the CB used by the server, so the client can check that the CB is
> correct.  This will be possible to implement, but requires some SAML
> knowledge to the otherwise SAML-unaware SASL implementation.

Hmm yes. Does the CB data have to be inside the AuthN Request? Can it
not be concatenated to it instead? I.e. can the client not treat the
SAML request as a blob?

Klaas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzhGAEACgkQH2Wy/p4XeFIThQCgvRiTD6jHYMXebKK/fNDiO6sn
KK8AoLG1/xcXB6JCK4acD3emCgfI0CFB
=GnIu
-----END PGP SIGNATURE-----

From simon@josefsson.org  Mon Nov 15 04:26:32 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C7E9D3A6C9F for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 04:26:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TlzqtCM2SqKS for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 04:26:32 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 9C0FE3A6C9E for <kitten@ietf.org>; Mon, 15 Nov 2010 04:26:31 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAFCR3RX006704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 15 Nov 2010 13:27:05 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Klaas Wierenga <klaas@cisco.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org> <4CE11801.6080106@cisco.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101115:hartmans-ietf@mit.edu::uHw4da6c1OVVLmSu:CAV
X-Hashcash: 1:22:101115:kitten@ietf.org::46Q0HV/Y99gs3zjg:0PbW
X-Hashcash: 1:22:101115:klaas@cisco.com::mD+bDO4T5bSQhkqG:98PI
Date: Mon, 15 Nov 2010 13:27:13 +0100
In-Reply-To: <4CE11801.6080106@cisco.com> (Klaas Wierenga's message of "Mon, 15 Nov 2010 12:22:41 +0100")
Message-ID: <87eiamg4bi.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 12:26:32 -0000

Klaas Wierenga <klaas@cisco.com> writes:

> well, yes, not having to touch the IdP is a design goal. But I think we
> all would like to see the overall security of the solution improve. So
> if IdPs do support CB why not use it, so I would be happy to have an
> optional CB.

Agreed.

>> One unpleasant aspect of this is that the client needs to be able to
>> insert its local channel binding into the SAML AuthN request received
>> from the server, so that the SP (and IdP) can check that the CB is
>> correct, and/or also be able to parse the SAML AuthN request to extract
>> the CB used by the server, so the client can check that the CB is
>> correct.  This will be possible to implement, but requires some SAML
>> knowledge to the otherwise SAML-unaware SASL implementation.
>
> Hmm yes. Does the CB data have to be inside the AuthN Request? Can it
> not be concatenated to it instead? I.e. can the client not treat the
> SAML request as a blob?

The problem then is how is the CB data cryptographically bound to the
SAML authentication?

For sake of thinking about it, consider if the TLS session between
client and server are anonymous and there is a MITM on it.  One way to
detect the MITM is to verify CB on the client and server side.  You
can't trust the TLS channel to provide data integrity of the CB data,
because of the MITM.

Putting the CB in the SAML negotiation is one obvious out-of-band (as
far as the TLS session is concerned) way to verify the CB.

I'm not saying there is no other way, just that I'm not seeing it.

Wild ideas could include deriving a key from the SAML authentication,
and using that to integrity check the CB.  However, since the client
presumably has no SAML knowledge, achieving that seems difficult.

Here is how it could work, in more detail:

1) The server adds the CB data in a SAML tag in the SAML AuthN request.

2) The client verify that the CB data is the same as it has locally.

   (Note, here a MITM could have replaced the CB data with something
   else, but that will detected later.)

3) The client sends the AuthN request off to the IdP, which copies the
   CB data into the SAML AuthN Statement.

4) The server verify that the CB data is the same as it sent.

   (This step will detect of there were a MITM.)

There is one potential problem with this: if the MITM is ALSO sitting
between the client and the IdP, it could replace the CB data, and
everything would look fine to both the client and server.  Thus, the
security considerations of this mechanism should describe this attack
and there should be a requirement that TLS with proper server
certificate validation MUST be used by the browser talking to the IdP.

/Simon

From hartmans@mit.edu  Mon Nov 15 07:08:38 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 332AD28C12F for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 07:08:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.265
X-Spam-Level: 
X-Spam-Status: No, score=-102.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmZ8YhIq-Aze for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 07:08:37 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 7231428C0EB for <kitten@ietf.org>; Mon, 15 Nov 2010 07:08:37 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (unknown [222.128.202.223]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 2B73F2029D; Mon, 15 Nov 2010 10:08:49 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id BC6F94761; Mon, 15 Nov 2010 10:09:12 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Simon Josefsson <simon@josefsson.org>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org>
Date: Mon, 15 Nov 2010 10:09:12 -0500
In-Reply-To: <87wroeg7yl.fsf@latte.josefsson.org> (Simon Josefsson's message of "Mon, 15 Nov 2010 12:08:34 +0100")
Message-ID: <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 15:08:38 -0000

The thing I'm most worried about here is how a client detects the
difference between an IDP that doesn't support CB and an attack.

From kwiereng@cisco.com  Mon Nov 15 05:51:03 2010
Return-Path: <kwiereng@cisco.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A10613A68D4 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 05:51:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.532
X-Spam-Level: 
X-Spam-Status: No, score=-8.532 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, RCVD_NUMERIC_HELO=2.067]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yNujeMsLe1bk for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 05:50:57 -0800 (PST)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 6BECD28C0EB for <kitten@ietf.org>; Mon, 15 Nov 2010 05:50:56 -0800 (PST)
Authentication-Results: sj-iport-6.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkYGAJLJ4EyrR7H+/2dsb2JhbACIDJpJAnGhVJpwhUoEileDEg
X-IronPort-AV: E=Sophos;i="4.59,200,1288569600"; d="scan'208";a="620373238"
Received: from sj-core-2.cisco.com ([171.71.177.254]) by sj-iport-6.cisco.com with ESMTP; 15 Nov 2010 13:51:38 +0000
Received: from xbh-ams-101.cisco.com (xbh-ams-101.cisco.com [144.254.74.71]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id oAFDp8ge002449; Mon, 15 Nov 2010 13:51:38 GMT
Received: from xmb-ams-101.cisco.com ([144.254.74.76]) by xbh-ams-101.cisco.com with Microsoft SMTPSVC(6.0.3790.4675);  Mon, 15 Nov 2010 14:51:37 +0100
Received: from 72.163.62.204 ([72.163.62.204]) by XMB-AMS-101.cisco.com ([144.254.74.76]) with Microsoft Exchange Server HTTP-DAV ;  Mon, 15 Nov 2010 13:51:37 +0000
Date: Mon, 15 Nov 2010 14:51:10 +0100
Message-ID: <0a1701cb84cc$38aa2dcd$cc3ea348@cisco.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5
Thread-Topic: sasl saml and sasl openID
Thread-Index: AcuEzDiqBQitTS29QLemWT810ncLXw==
From: "Klaas Wierenga (kwiereng)" <kwiereng@cisco.com>
To: "Simon Josefsson" <simon@josefsson.org>
X-OriginalArrivalTime: 15 Nov 2010 13:51:37.0531 (UTC) FILETIME=[390980B0:01CB84CC]
X-Mailman-Approved-At: Mon, 15 Nov 2010 07:36:49 -0800
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 13:51:04 -0000

Ehm, I was thinking of computing a key with the saml authn req and the key
material from tls as input, would that work?

Klaas

P.s sorry for the format, typing on my phone



Simon Josefsson <simon@josefsson.org> wrote:

Klaas Wierenga <klaas@cisco.com> writes:

> well, yes, not having to touch the IdP is a design goal. But I think we
> all would like to see the overall security of the solution improve. So
> if IdPs do support CB why not use it, so I would be happy to have an
> optional CB.

Agreed.

>> One unpleasant aspect of this is that the client needs to be able to
>> insert its local channel binding into the SAML AuthN request received
>> from the server, so that the SP (and IdP) can check that the CB is
>> correct, and/or also be able to parse the SAML AuthN request to extract
>> the CB used by the server, so the client can check that the CB is
>> correct.  This will be possible to implement, but requires some SAML
>> knowledge to the otherwise SAML-unaware SASL implementation.
>
> Hmm yes. Does the CB data have to be inside the AuthN Request? Can it
> not be concatenated to it instead? I.e. can the client not treat the
> SAML request as a blob?

The problem then is how is the CB data cryptographically bound to the
SAML authentication?

For sake of thinking about it, consider if the TLS session between
client and server are anonymous and there is a MITM on it.  One way to
detect the MITM is to verify CB on the client and server side.  You
can't trust the TLS channel to provide data integrity of the CB data,
because of the MITM.

Putting the CB in the SAML negotiation is one obvious out-of-band (as
far as the TLS session is concerned) way to verify the CB.

I'm not saying there is no other way, just that I'm not seeing it.

Wild ideas could include deriving a key from the SAML authentication,
and using that to integrity check the CB.  However, since the client
presumably has no SAML knowledge, achieving that seems difficult.

Here is how it could work, in more detail:

1) The server adds the CB data in a SAML tag in the SAML AuthN request.

2) The client verify that the CB data is the same as it has locally.

   (Note, here a MITM could have replaced the CB data with something
   else, but that will detected later.)

3) The client sends the AuthN request off to the IdP, which copies the
   CB data into the SAML AuthN Statement.

4) The server verify that the CB data is the same as it sent.

   (This step will detect of there were a MITM.)

There is one potential problem with this: if the MITM is ALSO sitting
between the client and the IdP, it could replace the CB data, and
everything would look fine to both the client and server.  Thus, the
security considerations of this mechanism should describe this attack
and there should be a requirement that TLS with proper server
certificate validation MUST be used by the browser talking to the IdP.

/Simon


From cantor.2@osu.edu  Mon Nov 15 07:52:01 2010
Return-Path: <cantor.2@osu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 121C128C18A for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 07:52:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IX+Dy7c17uE8 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 07:52:00 -0800 (PST)
Received: from defang19.it.ohio-state.edu (defang19.it.ohio-state.edu [128.146.216.133]) by core3.amsl.com (Postfix) with ESMTP id D725828C188 for <kitten@ietf.org>; Mon, 15 Nov 2010 07:51:58 -0800 (PST)
Received: from defang9.it.ohio-state.edu (defang9.it.ohio-state.edu [128.146.216.78]) by defang19.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAFFqXB2004903; Mon, 15 Nov 2010 10:52:33 -0500
Received: from SNOWDOG (SNOWDOG.dyn.cio.osu.edu [164.107.160.224]) by defang9.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAFFqXX6012349; Mon, 15 Nov 2010 10:52:33 -0500
From: "Scott Cantor" <cantor.2@osu.edu>
To: "'Klaas Wierenga \(kwiereng\)'" <kwiereng@cisco.com>
Date: Mon, 15 Nov 2010 10:52:33 -0500
Organization: The Ohio State University
Message-ID: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AcuE264dTU9Sj8GwQSaSnL7dQqszNA==
Content-Language: en-us
X-CanIt-Geo: ip=128.146.216.78; country=US; region=OH; city=Columbus; latitude=39.9968; longitude=-82.9882; metrocode=535; areacode=614; http://maps.google.com/maps?q=39.9968,-82.9882&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.133
Cc: kitten@ietf.org
Subject: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 15:52:01 -0000

Stipulating that there's some way to accomplish CB by passing something on
the URL you give to the browser, it seems like it's worth having a
discussion about the more fundamental differences between the mechanisms,
namely the use of a browser vs. a desktop client.

If you're going to change the IdP and strengthen the mechanism, then it
stands to reason that the main differences left would be the client UI and
the fact that the EC mechanism will have holder of key as an option. Maybe
the latter is enough to justify it in its own right, but if not (or if you
were to allow for client TLS in order to support the SAML HoK Browser
profile) that leaves the UI.

I've heard the claim that it's somehow less secure to put my credentials
into a desktop client. I can't say that I buy that, but perhaps that's a
subjective question. I know that I trust my mail client a heck of a lot more
than I trust any browser. I'm more swayed by the fact that a browser UI
makes it much easier to implement consent-based release of attributes and
that sort of thing.

I'm also concerned about mobile devices, which seem less amenable to
launching a browser and getting control back.

-- Scott



From wmills@yahoo-inc.com  Mon Nov 15 08:08:32 2010
Return-Path: <wmills@yahoo-inc.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 73F2528C0D0 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 08:08:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.598
X-Spam-Level: 
X-Spam-Status: No, score=-17.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RDNS_DOTCOM_HELO=0.001, USER_IN_DEF_WHITELIST=-15]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68wePl6S+Mwj for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 08:08:25 -0800 (PST)
Received: from mrout3.yahoo.com (mrout3.yahoo.com [216.145.54.173]) by core3.amsl.com (Postfix) with ESMTP id C139828B23E for <kitten@ietf.org>; Mon, 15 Nov 2010 08:08:25 -0800 (PST)
Received: from SP2-EX07CAS03.ds.corp.yahoo.com (sp2-ex07cas03.corp.sp2.yahoo.com [98.137.59.35]) by mrout3.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id oAFG8grr054850;  Mon, 15 Nov 2010 08:08:43 -0800 (PST)
Received: from SP2-EX07VS06.ds.corp.yahoo.com ([98.137.59.25]) by SP2-EX07CAS03.ds.corp.yahoo.com ([98.137.59.35]) with mapi; Mon, 15 Nov 2010 08:08:42 -0800
From: William Mills <wmills@yahoo-inc.com>
To: Simon Josefsson <simon@josefsson.org>, Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 15 Nov 2010 08:08:39 -0800
Thread-Topic: [kitten] WG Adoptions
Thread-Index: AcuEqw1+5YsMx5PPQla+cUB2ywYsUQAM8PZg
Message-ID: <FFDFD7371D517847AD71FBB08F9A3156257C720AD3@SP2-EX07VS06.ds.corp.yahoo.com>
References: <4CDD45CD.5080602@oracle.com> <tsl62vzojg9.fsf__49041.5467102595$1289758878$gmane$org@carter-zimmerman.suchdamage.org> <87r5eng30r.fsf@latte.josefsson.org> <tslhbfjmp7o.fsf@carter-zimmerman.suchdamage.org> <871v6mhpzs.fsf@latte.josefsson.org>
In-Reply-To: <871v6mhpzs.fsf@latte.josefsson.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 16:08:32 -0000

> -----Original Message-----
> From: kitten-bounces@ietf.org [mailto:kitten-bounces@ietf.org] On
> Behalf Of Simon Josefsson
> Sent: Monday, November 15, 2010 1:54 AM
> To: Sam Hartman
> Cc: kitten@ietf.org
> Subject: Re: [kitten] WG Adoptions
>=20
> Sam Hartman <hartmans-ietf@mit.edu> writes:
>=20
> >>>>>> "Simon" =3D=3D Simon Josefsson <simon@josefsson.org> writes:
> >
> >     Simon> Sam Hartman <hartmans-ietf@mit.edu> writes:
> >     Shawn> SASL-SAML-EC
> >     Shawn> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-
> ec
> >     >>
> >     Shawn> SASL-OAuth:
> >     Shawn> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
> >     Simon> ...
> >     >> My rationale is that we have explored both mechanisms enough
> that
> >     >> we believe we can do CB.
> >
> >     Simon> How would CB for OAuth work?
> >
> > oauth has two "signature" modes.  The first involves a "base string"
> > signed by an hmac. The second involves asymmetric signatures.  For
> the
> > first, include the channel binding data in the base string.  For the
> > second, it's not clear that it works well.  The hmac-based approach
> is
> > definitely preferred by the parts of the oauth community that use
> > signatures, Hannes says.
>=20
> Are you talking about OAuth 1.0 aka RFC 5849?  OAuth 1.0 also supports
> the "PLAINTEXT" signature mode.  I don't see any way to get a CB with
> the PLAINTEXT mode.  So in the general case it seems difficult.
>=20
> Note that draft-mills-kitten-sasl-oauth refers to OAuth 2.0 and not to
> OAuth 1.0.  OAuth 2.0 does not support signatures but instead uses HTTP
> authentication.

Signatures are very probably going to be part of the final OAuth 2.0 spec. =
 The draft design should allow 1.0a type OAuth as well, but it's outside th=
e scope of the draft.

>=20
> /Simon
> _______________________________________________
> Kitten mailing list
> Kitten@ietf.org
> https://www.ietf.org/mailman/listinfo/kitten

From klaas@cisco.com  Mon Nov 15 08:22:21 2010
Return-Path: <klaas@cisco.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E5D2528C188 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 08:22:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eVMtPYfeabqr for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 08:22:13 -0800 (PST)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by core3.amsl.com (Postfix) with ESMTP id 0B12B3A6BB3 for <kitten@ietf.org>; Mon, 15 Nov 2010 08:22:12 -0800 (PST)
Authentication-Results: ams-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AuMEAKvt4EyQ/khLgWdsb2JhbACiWBYBFiIiozebA4VKBIpXixc
X-IronPort-AV: E=Sophos;i="4.59,200,1288569600"; d="scan'208";a="69284681"
Received: from ams-core-2.cisco.com ([144.254.72.75]) by ams-iport-1.cisco.com with ESMTP; 15 Nov 2010 16:22:54 +0000
Received: from macmini.wierenga.net (ams-kwiereng-8712.cisco.com [10.55.220.243]) by ams-core-2.cisco.com (8.14.3/8.14.3) with ESMTP id oAFGMrZ6014564; Mon, 15 Nov 2010 16:22:54 GMT
Message-ID: <4CE15E5D.4060004@cisco.com>
Date: Mon, 15 Nov 2010 17:22:53 +0100
From: Klaas Wierenga <klaas@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Sam Hartman <hartmans-ietf@mit.edu>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org>	<87pqucm2b3.fsf@latte.josefsson.org>	<tslpqubkzet.fsf@carter-zimmerman.suchdamage.org>	<4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com>	<87wroeg7yl.fsf@latte.josefsson.org> <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org>
In-Reply-To: <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 16:22:22 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/15/10 4:09 PM, Sam Hartman wrote:
> The thing I'm most worried about here is how a client detects the
> difference between an IDP that doesn't support CB and an attack.

Ehm, I assume in our draft that the client configures the IdP and has an
existing trust relation with it, so it would be a matter of verifying
the server cert.

Klaas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzhXl0ACgkQH2Wy/p4XeFIe8wCeOd9JhTYOqKUG6WE2vJAYdSNM
IiYAnAhTwNw1dH4wCrldF9Np1JZ4V/1L
=UXI1
-----END PGP SIGNATURE-----

From mrex@sap.com  Mon Nov 15 08:22:38 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8BC4E28C1A6 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 08:22:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.752
X-Spam-Level: 
X-Spam-Status: No, score=-9.752 tagged_above=-999 required=5 tests=[AWL=-0.103, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hXjRveo3m6af for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 08:22:37 -0800 (PST)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 1412B28C1A3 for <kitten@ietf.org>; Mon, 15 Nov 2010 08:22:32 -0800 (PST)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id oAFGN75s012532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 17:23:12 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011151623.oAFGN66f029292@fs4113.wdf.sap.corp>
To: hartmans-ietf@mit.edu (Sam Hartman)
Date: Mon, 15 Nov 2010 17:23:06 +0100 (MET)
In-Reply-To: <tslwrofn4gk.fsf@carter-zimmerman.suchdamage.org> from "Sam Hartman" at Nov 14, 10 01:30:03 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 16:22:38 -0000

Sam Hartman wrote:
> 
> >>>>> "Martin" == Martin Rex <mrex@sap.com> writes:
> 
>     Martin> Nicolas Williams wrote:
>     Martin> For me (4) is an absolute NO GO.  From the ~15 gssapi
>     Martin> mechanisms that I know only 2 (Kerberos and DCE) support
>     Martin> that nametype.  Basically none of the SPKM-like (see
>     Martin> rfc2025) gssapi mechanisms supports hostbased service names.
>     Martin> The way hostbased service names are defined in rfc-2743 (and
>     Martin> had been implemented in Kerbeors 5 like that for at least a
>     Martin> decade) are a REAL security problem.
> 
> Martin, note that Nico is only talking about what the IETF should work
> on here in kitten.  He correctly argues that without hostbased services
> names, the mechanism will be useless for IMAP, SSH, NFS,XMPP, LDAP and
> HTTP.
> 
> In short, he's arguing that the IETF should only work on mechanisms that
> will be useful for IETF application protocols.

GSS-API has always been about **REAL** authentication.

I'm not aware of any protocol involving TLS for encryption of the
communication channel to perform authentication of the server.

What there is for HTTPS is an extremely weak "server endpoint identification"
as described in rfc2818 which identifies only a _host_, not a service,
and most protocols employing TLS are sharing that "server endpoint
identification" instead of defining an approach to securely authenticate
a server.

When you're using Kerberos, then the situation is less worrysome as
with X.509 certificate based authentication schemes, because in theory
it _should_ be possible to perform a secure canonicalize from a
hostbased service name into a Kerberos principal name (either locally
our through your trusted KDC), and after canonicalizing the name
into a Kerberos principal name, there is no more difference in
authenticating peers between servers and users.

When you create interrealm trust with other Kerberos realms, it is
essential for secure authentication of servers that you retain
strict control over the canonicalization of a hostbased service name
into a Kerberos principal -- so that admins realm A can
not subvert server authentication of servers in realm B by creating
suitable host credentials in _their_own_realm_.


The situation with TLS and a list of >100 omnipotent CAs, on the other
hand, is completely foobar as far as authentication of servers is
concerned.  Unless you ditch **ALL** of those pre-trusted RootCAs
that come with most TLS implementations, and add only _one_single_
organizational CA (with ZERO cross-CA weirdness) as trusted, it is
impossible to securely authenticate peers with TLS.  And the way
it is currently done with TLS, there is no distinction between
services, everything is a extremely naive matching of hostnames
with certificate attributes, and the whole "faith on TLS"  is
vitally dependent on WHOIS-lookups, open SMTP-E-Mail and the
procedures of a large number of CAs that bear ZERO liability towards
99.9999% of the internet users.


I would find it very sad if whe would lower the original security
value of GSS-API authentication to the faith&obscurity level of
todays "TLS PKI".


In its original design GSS-API performs name-based authentication,
so there is a requirement for strict control of the entire namespace
by a single administrative entity.  For Kerberos, the REALM name is
part of the (canonical) Kerberos principal name, so GSS-API does
work cross-realm as well.

For GSS-API mechanism based on X.509, like SPKM (rfc2025), names
are often the subject DName of the certificates, which requires
that either there is only _one_single_CA_ involved, or a
centrally administrated CA hierarchy with strict Name Constraints
to ensure that there can not be collisions between identities,
i.e. that _no_ two CAs may create a valid credential for the
same entity, independent wether that entity represents a user
or a server.


Artificially matching only parts of a hostbased service name
to attributes of an X.509 certificiate is a clear, significant and
serious breah of the GSS-API architecture, and one of important
GSS-API features that breaks when doing this is the capability
to canonicalize the name of the communication peer.  That is a
significant impediment for distributed computing, where
many components may need to establish communication channels
arbitrarily in either direction, and therefor need to pre-populate
ACLs with peers name ahead of time, locally canonicalizing the
name that they use when they are initiator for storing it in
the ACL for situations where they are acceptor.


Personally, I think it would be a very bad idea to adopt the
lack-of-server-authentication known from TLS for GSS-API. 


-Martin


From Nicolas.Williams@oracle.com  Mon Nov 15 09:29:11 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8433F28C1C5 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 09:29:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.499
X-Spam-Level: 
X-Spam-Status: No, score=-6.499 tagged_above=-999 required=5 tests=[AWL=0.099,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cn6JQSwDjKHc for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 09:29:10 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id B9DBE28C1C4 for <kitten@ietf.org>; Mon, 15 Nov 2010 09:29:10 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAFHTor8026644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 17:29:52 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAF44p6R006277; Mon, 15 Nov 2010 17:29:48 GMT
Received: from abhmt012.oracle.com by acsmt354.oracle.com with ESMTP id 780255191289842169; Mon, 15 Nov 2010 09:29:29 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 09:29:26 -0800
Date: Mon, 15 Nov 2010 11:29:16 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Message-ID: <20101115172914.GM6536@oracle.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org> <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 17:29:11 -0000

On Mon, Nov 15, 2010 at 10:09:12AM -0500, Sam Hartman wrote:
> The thing I'm most worried about here is how a client detects the
> difference between an IDP that doesn't support CB and an attack.

CB must be non-negotiable if the app wants to use CB.

From mrex@sap.com  Mon Nov 15 09:47:57 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5502B28C1D4 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 09:47:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.047
X-Spam-Level: 
X-Spam-Status: No, score=-10.047 tagged_above=-999 required=5 tests=[AWL=0.202, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W7UUkCavJJyp for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 09:47:49 -0800 (PST)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 932EE3A6B4F for <kitten@ietf.org>; Mon, 15 Nov 2010 09:47:49 -0800 (PST)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id oAFHmPHG028134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 18:48:30 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011151748.oAFHmNWV003795@fs4113.wdf.sap.corp>
To: Nicolas.Williams@oracle.com (Nicolas Williams)
Date: Mon, 15 Nov 2010 18:48:23 +0100 (MET)
In-Reply-To: <20101113085934.GE6536@oracle.com> from "Nicolas Williams" at Nov 13, 10 02:59:34 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 17:47:57 -0000

Nicolas Williams wrote:
> 
> On Sat, Nov 13, 2010 at 05:25:52AM +0100, Martin Rex wrote:
> > Nicolas Williams wrote:
> > > 
> > > These are the requirements I would demand of any mechanism in order to
> > > be adopted by KITTEN:
> > > 
> > >  - the mechanism MUST provide the following GSS-API mechanism features:
> > > (1) - mutual authentication (in the sense that the initiator and
> > >       acceptor are named, and also in the sense of confirmation)
> > > (2) - channel binding
> > > (3) - the GSS PRF 
> > > (4) - GSS_C_NT_HOSTBASED_SERVICE naming MUST be supported for acceptors[*]
> > 
> > I have some serious problems with these requirements in this order
> > of seriousness:  (4), (3), (2), (1)
> > 
> > For me (4) is an absolute NO GO.  From the ~15 gssapi mechanisms that
> > I know only 2 (Kerberos and DCE) support that nametype.  Basically
> > none of the SPKM-like (see rfc2025) gssapi mechanisms supports
> > hostbased service names.  The way hostbased service names are
> > defined in rfc-2743 (and had been implemented in Kerbeors 5 like
> > that for at least a decade) are a REAL security problem.
> 
> Martin, you have said this before, and sorry, but _Internet_ application
> protocols that exist today (I listed some) _require_ hostbased service
> names.

That is NOT true.  They use hostbased service names, but they do _NOT_
require them.  If there are specs that contain such a requirement,
that that specs contain an obvious defect.  And you seem to confuse
a birth defect of the Kerberos GSS-API mechanism to not work at all
in absence of an a-priori target name with GSS-API architecture.

Technically, if both communication peers use X.509 certs, it it would
be possible that both peers authenticate each other first, and then
both look up the peers name and decide after context establishment
whether the authenticated peer is the one each want to talk to.
(that is what TLS actually does at the protocol level).


A portable GSS-API application does _not_ have a problem with services
that use hostbased service names, but it will work just fine with
services that do not have such a requirement.

There also was never such a requirement in any version of TLS
as it is clearly indicated in the last sentence of section 1 of
every TLS spec:

  http://tools.ietf.org/html/rfc5246#page-5

                          The TLS standard, however, does not specify how
   protocols add security with TLS; the decisions on how to initiate TLS
   handshaking and how to interpret the authentication certificates
   exchanged are left to the judgment of the designers and implementors
   of protocols that run on top of TLS.


Considering how badly most TLS clients are configured (trusting hundreds
of completely independent and liability-free omnipotent CAs), it would
be clearly a defect of application specs to preclude a secure authencation
of servers based on their public key (alternatively the full server cert)
whenever the certificate attribute that is used to authenticate a server
could have been created by more than one of the trusted CAs.


>
> This doesn't mean that you cannot have Standards-Track
> mechanisms that don't support hostbased service names.  But it could
> mean that KITTEN WG may not host such work (emphasis on the "could" --
> we're deciding on that, aren't we?).

It would be very sad if kitten would blindly adopt the oversimplification
called "server endpoint identification" from what is done in TLS today.


> 
> I believe it is perfectly appropriate for an IETF WG considering work on
> Standards-Track GSS-API mechanisms to require features that are required
> by Internet application protocols.

The lack-of-depency to a particular nametype is a feature required
by GSS-API.

What you are asking for is not a new requirement, but the abolishment
of an existing key architecture principle of GSS-API.


> 
> Note, incidentally, that I didn't express a desire for per-message
> tokens even though most existing Internet applications that use the
> GSS-API depend on them.  There's a reason for this: I asked for PRF
> support, which implies keying, which implies that per-message tokens are
> definitely feasible.
> 
> > Similarly, GSS PRF is an fairly new optional feature, and it is
> > difficult to find implementatiosn that support it (I haven't
> > met any).
> 
> That's true, and yet _I_ want that as a requirement.  I have my reasons,
> namely: it makes the GSS-API much easier to use in contexts where you
> can't use per-message tokens.  In any case, see above.

But requiring message protection would make a lot more sense than PRF.
With the message protection primitive, you know that the gss-api
mechanism provides them with a sensible set of characteristics, and
the application on top of GSS-API does not need to be higly skilled
in cryptographic engineering to use the GSS-API message protection.

PRF, on the other hand, means that the application needs access to
low-level crypto functions and roll-its-own cryptographic engineering
to apply protection to data involving PRF output.  To me, that looks
EXTREMELY dangerous.


> 
> Let me then re-phrase my request for PRF support as: a request for
> keying.  Given keying one can trivially add per-message tokens and PRF
> support (say, by borrowing the ones from the Kerberos V5 mechanism).

Once you are applying GSS-API per-message protection to all application
data, there is absolutely no need for anything else, in particular
Channel-Bindings becomes a meaningless obscurity artifact.


As I previously wrote, the only time when GSS-API channel bindings
becomes useful, is when you are actually ABusing GSS-API, like
using only GSS-API authentication and doing message protection
with a completely different technology.  Only then it is necessary
to provide a cryptographic binding between the outsourced message
protection facilities with the original GSS-API authentication.
But in many cases it is the same as with outsourcing in the real world:
it is a bad idea that increases complexity and cost.


PRF_output from GSS and PRF_input to TLS could be used in a much more
efficient fashion for binding GSS-API authentication with a TLS channel
than what rfc4559 does today.  You could define a TLS extension that
can accomodate GSS-API initial context tokens and a modified
ClientKeyExchange handshake message that accomodates a third-leg
context token plus a protected message token (over the client and
server random) plus whatever this handshake message would normally
carry for the chosen TLS cipher suite.   That would work for
2-token and 3-token GSS-API authentications within the regular
TLS full handshake.  It would not provide confidentiality for the
GSS-API authentication exchange, and wouldn't work for GSS-API
mechanisms that can not provide message protection primitives.
The TLS session cache would have to carry the GSS-API authenticated
peer name along with potential other attributes that an application
might want to access on TLS session resume.  For vanilla GSS-API
and a single mechanism this should be easy and straightforward.

The more esoteric features an application would want to use from
GSS-API, the more difficult it becomes for maintaining the GSS-API
state for TLS session resume and for "authentication forwarding"
in case that TLS is terminated at an entry node of a distributed
backend system.


> 
> > The GSS-API channel bindings facility is also a underused feature,
> > and GSS-API is *MUCH* more usable without it.  Lots of gssapi
> > mechanisms do not implement it and even fewer apps use it.
> > The only time where I have seen channel bindings to be useful,
> > is for a clear abuse of GSS-API, where the Kerberos authentication
> > exchanges is misappropriated into an OTP-scheme.
> 
> This is no longer true, or it's about to no longer be true.  See
> SASL/GS2, SCRAM, ABFAB WG's work.


The point is that when you're doing GSS-API _correctly_, i.e. with
message protection, then GSS-API channel bindings is a real
obscurity artifact.  It provides _no_ security benefit, but may
create unnecessary problems for application level message routing
to achieve real end-to-end security.


I know that users of Kerberos don't see these kinds of problem,
since they can not work across arbitrary application proxies anyway,
they always need low-level direct connectivity to the KDC in order
to work.  IAKERB was one attempt to overcome this Kerberos shortcoming
for specific scenarios, but I don't know whether it has been implemented
yet.


> 
> > If the gssapi mechanism provides the message protection for the
> > entire communication, which is what GSS-API was originally
> > designed for, then there is absolutely no need for channel bindings
> > (and no need for GSS-PRF).
> 
> It'd be nice if the world was so simple that this were true.  But it's
> not.  The fact is that the SASL community doesn't want to bother with
> SASL security layers because most Internet SASL apps already have an
> option to use TLS -- to support two security layer protocols is a pain,
> yet TLS doesn't have the user authentication mechanisms that SASL and
> the GSS-API have, so the obvious solution (enshrined in SASL/GS2) is to
> do channel binding.

If you want vanilla GSS-API (abused as OTP-scheme) on top of vanilla TLS,
then I do not currently understand why you need PRF.  Passing tls-unique
channel bindings should be sufficient for that.


> 
> > Another possibility, for gss-api mechanisms that offer only unidirectional
> > authentication of the client to the server, is that these mechanisms
> > simply ignore the value of the target_name parameter.  The difficulty
> > here concerning hostbased service names: the target_name parameter
> > is an opaque type "gss_name_t" that must first be created through
> > calling gss_import_name() and it is much less obvious how to
> > "simply ignore the target name", because that means that trying
> > to import a hostbased service names is very likely to fail with an error.
> 
> One could provide GSS_C_NO_NAME.  But if you do this then channel
> binding loses meaning.

I currently fail to follow.  Where do you see a dependency between target
name and channel bindings.  tls-unique channel bindings should be secure
with only one communication peer being named/authenticated at GSS-API level.
tls-unique will even work securely with _fully_ anonymous GSS-API, but
that look somewhat like a silly waste of resources (unless you're
actually doing "blend-within-closed-group" instead of anonymous).


> 
> > Bottom line, an application that blindly expects "hostbased service names"
> > to be available for use as target names for gss_init_sec_context()
> > is NON-portable(!) gssapi-aware application.
> 
> Portability is not the issue.  Interoperability is.  All Internet GSS
> applications that I can think of require support for hostbased service
> names as acceptors (which is not to say that they require that acceptors
> always be hostbased services).

Which indicates that those application are all limited to
a very specific mechanism and simply won't work with the vast majority
of existing GSS-API mechanism.

But fixing them should be easy, just let the callers provide a
seperate parameter identifying the communication peer instead of
guessing it from the given network communication endpoint.  And
for GSS-API mechanisms that do not authenticate the server, get
rid of the assumption that a hostbased service name nametype_oid
is going to be recognized.

Assuming that users can authenticate pure ASCII hostname is already
dangerous.  But assuming users can authenticate IDNS hostnames from
the visual representation of unicode glyphs would be pretty naive,
and definitely insecure.

-Martin


From mrex@sap.com  Mon Nov 15 10:16:03 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9E64628C1EA for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 10:16:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.056
X-Spam-Level: 
X-Spam-Status: No, score=-10.056 tagged_above=-999 required=5 tests=[AWL=0.193, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BeBOKfKmZqat for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 10:16:02 -0800 (PST)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 48F5928C1D6 for <kitten@ietf.org>; Mon, 15 Nov 2010 10:16:02 -0800 (PST)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id oAFIFtil004970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 19:16:00 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011151815.oAFIFrYY005633@fs4113.wdf.sap.corp>
To: simon@josefsson.org (Simon Josefsson)
Date: Mon, 15 Nov 2010 19:15:53 +0100 (MET)
In-Reply-To: <87eiamg4bi.fsf@latte.josefsson.org> from "Simon Josefsson" at Nov 15, 10 01:27:13 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal04
X-SAP: out
Cc: kitten@ietf.org, hartmans-ietf@mit.edu
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 18:16:03 -0000

Simon Josefsson wrote:
> 
> >> One unpleasant aspect of this is that the client needs to be able to
> >> insert its local channel binding into the SAML AuthN request received
> >> from the server, so that the SP (and IdP) can check that the CB is
> >> correct, and/or also be able to parse the SAML AuthN request to extract
> >> the CB used by the server, so the client can check that the CB is
> >> correct.  This will be possible to implement, but requires some SAML
> >> knowledge to the otherwise SAML-unaware SASL implementation.
> >
> > Hmm yes. Does the CB data have to be inside the AuthN Request? Can it
> > not be concatenated to it instead? I.e. can the client not treat the
> > SAML request as a blob?
> 
> The problem then is how is the CB data cryptographically bound to the
> SAML authentication?
> 
> For sake of thinking about it, consider if the TLS session between
> client and server are anonymous and there is a MITM on it.  One way to
> detect the MITM is to verify CB on the client and server side.  You
> can't trust the TLS channel to provide data integrity of the CB data,
> because of the MITM.
> 
> Putting the CB in the SAML negotiation is one obvious out-of-band (as
> far as the TLS session is concerned) way to verify the CB.


I'm having serious difficulties to understand what is currently
discussed.   This could be because I do _not_ know how SAML works.

If you're talking about channel-bindings for GSS-API, then it is
about matching unique data supplied to gss_init_sec_context() by
the gss-api context initiator and supplied to gss_accept_sec_context()
by the gss-api context acceptor.

If you're talking about channel bindings provided by TLS, then
I'm thinking of the tls-unique CB established with the finished
handshake messages of the TLS handshake.

So if you want to protect the GSS-API authentication from your
client "C" to your server "S" with the help of channel bindings,
then the sequence of events need to be:


   C opens network connection with S
   C performs a complete TLS handhske with S
     => results in tls-unique channel bindings for both

   C calls gss_init_sec_context(CB=tls-unique-data)
      gss_init_sec_context() does whatever magic it needs to do
(**)  under the covers to bind the authentication to the supplied
      channel bindings -- while S is twiddling thumbs
   C performs GSS-API handshake with S
     => results in GSS-API authentication between C and S

If C has some secret keying material associated with that SAML thing,
then it might have some way to locally ensure the authentication is
cryptographically bound, otherwise it will have to start requesting
that SAML thingy during gss_init_sec_context() while both, Client
and Server are waiting.


-Martin

From Nicolas.Williams@oracle.com  Mon Nov 15 11:05:32 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 597B028C0D6 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 11:05:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level: 
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ffyJ5m93v2dg for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 11:05:31 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 516933A6C59 for <kitten@ietf.org>; Mon, 15 Nov 2010 11:05:31 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAFJ6AUX004627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 19:06:12 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAFIWnKc002282; Mon, 15 Nov 2010 19:06:08 GMT
Received: from abhmt002.oracle.com by acsmt355.oracle.com with ESMTP id 779525601289847927; Mon, 15 Nov 2010 11:05:27 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 11:05:26 -0800
Date: Mon, 15 Nov 2010 13:05:18 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Martin Rex <mrex@sap.com>
Message-ID: <20101115190517.GO6536@oracle.com>
References: <20101113085934.GE6536@oracle.com> <201011151748.oAFHmNWV003795@fs4113.wdf.sap.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201011151748.oAFHmNWV003795@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 19:05:32 -0000

On Mon, Nov 15, 2010 at 06:48:23PM +0100, Martin Rex wrote:
> Nicolas Williams wrote:
> > Martin, you have said this before, and sorry, but _Internet_ application
> > protocols that exist today (I listed some) _require_ hostbased service
> > names.
> 
> That is NOT true.  They use hostbased service names, but they do _NOT_
> require them.  If there are specs that contain such a requirement,
> that that specs contain an obvious defect.  And you seem to confuse
> a birth defect of the Kerberos GSS-API mechanism to not work at all
> in absence of an a-priori target name with GSS-API architecture.

 - SSHv2 w/ GSS-API (indicative language) requires hostbased service
   names for acceptors.

 - NFSv4 w/ RPCSEC_GSS requires (normative language) hostbased service
   names for acceptors.

 - SASL/GS2 requires (indicative language) hostbased service names for
   acceptors.

 - SASL/GS1 requires (indicative language) hostbased service names for
   acceptors.

 - DNS GSS-TSIG requires (indicative language) hostbased service names
   for acceptors (though it doesn't actually say anything about acceptor
   name types, it does use host-based service name syntax).

 - Only SOCKSv5 uses language that is not just not normative, but not
   even indicative (section 3.1, "For example, ..."), and, like DNS
   GSS-TSIG, doesn't even mention name types.

 - I believe SMB requires hostbased acceptor names (but then, SMB is not
   an Internet application).

> Technically, if both communication peers use X.509 certs, it it would
> be possible that both peers authenticate each other first, and then
> both look up the peers name and decide after context establishment
> whether the authenticated peer is the one each want to talk to.
> (that is what TLS actually does at the protocol level).

Yes, that's true.

> A portable GSS-API application does _not_ have a problem with services
> that use hostbased service names, but it will work just fine with
> services that do not have such a requirement.

Assuming that services have hostbased service names is a very nice
simplification for applications because hostnames (and implied service
names) are all users are likely to know.

Yes, apps could prompt the user as to whether to accept an acceptor's
name, and then record {hostname, exported GSS acceptor name} in an
ssh_known_hosts-like file.  Or they could look up the acceptor name in a
directory and see if it is allowed to respond for the hostname given by
the user.  Apps could even use the naming extensions to get at
attributes that can be used as inputs for the acceptor-name-to-hostname
authorization decision.  But I know of no implementations of any of the
apps listed above that do that.  I do agree with you that it'd be nice
if GSS apps did work as you suggest (and that it'd be nice to have a
version of the krb5 mech that doesn't require knowing the acceptor's
name a priori).

Again, note that I'm not saying that mechanisms can't be on the
Standards-Track unless they support host-based service names.  I'm
saying that I don't care to work on such mechanisms at KITTEN WG.

I'm prepared to be on the rough side of consensus on this, and I won't
be upset either -- it'll just be more work to do on SunSSH, for example.

But note that for some applications it will be very difficult to make
them work the way you say they should work.  NFS and SMB clients, for
example, are typically implemented in such a way that it's very hard to
go prompt a user as to whether a given acceptor name is acceptable for a
path a user was trying to access!

Nico
-- 

From mrex@sap.com  Mon Nov 15 11:09:38 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F309928C0E2 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 11:09:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.064
X-Spam-Level: 
X-Spam-Status: No, score=-10.064 tagged_above=-999 required=5 tests=[AWL=0.185, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tEW7Empi2j1E for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 11:09:31 -0800 (PST)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 265C028C1DE for <kitten@ietf.org>; Mon, 15 Nov 2010 11:09:30 -0800 (PST)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id oAFJA4p8016446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 20:10:09 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011151910.oAFJA3gV008738@fs4113.wdf.sap.corp>
To: simon@josefsson.org (Simon Josefsson)
Date: Mon, 15 Nov 2010 20:10:03 +0100 (MET)
In-Reply-To: <87eiamg4bi.fsf@latte.josefsson.org> from "Simon Josefsson" at Nov 15, 10 01:27:13 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: kitten@ietf.org, hartmans-ietf@mit.edu
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 19:09:38 -0000

Simon Josefsson wrote:
> 
> Klaas Wierenga <klaas@cisco.com> writes:
> > 
> > well, yes, not having to touch the IdP is a design goal. But I think we
> > all would like to see the overall security of the solution improve. So
> > if IdPs do support CB why not use it, so I would be happy to have an
> > optional CB.
> 
> Agreed.
>
> [...]
> 
> The problem then is how is the CB data cryptographically bound to the
> SAML authentication?


If and whether a gssapi mechanism can make channel bindings optional or
negotiated depends on how exactly channel bindings are implemented.

The Kerberos 5 gssapi mechanism defines channel bindings in a fashion
that it can be fully optional, though not all (server) implementations
might treat it as optional.

  https://tools.ietf.org/html/rfc1964#page-4

In Kerberos 5 gssapi mechanism, the channel bindings are represented
by an MD5 hash over the channel bindings travelling in the checksum
of the authenticator of the AP_REQ.  The server, when unwrapping the
authenticator can see whether the client inserted channel bindings,
and needs to fail only if the acceptor application also supplied
channel binding information and those do not match.  If the acceptor
application did not provide channel bindings, the server implementation
of the gssapi mechanism could decide to simply ignore channel bindings
conveyed by the initiator.  But this option is only available
because the channel bindings are seperately transfered in an
integrity-protected fashion (in Kerberos, CB also happen to be
transferred under encryption, but that is an implementation detail
of the Kerberos mechanism--GSS-API is very explicit that mechanisms
are allowed to transfer CB data in the clear).

If a much simpler authentication scheme, like a password-based
challenge-response authentication, is wrapped with GSS-API then
it might not be possible to make gss-api channel bindings optional
(or require a prior unauthenticated negotiation of the channel
bindings prior to the first call of gss_init_sec_context()
by the initiator.


-Martin

From jhutz@cmu.edu  Mon Nov 15 11:38:12 2010
Return-Path: <jhutz@cmu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5B9CF3A6D0E for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 11:38:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.47
X-Spam-Level: 
X-Spam-Status: No, score=-106.47 tagged_above=-999 required=5 tests=[AWL=0.129, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2+GVDEbCZ76Q for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 11:38:11 -0800 (PST)
Received: from smtp01.srv.cs.cmu.edu (SMTP01.SRV.CS.CMU.EDU [128.2.217.196]) by core3.amsl.com (Postfix) with ESMTP id 9CB733A6BDB for <kitten@ietf.org>; Mon, 15 Nov 2010 11:38:11 -0800 (PST)
Received: from MINBAR.FAC.CS.CMU.EDU (MINBAR.FAC.CS.CMU.EDU [128.2.216.42]) (authenticated bits=0) by smtp01.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id oAFJcpKH014337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Nov 2010 14:38:51 -0500 (EST)
Date: Mon, 15 Nov 2010 14:38:51 -0500
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@oracle.com>, Martin Rex <mrex@sap.com>
Message-ID: <A8DE84AF59A57D3FDCB0DAE9@minbar.fac.cs.cmu.edu>
In-Reply-To: <16377_1289847977_oAFJ6GPH022966_20101115190517.GO6536@oracle.com>
References: <20101113085934.GE6536@oracle.com> <201011151748.oAFHmNWV003795@fs4113.wdf.sap.corp> <16377_1289847977_oAFJ6GPH022966_20101115190517.GO6536@oracle.com>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.217.196
Cc: kitten@ietf.org, jhutz@cmu.edu
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 19:38:12 -0000

--On Monday, November 15, 2010 01:05:18 PM -0600 Nicolas Williams 
<Nicolas.Williams@oracle.com> wrote:

> But note that for some applications it will be very difficult to make
> them work the way you say they should work.  NFS and SMB clients, for
> example, are typically implemented in such a way that it's very hard to
> go prompt a user as to whether a given acceptor name is acceptable for a
> path a user was trying to access!

Nor would that be a win!  If you prompt the user, the answer will be "yeah, 
sure, I don't care; do whatever you want, just let me use my damn 
file/email/web page/whatever".

-- Jeff

From Nicolas.Williams@oracle.com  Mon Nov 15 13:00:42 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2382F3A6D36 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:00:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.504
X-Spam-Level: 
X-Spam-Status: No, score=-6.504 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y1+3tobWeezE for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:00:40 -0800 (PST)
Received: from rcsinet14.oracle.com (rcsinet14.oracle.com [148.87.113.126]) by core3.amsl.com (Postfix) with ESMTP id F3FD13A6D31 for <kitten@ietf.org>; Mon, 15 Nov 2010 13:00:33 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by rcsinet14.oracle.com (Sentrion-MP-4.0.0/Sentrion-MP-4.0.0) with ESMTP id oAFL1Fot002293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <kitten@ietf.org>; Mon, 15 Nov 2010 21:01:16 GMT
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAFL0RAY008483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 21:00:28 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAFJlOg5020303; Mon, 15 Nov 2010 21:00:27 GMT
Received: from abhmt002.oracle.com by acsmt353.oracle.com with ESMTP id 779883741289854756; Mon, 15 Nov 2010 12:59:16 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 12:59:11 -0800
Date: Mon, 15 Nov 2010 14:59:04 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20101115205904.GQ6536@oracle.com>
References: <20101113085934.GE6536@oracle.com> <201011151748.oAFHmNWV003795@fs4113.wdf.sap.corp> <16377_1289847977_oAFJ6GPH022966_20101115190517.GO6536@oracle.com> <A8DE84AF59A57D3FDCB0DAE9@minbar.fac.cs.cmu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <A8DE84AF59A57D3FDCB0DAE9@minbar.fac.cs.cmu.edu>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 21:00:42 -0000

On Mon, Nov 15, 2010 at 02:38:51PM -0500, Jeffrey Hutzelman wrote:
> On Monday, November 15, 2010 01:05:18 PM -0600 Nicolas Williams wrote:
> >But note that for some applications it will be very difficult to make
> >them work the way you say they should work.  NFS and SMB clients, for
> >example, are typically implemented in such a way that it's very hard to
> >go prompt a user as to whether a given acceptor name is acceptable for a
> >path a user was trying to access!
> 
> Nor would that be a win!  If you prompt the user, the answer will be
> "yeah, sure, I don't care; do whatever you want, just let me use my
> damn file/email/web page/whatever".

I know.  I do see how this could be "useful" (as in: better than
outright failure) in some cases, mainly those where your services have
certificates with no dNSName SAN, no fqdn in the subjectName.

But for me the bottom-line is that whenever a user only has a hostname
to work with, the application should be able to use that to name its
peer (here: the acceptor).

It's OK if some deployments can't handle that, and it's OK if some
implementations of apps can prompt the user or lookup the acceptor name
in a directory.  And I'd even be OK with recommending that implementors
support that.

Nico
-- 

From mrex@sap.com  Mon Nov 15 13:10:51 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9D8C63A6D2D for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:10:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.914
X-Spam-Level: 
X-Spam-Status: No, score=-9.914 tagged_above=-999 required=5 tests=[AWL=0.020,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GJd9k0A9Nthy for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:10:43 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id 020B63A6D45 for <kitten@ietf.org>; Mon, 15 Nov 2010 13:10:30 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oAFLBB26029808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 22:11:11 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011152111.oAFLB9mR015507@fs4113.wdf.sap.corp>
To: Nicolas.Williams@oracle.com (Nicolas Williams)
Date: Mon, 15 Nov 2010 22:11:09 +0100 (MET)
In-Reply-To: <20101115190517.GO6536@oracle.com> from "Nicolas Williams" at Nov 15, 10 01:05:18 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 21:10:51 -0000

Nicolas Williams wrote:
> 
> On Mon, Nov 15, 2010 at 06:48:23PM +0100, Martin Rex wrote:
> >
> > Nicolas Williams wrote:
> > > Martin, you have said this before, and sorry, but _Internet_ application
> > > protocols that exist today (I listed some) _require_ hostbased service
> > > names.
> > 
> > That is NOT true.  They use hostbased service names, but they do _NOT_
> > require them.  If there are specs that contain such a requirement,
> > that that specs contain an obvious defect.  And you seem to confuse
> > a birth defect of the Kerberos GSS-API mechanism to not work at all
> > in absence of an a-priori target name with GSS-API architecture.
> 
>  - SSHv2 w/ GSS-API (indicative language) requires hostbased service
>    names for acceptors.
> 
>  - NFSv4 w/ RPCSEC_GSS requires (normative language) hostbased service
>    names for acceptors.
> 
>  - SASL/GS2 requires (indicative language) hostbased service names for
>    acceptors.
> 
>  - SASL/GS1 requires (indicative language) hostbased service names for
>    acceptors.
> 
>  - DNS GSS-TSIG requires (indicative language) hostbased service names
>    for acceptors (though it doesn't actually say anything about acceptor
>    name types, it does use host-based service name syntax).


Where these are requirements, they are obviously _invalid_,
because they violate a fundamental design principle behind GSS-API.
The vast majority of folks active in the IETF dealing with GSS-API
is focused entirely on Kerberos on fairly blind to how GSS-API is
used outside of the IETF.  Implementations outside of the IETF
are fortunately much more aligned with the original GSS-API design.


Service based hostname have always been a purely optional part of the
GSS-API (which is why the nametype OID for it is from the MIT Kerberos
nametype tree).

The two early X.509 / PKI-based gssapi mechanisms (DEC DASS rfc1507
and SPKM rfc2025) work _completely_ without hostbased service names,
see e.g.:

  https://tools.ietf.org/html/rfc1507#section-1.2.5
  https://tools.ietf.org/html/rfc1507#page-24

  https://tools.ietf.org/html/rfc2025#section-3.1.1

and even DCE, which was derived from Kerberos, can work _without_
hostbased service names, relying on a secure directory service
to translate an abstract service name into a connection parameter
tuple (node-address, port, protocol, service principal).
DEC DASS similarly appears to rely on a secure directory (CDC)
for translating an abstract name into target-specific information.


> 
>  - Only SOCKSv5 uses language that is not just not normative, but not
>    even indicative (section 3.1, "For example, ..."), and, like DNS
>    GSS-TSIG, doesn't even mention name types.
> 
>  - I believe SMB requires hostbased acceptor names (but then, SMB is not
>    an Internet application).

Which is funny, because NTLM is a unidirectional authentication scheme...


> 
> > A portable GSS-API application does _not_ have a problem with services
> > that use hostbased service names, but it will work just fine with
> > services that do not have such a requirement.
> 
> Assuming that services have hostbased service names is a very nice
> simplification for applications because hostnames (and implied service
> names) are all users are likely to know.


Actually, this in twisting facts.  Hostbased service names imply
that people do not know abstract service names and auxiliary information
that would enable them authenticate a service (like ALL the carefully
checked attributes _other_ than the hostname in TLS EV server certs),
and that clients are too dumb to memorize server identies authenticated
by end users and admins, and therefore clients blindly supply the
target network endpoint address as the server/service name.


> 
> Yes, apps could prompt the user as to whether to accept an acceptor's
> name, and then record {hostname, exported GSS acceptor name} in an
> ssh_known_hosts-like file.

As SSH has been doing with host keys all the time -- correct!


>
> Or they could look up the acceptor name in a directory and see
> if it is allowed to respond for the hostname given by the user.

Correct, another option would be a protected tranformation of an
abstract service name through a _trusted_ naming service.
(DNSSEC does not quite fit, because only the lookup is protected,
 but the DNS contents can not be considered trusted, and there
 is no standard for apps to distingish a handful of trusted
 DNSSEC keys from millions of untrusted DNSSEC keys).


>
> Apps could even use the naming extensions to get at
> attributes that can be used as inputs for the acceptor-name-to-hostname
> authorization decision.  But I know of no implementations of any of the
> apps listed above that do that.

DCE was one such solution.  It wasn't particularly successful, but
not because of that specific solution detail, but rather it was killed
early in its infancy with an agressive license fee scheme.
(Similar to how EC-crypto is suffocated by licensing).


>
> I do agree with you that it'd be nice if GSS apps did work as you
> suggest (and that it'd be nice to have a version of the krb5 mech
> that doesn't require knowing the acceptor's name a priori).


It would be a bad idea to preclude protocols around GSS-API to
ever work in a really secure fashion.  Seeing how completly
negligent Kerberos and TLS have been about server authentication
is quite sad and disturbing.


When Kerberos started out, it was added into _many_ protocols in
an abusive fashion that reduced an originally secure architecture into
a unidirectional OTP-scheme.  NO ONE cared about server authentication.
But in order to obtain a Kerberos ticket for the server, one needs
to tell the KDC who one wants to talk to, so out of technical necessity
the hostbased service names were adopted.  And many services simply
shared the host key.

In order to demonstrate just how insignificant authentication of the
server was, a lot of protocols neither used message protection facilities
nor an AP_REP token in response to an AP_REQ.

But if you never authenticate your peers, just mechanically copy the
network endpoint address, then you also never get true mutual authentication,
even when you later decide to request and process AP_REQ and use
message protection facilities, unless you also fix your scheme to
match the identity of the target with the intent of the end user
of the technology.

And while the hostbased service principals used by Kerberos can
theoretically provide some protection, provided that the canonicalization
from hostbased service names can be performed in a protected and
trusted fashion (which rules out 100% of DNS and 99.9999% of DNSSEC),
the approach taken by TLS for X.509 server certs is a lost cause
as soon as there are independent trust anchors involved,
i.e. the lack-of-security shipping with every Web Browser.


> 
> Again, note that I'm not saying that mechanisms can't be on the
> Standards-Track unless they support host-based service names.  I'm
> saying that I don't care to work on such mechanisms at KITTEN WG.
> 
> I'm prepared to be on the rough side of consensus on this, and I won't
> be upset either -- it'll just be more work to do on SunSSH, for example.

I think that the IESG should wake up on this.

It is as if WGs would submit IPv4-protocol that will be absolutely
incompatible with IPv6.  Bad idea.


A security protocol that can only be used in an insecure fashion
is a bad idea.  I know that even the most secure protocols will be
configured and used in various insecure fashions.

But defining protocols so that they can not even be configured
in a secure fashion should be considered a serious problem.

GSS-API and hostbased service names are mutually exclusive
whenever local canonicalization of the service name into the
server principal name can not be performed in a trusted fashion,
independent of established security contexts.

A simplified unidirectional authentication scheme client->server
could decide to provide dummy transforms and ignore the target_name
parameter on gss_init_sec_context(), but that would result in
authentication failures due to invalid ACLs whenever such an
unidirectional authentication scheme is used in distributed
environments when that dummy name gets not only used as a target_name
but also for validating incoming requests established in the
reverse direction during the communication within a distributed
application infrastructure.


> 
> But note that for some applications it will be very difficult to make
> them work the way you say they should work.  NFS and SMB clients, for
> example, are typically implemented in such a way that it's very hard to
> go prompt a user as to whether a given acceptor name is acceptable for a
> path a user was trying to access!

When the user is authorized to cause the mounts himself, then he can
supply the name with the mount call.  Otherwise it is the admins task.

With smbmount on Linux, it is the default that you have to specify
even the _client_ name (plus "workgroup") on EVERY mount and obtain
an interactive prompt, whereas the server identity is completely
ignored because the server can not authenticated to the client with
NTLM.  For specifying an _arbitrary_ server principal, it would be
much easier, since you only have to provide the name, and that could
be easily written into /etc/mount.map because it does not need a
password/passphrase in contrast on one's own credential.

So for NFS and SMB, no such problem exists.  An arbitrary server's identity
is just another mount option.


-Martin

From lear@cisco.com  Mon Nov 15 13:21:14 2010
Return-Path: <lear@cisco.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B59D3A6C3E for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:21:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.799
X-Spam-Level: 
X-Spam-Status: No, score=-109.799 tagged_above=-999 required=5 tests=[AWL=0.800, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ALmb1MxZBaKh for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:21:12 -0800 (PST)
Received: from ams-iport-2.cisco.com (ams-iport-2.cisco.com [144.254.224.141]) by core3.amsl.com (Postfix) with ESMTP id 1D59D3A6C3D for <kitten@ietf.org>; Mon, 15 Nov 2010 13:21:11 -0800 (PST)
Authentication-Results: ams-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AuQEAJoz4UyQ/khLgWdsb2JhbACDRp8UFgEWIiKlO4ozkG+BIoFQgWVzBIpX
X-IronPort-AV: E=Sophos;i="4.59,202,1288569600"; d="scan'208";a="13374594"
Received: from ams-core-2.cisco.com ([144.254.72.75]) by ams-iport-2.cisco.com with ESMTP; 15 Nov 2010 21:21:52 +0000
Received: from ams3-vpn-dhcp6583.cisco.com (ams3-vpn-dhcp6583.cisco.com [10.61.89.182]) by ams-core-2.cisco.com (8.14.3/8.14.3) with ESMTP id oAFLLqnw031602; Mon, 15 Nov 2010 21:21:52 GMT
Message-ID: <4CE1A482.9090305@cisco.com>
Date: Mon, 15 Nov 2010 22:22:10 +0100
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Nicolas Williams <Nicolas.Williams@oracle.com>
References: <20101113085934.GE6536@oracle.com>	<201011151748.oAFHmNWV003795@fs4113.wdf.sap.corp> <20101115190517.GO6536@oracle.com>
In-Reply-To: <20101115190517.GO6536@oracle.com>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 21:21:14 -0000

Nico,

On 11/15/10 8:05 PM, Nicolas Williams wrote:
>
> Yes, apps could prompt the user as to whether to accept an acceptor's
> name, and then record {hostname, exported GSS acceptor name} in an
> ssh_known_hosts-like file.  Or they could look up the acceptor name in a
> directory and see if it is allowed to respond for the hostname given by
> the user.  Apps could even use the naming extensions to get at
> attributes that can be used as inputs for the acceptor-name-to-hostname
> authorization decision.  But I know of no implementations of any of the
> apps listed above that do that.  I do agree with you that it'd be nice
> if GSS apps did work as you suggest (and that it'd be nice to have a
> version of the krb5 mech that doesn't require knowing the acceptor's
> name a priori).

Sam and I had an exchange very much along these lines as a possible
addition to security considerations, in a slightly different context,
for the sasl-openid draft in particular.  My thought was perhaps
slightly rougher than this- which was when calling a browser for a
service that was already provisioned, perhaps have a parameter or an
option where the SASL application can request that certs not be
overriden.  This would be in Security Considerations, to allow for this
sort of experienced-based identity.  This takes into consideration that
many non-web-based applications are pre-provisioned.

I'd be curious what the group thinks about that.

Eliot

From Nicolas.Williams@oracle.com  Mon Nov 15 13:24:49 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A41D3A6A7B for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:24:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.349
X-Spam-Level: 
X-Spam-Status: No, score=-6.349 tagged_above=-999 required=5 tests=[AWL=-0.066, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, SARE_MILLIONSOF=0.315, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lsrmg1rpw12S for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:24:47 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id C07B33A6C3B for <kitten@ietf.org>; Mon, 15 Nov 2010 13:24:47 -0800 (PST)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAFLPRnZ001323 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 21:25:29 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAFJXjZq020400; Mon, 15 Nov 2010 21:25:25 GMT
Received: from abhmt010.oracle.com by acsmt355.oracle.com with ESMTP id 779956841289856308; Mon, 15 Nov 2010 13:25:08 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 13:25:07 -0800
Date: Mon, 15 Nov 2010 15:25:02 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Martin Rex <mrex@sap.com>
Message-ID: <20101115212502.GR6536@oracle.com>
References: <20101115190517.GO6536@oracle.com> <201011152111.oAFLB9mR015507@fs4113.wdf.sap.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201011152111.oAFLB9mR015507@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 21:24:50 -0000

On Mon, Nov 15, 2010 at 10:11:09PM +0100, Martin Rex wrote:
> Nicolas Williams wrote:
> > [...]
> 
> Where these are requirements, they are obviously _invalid_,
> because they violate a fundamental design principle behind GSS-API.

Well, right here, today, in KITTEN, Sam, Jeff H. and myself disagree
with you.

> The vast majority of folks active in the IETF dealing with GSS-API
> is focused entirely on Kerberos on fairly blind to how GSS-API is
> used outside of the IETF.  Implementations outside of the IETF
> are fortunately much more aligned with the original GSS-API design.

The issue is NOT the need to know the acceptor name a priori (a
krb5-ism).  The issue is that the app needs a trivial authorization
function for deciding whether a given acceptor name is allowed to
represent a host named by the user.

> Service based hostname have always been a purely optional part of the
> GSS-API (which is why the nametype OID for it is from the MIT Kerberos
> nametype tree).

Optional for the GSS-API.  Not optional for the applications I listed.
There's a difference between "framework" and "application" (and
"mechanism").

> The two early X.509 / PKI-based gssapi mechanisms (DEC DASS rfc1507
> and SPKM rfc2025) work _completely_ without hostbased service names,
> see e.g.:

I understand.  Of course, today people manage to encode hostnames into
PKIX certificates just fine, so I don't think I care at all about what
SPKM allowed (besides the fact that there's no SPKM implementations in
the wild, none that any of our customers use, and besides the fact that
there's a replacement for SPKM: MSFT's PKU2U).

You're fighting the war before the last war.  PKIX has moved on.

Are there any mechanisms not based on PKI that you support and that
can't handle hostbased service naming?  I suspect the answer is no, but
I'm curious.

> >  - I believe SMB requires hostbased acceptor names (but then, SMB is not
> >    an Internet application).
> 
> Which is funny, because NTLM is a unidirectional authentication scheme...

SMB also supports Kerberos.

> > Assuming that services have hostbased service names is a very nice
> > simplification for applications because hostnames (and implied service
> > names) are all users are likely to know.
> 
> Actually, this in twisting facts.  Hostbased service names imply
> that people do not know abstract service names and auxiliary information
> that would enable them authenticate a service (like ALL the carefully
> checked attributes _other_ than the hostname in TLS EV server certs),

Indeed, hostbased service names imply exactly that.

> and that clients are too dumb to memorize server identies authenticated
> by end users and admins, and therefore clients blindly supply the
> target network endpoint address as the server/service name.

Also that users are not capable of doing the relevant authorization
decision.

> > Yes, apps could prompt the user as to whether to accept an acceptor's
> > name, and then record {hostname, exported GSS acceptor name} in an
> > ssh_known_hosts-like file.
> 
> As SSH has been doing with host keys all the time -- correct!

And which I don't ever have to do given the nice Kerberos infrastructure
that I use.  The same is true for many of our customers.  Why should we
take a step backwards?

> > Or they could look up the acceptor name in a directory and see
> > if it is allowed to respond for the hostname given by the user.
> 
> Correct, another option would be a protected tranformation of an
> abstract service name through a _trusted_ naming service.

There's no such directories in place, however.

> (DNSSEC does not quite fit, because only the lookup is protected,
>  but the DNS contents can not be considered trusted, and there
>  is no standard for apps to distingish a handful of trusted
>  DNSSEC keys from millions of untrusted DNSSEC keys).

Please explain.

> > Again, note that I'm not saying that mechanisms can't be on the
> > Standards-Track unless they support host-based service names.  I'm
> > saying that I don't care to work on such mechanisms at KITTEN WG.
> > 
> > I'm prepared to be on the rough side of consensus on this, and I won't
> > be upset either -- it'll just be more work to do on SunSSH, for example.
> 
> I think that the IESG should wake up on this.

It's a bit early to involve the IESG.  At some point there will have to
be a consensus call on a charter modification for KITTEN WG.  If you end
up on the rough side of that consensus call then you could appeal.

> > But note that for some applications it will be very difficult to make
> > them work the way you say they should work.  NFS and SMB clients, for
> > example, are typically implemented in such a way that it's very hard to
> > go prompt a user as to whether a given acceptor name is acceptable for a
> > path a user was trying to access!
> 
> When the user is authorized to cause the mounts himself, then he can
> supply the name with the mount call.  Otherwise it is the admins task.

That's... not how the world works Martin.  Users don't "make mount
calls".  They don't run the "mount" command.  Users simply access
transparently automounted paths, some of which happen to by convention
be based on server names -- think of /net/server/path (standard fare on
Unix-type systems) or \\SERVER\Path (Windows UNCs).

> With smbmount on Linux, it is the default that you have to specify
> even the _client_ name (plus "workgroup") on EVERY mount and obtain
> an interactive prompt, whereas the server identity is completely
> ignored because the server can not authenticated to the client with
> NTLM.  For specifying an _arbitrary_ server principal, it would be
> much easier, since you only have to provide the name, and that could
> be easily written into /etc/mount.map because it does not need a
> password/passphrase in contrast on one's own credential.
> 
> So for NFS and SMB, no such problem exists.  An arbitrary server's
> identity is just another mount option.

To me the above shows that you're not using the same real-world systems
that I do.  At best we have different real-world scenarios.  However,
I'm pretty sure that users normally don't expect to be involved in
making server name authorization decisions.

Nico
-- 

From mrex@sap.com  Mon Nov 15 13:33:58 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 407253A693B for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:33:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.072
X-Spam-Level: 
X-Spam-Status: No, score=-10.072 tagged_above=-999 required=5 tests=[AWL=0.177, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lpLG2PCsAGq6 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:33:55 -0800 (PST)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 921643A6BCD for <kitten@ietf.org>; Mon, 15 Nov 2010 13:33:54 -0800 (PST)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id oAFLYYed004972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 22:34:35 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011152134.oAFLYX0Z016933@fs4113.wdf.sap.corp>
To: Nicolas.Williams@oracle.com (Nicolas Williams)
Date: Mon, 15 Nov 2010 22:34:33 +0100 (MET)
In-Reply-To: <20101115212502.GR6536@oracle.com> from "Nicolas Williams" at Nov 15, 10 03:25:02 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal04
X-SAP: out
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 21:33:58 -0000

Nicolas Williams wrote:
> 
> > > But note that for some applications it will be very difficult to make
> > > them work the way you say they should work.  NFS and SMB clients, for
> > > example, are typically implemented in such a way that it's very hard to
> > > go prompt a user as to whether a given acceptor name is acceptable for a
> > > path a user was trying to access!
> > 
> > When the user is authorized to cause the mounts himself, then he can
> > supply the name with the mount call.  Otherwise it is the admins task.
> 
> That's... not how the world works Martin.  Users don't "make mount
> calls".  They don't run the "mount" command.  Users simply access
> transparently automounted paths, some of which happen to by convention
> be based on server names -- think of /net/server/path (standard fare on
> Unix-type systems) or \\SERVER\Path (Windows UNCs).

That is _exactly_ how the world works.
On all the Unix machines that I have ever used or touched filesystems
are only mounted if they have an explicit entry either in /etc/fstab
or in /etc/mount.map.

Our Unix admins here maintain /etc/mount.map for every machine,
and are currently ~1060 explicit entries in /etc/mount.map with mount options.
Distributing a server name along with the mount options is a no-brainer.


Having your machine "transparently mount" remote directories is
what is currently haunting so many folks all over the internet
with "DLL injection vulnerabilities".


I definitely want my machine to only import/mount what I explicitly ask
for, just as I want my machine to export/share only what I explicitly
ask for.  Doing anything like that automatically is asking for trouble!


-Martin

From Nicolas.Williams@oracle.com  Mon Nov 15 13:42:15 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CA9C03A6D41 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:42:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.505
X-Spam-Level: 
X-Spam-Status: No, score=-6.505 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qMsRDSyBVmOB for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 13:42:14 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 260FA3A6D3F for <kitten@ietf.org>; Mon, 15 Nov 2010 13:42:14 -0800 (PST)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAFLgsnt009837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 21:42:55 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAFJXoYi020852; Mon, 15 Nov 2010 21:42:53 GMT
Received: from abhmt012.oracle.com by acsmt353.oracle.com with ESMTP id 780954921289857333; Mon, 15 Nov 2010 13:42:13 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 13:42:12 -0800
Date: Mon, 15 Nov 2010 15:42:01 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Martin Rex <mrex@sap.com>
Message-ID: <20101115214157.GS6536@oracle.com>
References: <20101115212502.GR6536@oracle.com> <201011152134.oAFLYX0Z016933@fs4113.wdf.sap.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201011152134.oAFLYX0Z016933@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 21:42:16 -0000

On Mon, Nov 15, 2010 at 10:34:33PM +0100, Martin Rex wrote:
> Nicolas Williams wrote:
> > 
> > > > But note that for some applications it will be very difficult to make
> > > > them work the way you say they should work.  NFS and SMB clients, for
> > > > example, are typically implemented in such a way that it's very hard to
> > > > go prompt a user as to whether a given acceptor name is acceptable for a
> > > > path a user was trying to access!
> > > 
> > > When the user is authorized to cause the mounts himself, then he can
> > > supply the name with the mount call.  Otherwise it is the admins task.
> > 
> > That's... not how the world works Martin.  Users don't "make mount
> > calls".  They don't run the "mount" command.  Users simply access
> > transparently automounted paths, some of which happen to by convention
> > be based on server names -- think of /net/server/path (standard fare on
> > Unix-type systems) or \\SERVER\Path (Windows UNCs).
> 
> That is _exactly_ how the world works.
> On all the Unix machines that I have ever used or touched filesystems
> are only mounted if they have an explicit entry either in /etc/fstab
> or in /etc/mount.map.

You've.. not met the automounter?  You've not met the special -hosts
automount map?

> Having your machine "transparently mount" remote directories is
> what is currently haunting so many folks all over the internet
> with "DLL injection vulnerabilities".

Who said you should be able to execute anything from /net automounts?

> I definitely want my machine to only import/mount what I explicitly ask
> for, just as I want my machine to export/share only what I explicitly
> ask for.  Doing anything like that automatically is asking for trouble!

So, WebDAV is bad too, yes?  Browsers in general are bad too, I suppose.

Nico
-- 

From simon@josefsson.org  Mon Nov 15 14:11:58 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 03A1828C103 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 14:11:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H8MKNOSCVrMW for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 14:11:54 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 2E44228C0EF for <kitten@ietf.org>; Mon, 15 Nov 2010 14:11:54 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAFMCQE6005229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 15 Nov 2010 23:12:28 +0100
From: Simon Josefsson <simon@josefsson.org>
To: "Klaas Wierenga \(kwiereng\)" <kwiereng@cisco.com>
References: <0a1701cb84cc$38aa2dcd$cc3ea348@cisco.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101115:kitten@ietf.org::8pueCb6U0Oi2hKRv:KBR
X-Hashcash: 1:22:101115:kwiereng@cisco.com::U/BA8LrqqtEf7xTs:J5c
X-Hashcash: 1:22:101115:hartmans-ietf@mit.edu::UFC4jEhiFv3h49RD:2HBj
Date: Mon, 15 Nov 2010 23:12:30 +0100
In-Reply-To: <0a1701cb84cc$38aa2dcd$cc3ea348@cisco.com> (Klaas Wierenga's message of "Mon, 15 Nov 2010 14:51:10 +0100")
Message-ID: <87eiam5j8x.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 22:11:58 -0000

"Klaas Wierenga (kwiereng)" <kwiereng@cisco.com> writes:

> Ehm, I was thinking of computing a key with the saml authn req and the key
> material from tls as input, would that work?

I don't see how -- both the saml authn req a client receives and
anything derived from the TLS channel is potentially known by the
attacker.  At least a simple approach like Key = HMAC(SAML-AuthN-Req,
CB), and then sending some data signed (HMAC-wise) with that key,
wouldn't work because the attacker can replace it.

However, here is a one way to reduce the SAML parsing knowledge the
client needs to have:

1) The server constructs the AuthN request, with a CB field populated
with a nonce string that is unique within the authn request.

2) The server sends to the client two fields: the authn request and the
nonce.

3) The client searches for the nonce within the authn request, replaces
it with its local CB data.

4) The client spawns the browser with the newly constructed authn
request and completes authentication in the browser.

5) The server retrieves that authn request+statement (are both possible
to get?) and checks that the authn request was identical to what it
sent, except for the s/nonce/CB/ substitution.  If everything looks
fine, the server accepts the client.

6) The client trusts the server to detect any MITMs with the CB data.

Again, security considerations needs to state that client<->IdP
communication MUST be server authenticated, to avoid attackers doing
MITM on both the client<->server and client<->IdP communication and
replacing CB in both channels.

Please tell me what I'm missing. :-)

/Simon

From cantor.2@osu.edu  Mon Nov 15 14:18:42 2010
Return-Path: <cantor.2@osu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 73F2A3A6D4D for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 14:18:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mP3krvY0jFaa for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 14:18:41 -0800 (PST)
Received: from defang20.it.ohio-state.edu (defang20.it.ohio-state.edu [128.146.216.134]) by core3.amsl.com (Postfix) with ESMTP id 6E4FF3A6D4A for <kitten@ietf.org>; Mon, 15 Nov 2010 14:18:41 -0800 (PST)
Received: from defang10.it.ohio-state.edu (defang10.it.ohio-state.edu [128.146.216.79]) by defang20.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAFMJMpr012707; Mon, 15 Nov 2010 17:19:22 -0500
Received: from SNOWDOG (SNOWDOG.dyn.cio.osu.edu [164.107.160.224]) by defang10.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAFMJLAE014146; Mon, 15 Nov 2010 17:19:21 -0500
From: "Scott Cantor" <cantor.2@osu.edu>
To: "'Simon Josefsson'" <simon@josefsson.org>, "'Klaas Wierenga \(kwiereng\)'" <kwiereng@cisco.com>
References: <0a1701cb84cc$38aa2dcd$cc3ea348@cisco.com> <87eiam5j8x.fsf@latte.josefsson.org>
In-Reply-To: <87eiam5j8x.fsf@latte.josefsson.org>
Date: Mon, 15 Nov 2010 17:19:22 -0500
Organization: The Ohio State University
Message-ID: <004401cb8513$27a66440$76f32cc0$@osu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQH2UCxFX6PoBND1TVaexDPyrq4hVwKCXzalkwlyJqA=
Content-language: en-us
X-CanIt-Geo: ip=128.146.216.79; country=US; region=OH; city=Columbus; latitude=39.9968; longitude=-82.9882; metrocode=535; areacode=614; http://maps.google.com/maps?q=39.9968,-82.9882&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.134
Cc: kitten@ietf.org, 'Sam Hartman' <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 22:18:42 -0000

> 3) The client searches for the nonce within the authn request, replaces
> it with its local CB data.

If the request is signed, you just broke it. It also adds far more parsing
to the client than you need.

> Again, security considerations needs to state that client<->IdP
> communication MUST be server authenticated, to avoid attackers doing
> MITM on both the client<->server and client<->IdP communication and
> replacing CB in both channels.

Assuming that's in play (as it is in EC), then you can do something similar
to what I'm doing. Just have the SP sign its CB into its AuthnRequest, and
have the client add its CB to the message to the IdP (you'd need a new
browser binding for this, essentially extending HTTP-Redirect).

The IdP authenticates both parties, compares the CB, and either fails the
request or fulfills it.

It's less structured than the EC version, which uses SOAP headers to carry
all the CB data and signaling, but it's analagous.

-- Scott



From jhutz@cmu.edu  Mon Nov 15 14:47:57 2010
Return-Path: <jhutz@cmu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F1F4A3A6D63 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 14:47:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.487
X-Spam-Level: 
X-Spam-Status: No, score=-106.487 tagged_above=-999 required=5 tests=[AWL=0.113, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1VsdrtiZ6DeZ for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 14:47:55 -0800 (PST)
Received: from smtp01.srv.cs.cmu.edu (SMTP01.SRV.CS.CMU.EDU [128.2.217.196]) by core3.amsl.com (Postfix) with ESMTP id 6B7BD3A6D5D for <kitten@ietf.org>; Mon, 15 Nov 2010 14:47:55 -0800 (PST)
Received: from LYSITHEA.FAC.CS.CMU.EDU (LYSITHEA.FAC.CS.CMU.EDU [128.2.172.62]) (authenticated bits=0) by smtp01.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id oAFMmaMZ019368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Nov 2010 17:48:36 -0500 (EST)
Date: Mon, 15 Nov 2010 17:48:35 -0500
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@oracle.com>, Martin Rex <mrex@sap.com>
Message-ID: <14A6A39478A3E2DEC69672EF@lysithea.fac.cs.cmu.edu>
In-Reply-To: <19429_1289857381_oAFLh00v023577_20101115214157.GS6536@oracle.com>
References: <20101115212502.GR6536@oracle.com> <201011152134.oAFLYX0Z016933@fs4113.wdf.sap.corp> <19429_1289857381_oAFLh00v023577_20101115214157.GS6536@oracle.com>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.217.196
Cc: kitten@ietf.org, jhutz@cmu.edu
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 22:47:57 -0000

--On Monday, November 15, 2010 03:42:01 PM -0600 Nicolas Williams 
<Nicolas.Williams@oracle.com> wrote:

> On Mon, Nov 15, 2010 at 10:34:33PM +0100, Martin Rex wrote:
>> Nicolas Williams wrote:
>> >
>> > > > But note that for some applications it will be very difficult to
>> > > > make them work the way you say they should work.  NFS and SMB
>> > > > clients, for example, are typically implemented in such a way that
>> > > > it's very hard to go prompt a user as to whether a given acceptor
>> > > > name is acceptable for a path a user was trying to access!
>> > >
>> > > When the user is authorized to cause the mounts himself, then he can
>> > > supply the name with the mount call.  Otherwise it is the admins
>> > > task.
>> >
>> > That's... not how the world works Martin.  Users don't "make mount
>> > calls".  They don't run the "mount" command.  Users simply access
>> > transparently automounted paths, some of which happen to by convention
>> > be based on server names -- think of /net/server/path (standard fare on
>> > Unix-type systems) or \\SERVER\Path (Windows UNCs).
>>
>> That is _exactly_ how the world works.
>> On all the Unix machines that I have ever used or touched filesystems
>> are only mounted if they have an explicit entry either in /etc/fstab
>> or in /etc/mount.map.
>
> You've.. not met the automounter?  You've not met the special -hosts
> automount map?

Or AFS, which supports (requires, really) objects in the filesystem that 
are references to other volumes?  Or Microsoft dfs, which does something 
similar?  Or NFSv4, which I believe also has something similar?

Or... the list goes on.

Also, we're talking about "the world", or at least the Internet, not just 
UNIX.

-- Jeff

From mrex@sap.com  Mon Nov 15 14:52:01 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4515A3A6D6A for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 14:52:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.079
X-Spam-Level: 
X-Spam-Status: No, score=-10.079 tagged_above=-999 required=5 tests=[AWL=0.170, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zAA5JgnxbOP6 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 14:51:56 -0800 (PST)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id E1A3C3A6D5A for <kitten@ietf.org>; Mon, 15 Nov 2010 14:51:55 -0800 (PST)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id oAFMqboO012636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 23:52:37 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011152252.oAFMqa18021253@fs4113.wdf.sap.corp>
To: Nicolas.Williams@oracle.com (Nicolas Williams)
Date: Mon, 15 Nov 2010 23:52:36 +0100 (MET)
In-Reply-To: <20101115214157.GS6536@oracle.com> from "Nicolas Williams" at Nov 15, 10 03:42:01 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 22:52:01 -0000

Nicolas Williams wrote:
> 
> > > 
> > > That's... not how the world works Martin.  Users don't "make mount
> > > calls".  They don't run the "mount" command.  Users simply access
> > > transparently automounted paths, some of which happen to by convention
> > > be based on server names -- think of /net/server/path (standard fare on
> > > Unix-type systems) or \\SERVER\Path (Windows UNCs).

Windows has NEVER EVER cared about authenticating servers.
Windows UNC pathes \\Server\Path were designed for and with NTLM
where there is not even a protocol element to authenticate the server.

And while it might be theoretically possible to use Kerberos
with SMB, I have never seen any Windows installations using it.
In particular, I find myself completely unable to cause my Win2K3 as well
as my Win7 VMware image to even try using it when accessing production
Windows servers.  Even if it would work, I assume that causing a
fallback to NTLM wouldn't be that difficult.

Looking at the wireshark trace, I wonder whether an empty "signature"
field in the SMB header indicates what the name suggests ...


> 
> > That is _exactly_ how the world works.
> > On all the Unix machines that I have ever used or touched filesystems
> > are only mounted if they have an explicit entry either in /etc/fstab
> > or in /etc/mount.map.
> 
> You've.. not met the automounter?  You've not met the special -hosts
> automount map?

"/etc/mount.map" _IS_ used by the automounter,
and probably known to everyone who is using the automounter securely.

That is an obvious security problem.
Maybe not as bad as doing "xhost +", "echo * > .rhosts",
"echo '/ *(rw)' > /etc/exports", but just marginally.


> 
> > Having your machine "transparently mount" remote directories is
> > what is currently haunting so many folks all over the internet
> > with "DLL injection vulnerabilities".
> 
> Who said you should be able to execute anything from /net automounts?

The method known to secure a wildcard automounting facility
is to disable all networking and make it a single user machine.

Everything else amounts to varying levels of obscurity.


> 
> > I definitely want my machine to only import/mount what I explicitly ask
> > for, just as I want my machine to export/share only what I explicitly
> > ask for.  Doing anything like that automatically is asking for trouble!
> 
> So, WebDAV is bad too, yes?


You mean the transparent mounting that makes the "DLL injection" and
"EXE injection" vulnerabilities such a huge problem on Windows?

Yup.  BAD BAD BAD idea.  Every day I learn new reasons why it has
been a good idea that during all those years I have never revealed
to MSIE/winhttp of those machines I administrate the address of the
internet proxy.


>
> Browsers in general are bad too, I suppose..

Not all of them in the same way.  The ability to reliably disable
active content is important.

More and more websites are much worse than browsers, because they're
barely usable, if at all, when active content in the browser is disabled.
So I sometimes need a secure virtualization with a throw-away
(or un-doable) installation when there is a need to access something
over the internet that absolutely doesn't work with active content disabled.


But since practising any meaningful level of internet hygiene far
exceeds the skill level of Joe Average, security of the internet at
large appears to be a long lost cause.

But that doesn't mean that the IETF should impair the security technologies
so badly that those who care about security can no longer get it working
securely because implementations do no longer offer the necessary
configurability and are instead hardwired to an epsilon close to zero,
similar to what was inflicted on web browsers ~15 years ago.


-Martin

From hartmans@mit.edu  Mon Nov 15 15:26:01 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BB15428C103 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 15:26:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.265
X-Spam-Level: 
X-Spam-Status: No, score=-102.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KaNgRK5JFZy4 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 15:26:00 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 9692C28C0DF for <kitten@ietf.org>; Mon, 15 Nov 2010 15:26:00 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (unknown [222.128.202.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id A539B20239; Mon, 15 Nov 2010 18:26:14 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 583154761; Mon, 15 Nov 2010 18:26:39 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Nicolas Williams <Nicolas.Williams@oracle.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org> <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org> <20101115172914.GM6536@oracle.com>
Date: Mon, 15 Nov 2010 18:26:39 -0500
In-Reply-To: <20101115172914.GM6536@oracle.com> (Nicolas Williams's message of "Mon, 15 Nov 2010 11:29:16 -0600")
Message-ID: <tslr5emkw28.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 23:26:01 -0000

>>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@oracle.com> writes:

    Nicolas> On Mon, Nov 15, 2010 at 10:09:12AM -0500, Sam Hartman wrote:
    >> The thing I'm most worried about here is how a client detects the
    >> difference between an IDP that doesn't support CB and an attack.

    Nicolas> CB must be non-negotiable if the app wants to use CB.


OK, then I'd probably vote against supporting CB for SAML20.
My concern is that if we do, it will discourage apps from using CB
because it will significantly decrease their interoperability.

From Nicolas.Williams@oracle.com  Mon Nov 15 15:28:00 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E51928C1D8 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 15:28:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.507
X-Spam-Level: 
X-Spam-Status: No, score=-6.507 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c9rMsdCRTLKM for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 15:27:59 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 5E64328C1D7 for <kitten@ietf.org>; Mon, 15 Nov 2010 15:27:59 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAFNSdSd024358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Nov 2010 23:28:41 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAFNSbAG007470; Mon, 15 Nov 2010 23:28:37 GMT
Received: from abhmt015.oracle.com by acsmt353.oracle.com with ESMTP id 780264581289863706; Mon, 15 Nov 2010 15:28:26 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 15:28:25 -0800
Date: Mon, 15 Nov 2010 17:28:21 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Message-ID: <20101115232820.GW6536@oracle.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org> <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org> <20101115172914.GM6536@oracle.com> <tslr5emkw28.fsf@carter-zimmerman.suchdamage.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <tslr5emkw28.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 23:28:00 -0000

On Mon, Nov 15, 2010 at 06:26:39PM -0500, Sam Hartman wrote:
> >>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@oracle.com> writes:
> 
>     Nicolas> On Mon, Nov 15, 2010 at 10:09:12AM -0500, Sam Hartman wrote:
>     >> The thing I'm most worried about here is how a client detects the
>     >> difference between an IDP that doesn't support CB and an attack.
> 
>     Nicolas> CB must be non-negotiable if the app wants to use CB.
> 
> 
> OK, then I'd probably vote against supporting CB for SAML20.
> My concern is that if we do, it will discourage apps from using CB
> because it will significantly decrease their interoperability.

What apps are we talking about?  Remember, SASL/GS2 does make CB
negotiable, while straight GSS-API makes it non-negotiable.

Nico
-- 

From lukeh@padl.com  Mon Nov 15 15:35:13 2010
Return-Path: <lukeh@padl.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 52AA728C1DE for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 15:35:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 615ldkqruolh for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 15:35:12 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by core3.amsl.com (Postfix) with ESMTP id 9C3DB28C1C8 for <kitten@ietf.org>; Mon, 15 Nov 2010 15:35:11 -0800 (PST)
Received: by us.padl.com  with ESMTP id oAFNZgZ3020081; Mon, 15 Nov 2010 18:35:46 -0500
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <201011152252.oAFMqa18021253@fs4113.wdf.sap.corp>
Date: Tue, 16 Nov 2010 10:35:46 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <0983A7EA-31E6-4D4A-B1D8-A0198A594BEC@padl.com>
References: <201011152252.oAFMqa18021253@fs4113.wdf.sap.corp>
To: mrex@sap.com
X-Mailer: Apple Mail (2.1081)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -0.5
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 23:35:13 -0000

> And while it might be theoretically possible to use Kerberos
> with SMB, I have never seen any Windows installations using it.

That doesn't correspond with my experience; it does support mutual =
authentication, too.

> In particular, I find myself completely unable to cause my Win2K3 as =
well
> as my Win7 VMware image to even try using it when accessing production
> Windows servers.  Even if it would work, I assume that causing a
> fallback to NTLM wouldn't be that difficult.


Do you have Active Directory setup and the machines joined to a domain?

-- Luke=

From hartmans@mit.edu  Mon Nov 15 15:38:22 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D749128C1A7 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 15:38:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.265
X-Spam-Level: 
X-Spam-Status: No, score=-102.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YzBPd+xc-Ymr for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 15:38:21 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 8DB9D28C0E2 for <kitten@ietf.org>; Mon, 15 Nov 2010 15:38:21 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (unknown [222.128.202.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 4156120239; Mon, 15 Nov 2010 18:38:36 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 600784761; Mon, 15 Nov 2010 18:39:00 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: mrex@sap.com
References: <201011151623.oAFGN66f029292@fs4113.wdf.sap.corp>
Date: Mon, 15 Nov 2010 18:39:00 -0500
In-Reply-To: <201011151623.oAFGN66f029292@fs4113.wdf.sap.corp> (Martin Rex's message of "Mon, 15 Nov 2010 17:23:06 +0100 (MET)")
Message-ID: <tslmxpakvhn.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 15 Nov 2010 23:38:22 -0000

>>>>> "Martin" == Martin Rex <mrex@sap.com> writes:
    Martin> Artificially matching only parts of a hostbased service name
    Martin> to attributes of an X.509 certificiate is a clear,
    Martin> significant and serious breah of the GSS-API architecture,
    Martin> and one of important GSS-API features that breaks when doing
    Martin> this is the capability to canonicalize the name of the
    Martin> communication peer.  That is a significant impediment for
    Martin> distributed computing, where many components may need to
    Martin> establish communication channels arbitrarily in either
    Martin> direction, and therefor need to pre-populate ACLs with peers
    Martin> name ahead of time, locally canonicalizing the name that
    Martin> they use when they are initiator for storing it in the ACL
    Martin> for situations where they are acceptor.

I understand this limitation.
Your argument is certainly valid.

The problem here is that we've both been using GSS-API for a number of
years but we've been using it in different contexts, depending on
different aspects of the architecture.

I think we're forced to maintain either the canonicalization ability
above, or the ability to work with existing IETF uses of GSS-API.

My personal opinion is that while I agree with you that there are
drawbacks, the IETF needs to maintain the ability to work with its
applications.

I believe that we can and should mandate secure canonicalization of
GSS-API hostbased service names, although I do not guarantee that
gss_canonicalize_name will do what you like.  We're about to have a
discussion of that behavior for gss-eap on the abfab@ietf.org mailing
list.  I'd urge you to understand the constraints we're working with
(and am happy to volunteer my time to help you do so) and help us come
up with the best solution to that issue that we can.

My current best solution is to maintain security but to lose the
guarantee that gss_export_name is always useful.  I suspect we can
maintain that gss_export_name on the acceptor will produce a canonical
result for names received from the initiator.


--Sam

From mrex@sap.com  Mon Nov 15 17:41:45 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B6AA3A6D71 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 17:41:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.09
X-Spam-Level: 
X-Spam-Status: No, score=-10.09 tagged_above=-999 required=5 tests=[AWL=0.159,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K94S3Uf0BIcm for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 17:41:31 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id 9EB383A6A0B for <kitten@ietf.org>; Mon, 15 Nov 2010 17:41:30 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oAG1gB7s027430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 02:42:11 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011160142.oAG1g9qZ000673@fs4113.wdf.sap.corp>
To: Nicolas.Williams@oracle.com (Nicolas Williams)
Date: Tue, 16 Nov 2010 02:42:09 +0100 (MET)
In-Reply-To: <20101115232820.GW6536@oracle.com> from "Nicolas Williams" at Nov 15, 10 05:28:21 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal04
X-SAP: out
Cc: kitten@ietf.org, simon@josefsson.org, hartmans-ietf@mit.edu
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 01:41:45 -0000

Nicolas Williams wrote:
> 
> On Mon, Nov 15, 2010 at 06:26:39PM -0500, Sam Hartman wrote:
> > 
> > OK, then I'd probably vote against supporting CB for SAML20.
> > My concern is that if we do, it will discourage apps from using CB
> > because it will significantly decrease their interoperability.
> 
> What apps are we talking about?  Remember, SASL/GS2 does make CB
> negotiable, while straight GSS-API makes it non-negotiable.

As I tried to explain here:
http://www.ietf.org/mail-archive/web/kitten/current/msg02121.html

it is definitely possible for GSS-API to use optional channel bindings,
i.e. negotiate the use of channel bindings.

You might, however, create a security problem for you protocol if
you outsource the protection of your network communication to some
other protocol instead of using GSS-API message protection primitives.

And one means to prevent the total disconnect of authentication from
the protection of the network communication is a concept called
"channel binding".  The GSS-API channel bindings facility is
a very specific subset of the "channel binding" concept.


In the original GSS-API design, there did not exist the idea of
gss-api mechanism that are authentication only or worse, out-sourcing
of message protection facilities to some other protocol.

Although I just noticed in the San Diego IETF meeting minutes March 1992
of the CAT working group the question:

  Discussion:
    . GSS-API:  for authentication only ?


but I also remember a presentation from Sanra Murphy (TIS) in the
CAT WG session on IETF 33 (July 1995 in Stockholm) and a very notica
suprize by many CAT fanciers about the very first GSS-API mechanism
that does not support message protection at all ... and a few resulting
clarifications to the GSS-API v2 I-Ds.

   http://tools.ietf.org/html/draft-ietf-cat-fipsjjjgss-00

And as it's primary purpose of this PKI-based mechanism was unidirectional
authentication of the initiator to the target, that initial proposal
is completely silent about naming, in particular possible or anticipated
values for the target_name parameter of gss_init_sec_context().

But similar to SPKM and DEC DASS, the concept of X.509 identities
back then was nothing like hostbased service names.

As I've previously mentioned, during the last 14 years we have been
offering interoperability certification for third-party single sign-on
solutions provided as plug-n-play shared libraries based on GSS-API v2.
I've seen ~20 different SSO-solutions, 5 of them were implementations
of Kerberos 5,  two were completely proprietary and the rest based
on X.509/PKI.  Only the Kerberos implementations recognized the
hostbased service name nametype, all other implementations rejected
it upfront with "GSS_S_BAD_NAMETYPE".


And when you're doing distributed apps, then being able to identify
apps completely independent of hostnames facilitates a lot of things.
There could be easily be running 5 or 6 apps independently using the
same protocol on a single host (HumanResource,Financials,ProcessIntegration,
MaterialsManagement,SupplyChainManagement, plus seperate apps development,
integration and test systems of each) and alternative instances of the
same app on 10 more hosts for distributing load, background and
batch processing.  Most X.509 based authentication schemes use 3-way
or 4-way authentication exchanges (signed challenge/response), so
that all distributed instances of a single application can share the
PKI credential and it is irrelevant for the user to which particular
host and which particular port it connects as long as the user
knows what system it wants to talk to, e.g. "Human Resources",
and neither the "Human Resources (Test)", "Customer Support"
nor "Financial (apps development)" system.  Also the ACLs that
all AppServers of a single system use to talk among each other
are pretty short with only one single entry.

If you are using Kerberos, things get difficult and complicated,
because every seperate instance has to be managed individually
and every move of an application instance to a different host
requires updates to all ACLs.  And you still need to devise
some scheme to distinguish several different entities of apps
that are based on the same protocol on a single host.


When you adapt the IETF robustness principle to application design
for GSS-API then it works like this:
"be liberal in characteristics and implementation choices
 that gssapi mechanims may exhibit, be conservative in
 the GSS-API features that you require for interoperability."

and host-based service names are nowhere close.

-Martin

From hbhotz@dslextreme.com  Mon Nov 15 17:11:18 2010
Return-Path: <hbhotz@dslextreme.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F2C928C19E for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 17:11:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gguZTcgFIXl2 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 17:11:14 -0800 (PST)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by core3.amsl.com (Postfix) with ESMTP id BCFB83A6D75 for <kitten@ietf.org>; Mon, 15 Nov 2010 17:11:13 -0800 (PST)
Received: by pwj2 with SMTP id 2so28388pwj.31 for <kitten@ietf.org>; Mon, 15 Nov 2010 17:11:56 -0800 (PST)
Received: by 10.142.230.20 with SMTP id c20mr5333979wfh.165.1289869916066; Mon, 15 Nov 2010 17:11:56 -0800 (PST)
Received: from laphotz.jpl.nasa.gov (laphotz.jpl.nasa.gov [128.149.133.44]) by mx.google.com with ESMTPS id w31sm667816wfd.2.2010.11.15.17.11.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Nov 2010 17:11:54 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: "Henry B. Hotz" <hbhotz@dslextreme.com>
In-Reply-To: <201011152252.oAFMqa18021253@fs4113.wdf.sap.corp>
Date: Mon, 15 Nov 2010 17:11:52 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <A1704CD0-5B3E-4800-9FFC-CDD9D9615BEC@oxy.edu>
References: <201011152252.oAFMqa18021253@fs4113.wdf.sap.corp>
To: mrex@sap.com
X-Mailer: Apple Mail (2.1081)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "Henry B. Hotz" <hbhotz@oxy.edu>
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 01:53:03 -0000

On Nov 15, 2010, at 2:52 PM, Martin Rex wrote:

> And while it might be theoretically possible to use Kerberos
> with SMB, I have never seen any Windows installations using it.

As I understand it Argonne uses Kerberos exclusively, and has shut down =
NTLMv2 (not just NTLMv1).  That would imply they are using Kerberos with =
SMB.

------------------------------------------------------
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu




From hbhotz@dslextreme.com  Mon Nov 15 17:21:28 2010
Return-Path: <hbhotz@dslextreme.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 395F328C20C for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 17:21:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LglQMV8Twbea for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 17:21:09 -0800 (PST)
Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by core3.amsl.com (Postfix) with ESMTP id 1506028C203 for <kitten@ietf.org>; Mon, 15 Nov 2010 17:21:04 -0800 (PST)
Received: by pxi6 with SMTP id 6so24770pxi.31 for <kitten@ietf.org>; Mon, 15 Nov 2010 17:21:46 -0800 (PST)
Received: by 10.142.81.13 with SMTP id e13mr4611629wfb.214.1289870505683; Mon, 15 Nov 2010 17:21:45 -0800 (PST)
Received: from laphotz.jpl.nasa.gov (laphotz.jpl.nasa.gov [128.149.133.44]) by mx.google.com with ESMTPS id w22sm674965wfd.7.2010.11.15.17.21.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Nov 2010 17:21:44 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: "Henry B. Hotz" <hbhotz@dslextreme.com>
In-Reply-To: <4CDD45CD.5080602@oracle.com>
Date: Mon, 15 Nov 2010 17:21:42 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <B3F65FEB-4732-4109-A7E4-54CCFB34EA46@oxy.edu>
References: <4CDD45CD.5080602@oracle.com>
To: Shawn M Emery <shawn.emery@oracle.com>
X-Mailer: Apple Mail (2.1081)
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "Henry B. Hotz" <hbhotz@oxy.edu>
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 01:53:17 -0000

Both.  Option 1 for discussion (and charter update).

I think that a standards-track RFC should be able to support all the =
options that people have been discussing (CB, PRF, message security, =
mutual auth, secure host name canonicalization, etc.).  This is a =
stronger requirement than 4. =20

I'm OK with an informational RFC if it's something people are going to =
do anyway, in spite of security issues.  No sense in encouraging bad =
practices, but still encourage interoperability.  Give them a path to =
get better and an explanation of what "better" is.

On Nov 12, 2010, at 5:49 AM, Shawn M Emery wrote:

>=20
> This starts a WG consensus call for the adoption of two new work items =
to the charter:
>=20
> SASL-SAML-EC
> http://tools.ietf.org/html/draft-cantor-ietf-kitten-saml-ec
>=20
> SASL-OAuth:
> http://tools.ietf.org/html/draft-mills-kitten-sasl-oauth
>=20
> 1. Adopt with no pre-conditions
> 2. Adopt with the assumption that there be a CB option specified for =
each mechanism
> 3. Adopt after the security considerations/assumptions of each =
mechanism is fully understood
> 4. Both 2 and 3.
>=20
> Please provide feed-back to me or the list no later than 11/19/10.
>=20
> Shawn.
> kitten co-chair

------------------------------------------------------
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu




From mrex@sap.com  Mon Nov 15 18:27:52 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 059A83A6D83 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 18:27:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.096
X-Spam-Level: 
X-Spam-Status: No, score=-10.096 tagged_above=-999 required=5 tests=[AWL=0.153, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wcVjF34twn6D for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 18:27:46 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id 4C42528C120 for <kitten@ietf.org>; Mon, 15 Nov 2010 18:27:43 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oAG2Rk61004550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 03:27:46 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011160227.oAG2Ri6n003260@fs4113.wdf.sap.corp>
To: cantor.2@osu.edu (Scott Cantor)
Date: Tue, 16 Nov 2010 03:27:44 +0100 (MET)
In-Reply-To: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu> from "Scott Cantor" at Nov 15, 10 10:52:33 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal07
X-SAP: out
Cc: kitten@ietf.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 02:27:52 -0000

Scott Cantor wrote:
> 
> Stipulating that there's some way to accomplish CB by passing something on
> the URL you give to the browser, it seems like it's worth having a
> discussion about the more fundamental differences between the mechanisms,
> namely the use of a browser vs. a desktop client.

Although I can not demonstrate any obvious security problem, I'm
feeling slighlty uneasy with having an app send tls-unique channel
bindings over _other_ channels than the particular TLS channel
from which they originate.  tls-unique represents the unkown part of
the plaintext for the very first encrypted message on a newly
established TLS channel.

When using it for channel binding of a gssapi handshake over this very
same TLS channel, there should not be any problem if the gssapi mechanism
transfers the channel bindings in the clear within context level
tokens, because the outer TLS channel protection applies the that
handshake in the same way it applied to the original tranfer of the
Finished handshake message from which the tls-unique CB data is created.
However, if the gssapi mechanism sends this channel bindings
data over completely distince communication channels to arbitrary
third parties during the magic that happens within gss_init_sec_context(),
it does not leave a warm cozy feeling.

-Martin

From Nicolas.Williams@oracle.com  Mon Nov 15 19:09:38 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 849F33A6C49 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:09:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.509
X-Spam-Level: 
X-Spam-Status: No, score=-6.509 tagged_above=-999 required=5 tests=[AWL=0.089,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iTOlxmUnGgrQ for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:09:33 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id B89CD3A6A8E for <kitten@ietf.org>; Mon, 15 Nov 2010 19:09:32 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAG3A9Gk031970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 03:10:11 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAFMYU75008554; Tue, 16 Nov 2010 03:10:07 GMT
Received: from abhmt013.oracle.com by acsmt354.oracle.com with ESMTP id 780748061289876979; Mon, 15 Nov 2010 19:09:39 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 19:09:38 -0800
Date: Mon, 15 Nov 2010 21:09:34 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Martin Rex <mrex@sap.com>
Message-ID: <20101116030933.GZ6536@oracle.com>
References: <20101115232820.GW6536@oracle.com> <201011160142.oAG1g9qZ000673@fs4113.wdf.sap.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201011160142.oAG1g9qZ000673@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, simon@josefsson.org, hartmans-ietf@mit.edu
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 03:09:38 -0000

On Tue, Nov 16, 2010 at 02:42:09AM +0100, Martin Rex wrote:
> Nicolas Williams wrote:
> > 
> > On Mon, Nov 15, 2010 at 06:26:39PM -0500, Sam Hartman wrote:
> > > 
> > > OK, then I'd probably vote against supporting CB for SAML20.
> > > My concern is that if we do, it will discourage apps from using CB
> > > because it will significantly decrease their interoperability.
> > 
> > What apps are we talking about?  Remember, SASL/GS2 does make CB
> > negotiable, while straight GSS-API makes it non-negotiable.
> 
> As I tried to explain here:
> http://www.ietf.org/mail-archive/web/kitten/current/msg02121.html
> 
> it is definitely possible for GSS-API to use optional channel bindings,
> i.e. negotiate the use of channel bindings.
> 
> You might, however, create a security problem for you protocol if
> you outsource the protection of your network communication to some
> other protocol instead of using GSS-API message protection primitives.

See, the whole point of channel binding is to "outsource the protection
of your network communication ...".

Nico
-- 

From Nicolas.Williams@oracle.com  Mon Nov 15 19:15:43 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 46C1D3A6D8E for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:15:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.511
X-Spam-Level: 
X-Spam-Status: No, score=-6.511 tagged_above=-999 required=5 tests=[AWL=0.087,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54VDuOPlyYTz for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:15:40 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 33FF63A6D88 for <kitten@ietf.org>; Mon, 15 Nov 2010 19:15:39 -0800 (PST)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAG3GJAh008004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 03:16:20 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAFJXE90017715; Tue, 16 Nov 2010 03:16:19 GMT
Received: from abhmt014.oracle.com by acsmt355.oracle.com with ESMTP id 780759511289877378; Mon, 15 Nov 2010 19:16:18 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 19:16:18 -0800
Date: Mon, 15 Nov 2010 21:16:10 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Martin Rex <mrex@sap.com>
Message-ID: <20101116031609.GA6536@oracle.com>
References: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu> <201011160227.oAG2Ri6n003260@fs4113.wdf.sap.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201011160227.oAG2Ri6n003260@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 03:15:43 -0000

On Tue, Nov 16, 2010 at 03:27:44AM +0100, Martin Rex wrote:
> Scott Cantor wrote:
> > 
> > Stipulating that there's some way to accomplish CB by passing something on
> > the URL you give to the browser, it seems like it's worth having a
> > discussion about the more fundamental differences between the mechanisms,
> > namely the use of a browser vs. a desktop client.
> 
> Although I can not demonstrate any obvious security problem, I'm
> feeling slighlty uneasy with having an app send tls-unique channel
> bindings over _other_ channels than the particular TLS channel
> from which they originate.  tls-unique represents the unkown part of
> the plaintext for the very first encrypted message on a newly
> established TLS channel.

Martin, as RFC5929 explains, TLS supports integrity-protection-only
cipher suites, in which case the cleartext Finished message is available
to passive attackers.  TLS' security depends on the strength of the
Finished message construction, including the PRF that is at the core of
the Finished message construction.  We discussed this matter at some
length during the many discussions of tls-unique that we've had.  If
revealing the Finished messages could compromise TLS then TLS has big
problems because it'd mean, among other things, that the TLS PRF is
broken, and this would have far reaching impact.  I believe there's no
harm in making the TLS Finished message cleartext public.

Nico
-- 

From hartmans@mit.edu  Mon Nov 15 19:31:47 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5B3853A6C5F for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:31:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.265
X-Spam-Level: 
X-Spam-Status: No, score=-102.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RlCGz7r8Czo1 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:31:46 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 926593A6B4C for <kitten@ietf.org>; Mon, 15 Nov 2010 19:31:45 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (unknown [222.128.202.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 6784520239; Mon, 15 Nov 2010 22:31:58 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 22F174761; Mon, 15 Nov 2010 22:32:22 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: Nicolas Williams <Nicolas.Williams@oracle.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org> <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org> <20101115172914.GM6536@oracle.com> <tslr5emkw28.fsf@carter-zimmerman.suchdamage.org> <20101115232820.GW6536@oracle.com>
Date: Mon, 15 Nov 2010 22:32:21 -0500
In-Reply-To: <20101115232820.GW6536@oracle.com> (Nicolas Williams's message of "Mon, 15 Nov 2010 17:28:21 -0600")
Message-ID: <tslipzykkoq.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 03:31:47 -0000

>>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@oracle.com> writes:

    Nicolas> On Mon, Nov 15, 2010 at 06:26:39PM -0500, Sam Hartman wrote:
    >> >>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@oracle.com>
    >> writes:
    >> 
    Nicolas> On Mon, Nov 15, 2010 at 10:09:12AM -0500, Sam Hartman wrote:
> >> The thing I'm most worried about here is how a client detects the
    >> >> difference between an IDP that doesn't support CB and an
    >> attack.
    >> 
    Nicolas> CB must be non-negotiable if the app wants to use CB.
    >> 
    >> 
    >> OK, then I'd probably vote against supporting CB for SAML20.  My
    >> concern is that if we do, it will discourage apps from using CB
    >> because it will significantly decrease their interoperability.

    Nicolas> What apps are we talking about?  Remember, SASL/GS2 does
    Nicolas> make CB negotiable, while straight GSS-API makes it
    Nicolas> non-negotiable.

Well, SASL for one.  Yes, it's negotiable, but the obvious
implementation of a GS2 bridge would assume that if the mechanism can
support it, the environment will support it.

I'm arguing against the complexity of introducing GSS mechanisms that
support CB in environment-dependent manners.

From hartmans@mit.edu  Mon Nov 15 19:41:21 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1087D3A6C5F for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:41:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.265
X-Spam-Level: 
X-Spam-Status: No, score=-102.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7BppAGcCIkWX for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:41:20 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id DD6963A6BD3 for <kitten@ietf.org>; Mon, 15 Nov 2010 19:41:19 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (unknown [222.128.202.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 76EB42032E; Mon, 15 Nov 2010 22:41:30 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id EC3F04761; Mon, 15 Nov 2010 22:41:54 -0500 (EST)
From: Sam Hartman <hartmans-ietf@mit.edu>
To: mrex@sap.com
References: <201011160142.oAG1g9qZ000673@fs4113.wdf.sap.corp>
Date: Mon, 15 Nov 2010 22:41:54 -0500
In-Reply-To: <201011160142.oAG1g9qZ000673@fs4113.wdf.sap.corp> (Martin Rex's message of "Tue, 16 Nov 2010 02:42:09 +0100 (MET)")
Message-ID: <tsleiamkk8t.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, simon@josefsson.org, hartmans-ietf@mit.edu
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 03:41:21 -0000

You've certainly seen a lot of GSS-API mechanisms.  However those
mechanisms were not proposed for standardization within the IETF.  I
suspect several of them may have been designed explicitly to meet SAP's
constraints, not to be used as general mechanisms on the Internet.  I
suspect none of them (with the exception of the Kerberos mechanisms)
were intended to work with SASL applications, SSH, or NFS.

However, by its charter, kitten must support SASL's needs.
I think it makes a lot of sense for kitten to support the needs of ssh
and nfs.

    Martin> When you adapt the IETF robustness principle to application
    Martin> design for GSS-API then it works like this: "be liberal in
    Martin> characteristics and implementation choices that gssapi
    Martin> mechanims may exhibit, be conservative in the GSS-API
    Martin> features that you require for interoperability."

    Martin> and host-based service names are nowhere close.


Hi.  In general, I value your input.  The above input might have been a
great thing to say to the SASL community 5 or 10 years ago.  It might
still be a valid thing to say to SASL in terms of trying to improve
naming of SASL applications if you can come up with constructive ways of
dealing with the UI challenges of today's SASL applications and meeting
those principals.

However, restating this same position again and again without responding
to the issues we're bringing up is not constructive.

If you ever get to a point where you want to understand the SASL
constraints and propose solutions within those constraints (possibly
along with evolutionary changes to those constraints) I'd welcome your
input.

Until then, all I can do is hope that you are in the rough when
consensus is called.

From Nicolas.Williams@oracle.com  Mon Nov 15 19:45:49 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 286463A6C63 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:45:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.513
X-Spam-Level: 
X-Spam-Status: No, score=-6.513 tagged_above=-999 required=5 tests=[AWL=0.085,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6ltkfobHl-Ib for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 19:45:47 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id E29973A6A5B for <kitten@ietf.org>; Mon, 15 Nov 2010 19:45:46 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAG3kQE1014604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 03:46:28 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAG3fFuP025230; Tue, 16 Nov 2010 03:46:24 GMT
Received: from abhmt019.oracle.com by acsmt353.oracle.com with ESMTP id 781693441289879174; Mon, 15 Nov 2010 19:46:14 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Nov 2010 19:46:13 -0800
Date: Mon, 15 Nov 2010 21:46:08 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Message-ID: <20101116034608.GB6536@oracle.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org> <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org> <20101115172914.GM6536@oracle.com> <tslr5emkw28.fsf@carter-zimmerman.suchdamage.org> <20101115232820.GW6536@oracle.com> <tslipzykkoq.fsf@carter-zimmerman.suchdamage.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <tslipzykkoq.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 03:45:49 -0000

On Mon, Nov 15, 2010 at 10:32:21PM -0500, Sam Hartman wrote:
>     Nicolas> What apps are we talking about?  Remember, SASL/GS2 does
>     Nicolas> make CB negotiable, while straight GSS-API makes it
>     Nicolas> non-negotiable.
> 
> Well, SASL for one.  Yes, it's negotiable, but the obvious
> implementation of a GS2 bridge would assume that if the mechanism can
> support it, the environment will support it.

Oh, I see the issue.  You're talking about whether the infrastructure
supports CB, not whether the mechanism itself does.  Is there any way to
inquire?  (I guess we'd need to inquire on the initiator credential.)

> I'm arguing against the complexity of introducing GSS mechanisms that
> support CB in environment-dependent manners.

Yes, sorry I'd missed that.  I agree.

From mrex@sap.com  Mon Nov 15 20:08:50 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AE94E3A6D8F for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 20:08:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.101
X-Spam-Level: 
X-Spam-Status: No, score=-10.101 tagged_above=-999 required=5 tests=[AWL=0.148, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mr-ED9JCtg1L for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 20:08:49 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id 1E56A3A6D8A for <kitten@ietf.org>; Mon, 15 Nov 2010 20:08:48 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oAG49VNS014368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 05:09:31 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011160409.oAG49T81008940@fs4113.wdf.sap.corp>
To: lukeh@padl.com (Luke Howard)
Date: Tue, 16 Nov 2010 05:09:29 +0100 (MET)
In-Reply-To: <0983A7EA-31E6-4D4A-B1D8-A0198A594BEC@padl.com> from "Luke Howard" at Nov 16, 10 10:35:46 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: kitten@ietf.org
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 04:08:50 -0000

Luke Howard wrote:
> 
> > And while it might be theoretically possible to use Kerberos
> > with SMB, I have never seen any Windows installations using it.
> 
> That doesn't correspond with my experience;
> it does support mutual authentication, too.
> 
> > In particular, I find myself completely unable to cause my Win2K3 as well
> > as my Win7 VMware image to even try using it when accessing production
> > Windows servers.  Even if it would work, I assume that causing a
> > fallback to NTLM wouldn't be that difficult.
> 
> Do you have Active Directory setup and the machines joined to a domain?

After further experiments the cause for this problems appears to
be that the DNS domain where the server's hostnames are assigned
are _not_ managed by an Active Directory (and the zones are not enabled
for dynamic DNS update).

What is weird: SPN -L hosta gives me a list of only 4 SPNs
nfs/hosta.f.q.d.n, nfs/hosta, HOST/hosta.f.q.d.n, HOST/hosta

and although I _do_ find tickets for cifs/hosta.f.q.d.n in my
windows ticket cache after trying to access shares on hosta.f.q.d.n,
the SMB negotiate datagrams on the network as captured by wireshark
contain only NTLM dialects...

Weird.


-Martin

From mrex@sap.com  Mon Nov 15 22:39:15 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0D3563A6C67 for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 22:39:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.105
X-Spam-Level: 
X-Spam-Status: No, score=-10.105 tagged_above=-999 required=5 tests=[AWL=0.144, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id twwDIFqDQBHH for <kitten@core3.amsl.com>; Mon, 15 Nov 2010 22:39:06 -0800 (PST)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 338DC3A684C for <kitten@ietf.org>; Mon, 15 Nov 2010 22:39:04 -0800 (PST)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id oAG6djnv029942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 07:39:45 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011160639.oAG6di1Z017270@fs4113.wdf.sap.corp>
To: hartmans-ietf@mit.edu (Sam Hartman)
Date: Tue, 16 Nov 2010 07:39:44 +0100 (MET)
In-Reply-To: <tsleiamkk8t.fsf@carter-zimmerman.suchdamage.org> from "Sam Hartman" at Nov 15, 10 10:41:54 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal04
X-SAP: out
Cc: kitten@ietf.org, simon@josefsson.org, hartmans-ietf@mit.edu
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 06:39:16 -0000

Sam Hartman wrote:
> 
> You've certainly seen a lot of GSS-API mechanisms.  However those
> mechanisms were not proposed for standardization within the IETF.  I
> suspect several of them may have been designed explicitly to meet SAP's
> constraints, not to be used as general mechanisms on the Internet.

I don't think that our constraints were that unusual for
a an existing distributed application were GSS-API support
is added in a backwards-compatible fashion into existing
communication protocols. 

(True Single Sign-On, transfer of security contexts between
 processes (gss_export/import_sec_context), canonical identities
 for users and servers, named initiating and accepting credentials
 for the server, default initiating credentials for the client,
 and fairly moderate "performance" limits for gssapi calls and
 limits to the context token sizes and message size increase
 for message protection calls.)


>
> I suspect none of them (with the exception of the Kerberos mechanisms)
> were intended to work with SASL applications, SSH, or NFS.

But that is would be a failure of SASL, SSH and NFS rather than
of GSS-API mechanisms.  DEC DASS, fipsjjjgss, spkm (rfc2025),
and DCE's secure directory lookup existed _long_ before these
protocols chose to adopt GSS-API.

Protocols which got GSS-API support wrongs suffered from a severe
Kerberos inbreed problem.  (If your only tool is a hammer then
everything looks like a nail to you).

For SSH supporting arbitrary server GSS-API names as alternatives to
server public keys in your ~/.ssh/known_hosts file should be easy,
obvious and straightforward.

Similar for NFS, supporting arbitrary GSS-API target names
as mount options.

Such fairly minor but important changes would make those protocols
portable in the way GSS-API defines it, and make them work with
all of the GSS-API mechanisms that I have encountered.


Hash algorithm agility or Unicode support are a magnitude more
difficult to achieve -- yet those do matter to the IESG, whereas
there appears to be an IESG blind spot for GSS-API mechanism /
GSS-API naming agility.


> 
> However, by its charter, kitten must support SASL's needs.
> I think it makes a lot of sense for kitten to support the needs of ssh
> and nfs.

I don't think it is sensible to artificially limit kitten work
to obvious defects in those specs that can be fixed along the way
with little effort.


I did ask several times for providing configurability
of arbitrary target names in NFSv4 when it the relevant I-D
was announced on the CAT mailing list for discussion/input
(by IIRC Mark Eisler),


> 
> However, restating this same position again and again without responding
> to the issues we're bringing up is not constructive.

I have been trying to provide feedback and input to usability questions
that were posted on cat-ietf, krb-wg and kitten during the last 10 years,
but I didn't have time to actively track all other IETF working groups
or provide complete counter-proposals every time that some app
protocol took deliberate inappropriate short-cuts with respect
to GSS-API portability.


> 
> If you ever get to a point where you want to understand the SASL
> constraints and propose solutions within those constraints (possibly
> along with evolutionary changes to those constraints) I'd welcome your
> input.

When you don't care about the peer's identity, the communication target
enpoint can be described with
  (ip-address, protocol, port-number)

When you want to authenticate the peer, the communication target
endpoint can be described with
  (ip-address, protocol, port-number, peer-identity)

I don't think it requires huge amounts of rocket science to account
for peer-identities that are independent from network endpoint
addresses when adding capabilities for securely authenticating
connection acceptors to connection initiators to a protocol
that uses GSS-API rather than native Kerberos.

If an application is given the peer-identity seperately, then
all security problem with insecure transforms on the representation
of the communication endpoint disappear.  It no longer matters whether
that is supplied as a hostname, whether that hostname translates
to a CNAME before it translates to an A record, to what name
the reverse DNS lookup matches, whether a netbios/WINS lookup
is used instead, whether a lookup uses the local hosts file
rather than DNS or wether the user supplies an unqualified
hostname or a full host.f.q.d.n or host.f.q.d.n. with
a trailing dot (.) tacked on the end.

Running multiple instances of the same application on a host
with distinct security properties and distinct server identities
also works in an obvious and straightforward fashion.


-Martin

From klaas@cisco.com  Tue Nov 16 01:41:38 2010
Return-Path: <klaas@cisco.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0678F3A6C55 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 01:41:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g+J16ZhGBszz for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 01:41:36 -0800 (PST)
Received: from ams-iport-2.cisco.com (ams-iport-2.cisco.com [144.254.224.141]) by core3.amsl.com (Postfix) with ESMTP id 403413A6C66 for <kitten@ietf.org>; Tue, 16 Nov 2010 01:41:36 -0800 (PST)
Authentication-Results: ams-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AuoDAPTg4UyQ/khNgWdsb2JhbACiWxUBARYiIqM0mxuFSwSKWIsX
X-IronPort-AV: E=Sophos;i="4.59,205,1288569600"; d="scan'208";a="13406662"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-2.cisco.com with ESMTP; 16 Nov 2010 09:42:18 +0000
Received: from macmini.wierenga.net (ams-kwiereng-8712.cisco.com [10.55.220.243]) by ams-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id oAG9gIIm010269; Tue, 16 Nov 2010 09:42:18 GMT
Message-ID: <4CE251FA.1080006@cisco.com>
Date: Tue, 16 Nov 2010 10:42:18 +0100
From: Klaas Wierenga <klaas@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Scott Cantor <cantor.2@osu.edu>
References: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu>
In-Reply-To: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: kitten@ietf.org
Subject: Re: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 09:41:38 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/15/10 4:52 PM, Scott Cantor wrote:

Scott,

I forgot to respond to this part of your message:

> I've heard the claim that it's somehow less secure to put my credentials
> into a desktop client. I can't say that I buy that, but perhaps that's a
> subjective question. I know that I trust my mail client a heck of a lot more

I can not talk for others, but given that I made a remark wrt entering
credentials in my presentation at the Kitten wg meeting I think I should
clarify.
I didn't want to imply that I trust my browser more than a desktop
client. What I don't like is that a user is trained at entering his
credentials at potentially many different places. Let's assume for a
second this SASL-SAML thing takes of. It would mean that I input my
credentials in my mail client, my browser, my Jabber client, my SSH
client etc. etc. That takes away one big benefit of SSO solutions, both
from a usability and a security PoV imo..

> than I trust any browser. I'm more swayed by the fact that a browser UI
> makes it much easier to implement consent-based release of attributes and
> that sort of thing.

Good point!

> I'm also concerned about mobile devices, which seem less amenable to
> launching a browser and getting control back.

True, especially for non-multitasking OSes

Klaas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkziUfoACgkQH2Wy/p4XeFKkowCffA/nL8d+FV2JptG49/WW85M6
jlgAmgJWkyslMTEUp67PZ+wt70nUEOd0
=/p29
-----END PGP SIGNATURE-----

From simon@josefsson.org  Tue Nov 16 01:51:00 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2364A3A6D8C for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 01:51:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8CO43h20EOLR for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 01:50:56 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 04D6A3A6C56 for <kitten@ietf.org>; Tue, 16 Nov 2010 01:50:55 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAG9pS4o009249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 16 Nov 2010 10:51:31 +0100
From: Simon Josefsson <simon@josefsson.org>
To: "Scott Cantor" <cantor.2@osu.edu>
References: <0a1701cb84cc$38aa2dcd$cc3ea348@cisco.com> <87eiam5j8x.fsf@latte.josefsson.org> <004401cb8513$27a66440$76f32cc0$__16869.233051739$1289859580$gmane$org@osu.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101116:kwiereng@cisco.com::f8wq8yPczu8VIyay:4b/O
X-Hashcash: 1:22:101116:cantor.2@osu.edu::+bN5NJvEZCyb5GzH:DZXt
X-Hashcash: 1:22:101116:hartmans-ietf@mit.edu::1iJkjjqOiJ5LSb/e:9Qjn
X-Hashcash: 1:22:101116:kitten@ietf.org::Jxq0wTKh08qK8xZD:QB1v
Date: Tue, 16 Nov 2010 10:51:24 +0100
In-Reply-To: <004401cb8513$27a66440$76f32cc0$__16869.233051739$1289859580$gmane$org@osu.edu> (Scott Cantor's message of "Mon, 15 Nov 2010 17:19:22 -0500")
Message-ID: <87pqu54mw3.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org, 'Sam Hartman' <hartmans-ietf@mit.edu>, "'Klaas Wierenga \(kwiereng\)'" <kwiereng@cisco.com>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 09:51:00 -0000

"Scott Cantor" <cantor.2@osu.edu> writes:

>> 3) The client searches for the nonce within the authn request, replaces
>> it with its local CB data.
>
> If the request is signed, you just broke it. It also adds far more parsing
> to the client than you need.

Ouch.  It might be useful to add a example with a signed AuthN request
to SAML20/SAML20EC to illustrate this, other readers may be as
SAML-illiterate as I am.

>> Again, security considerations needs to state that client<->IdP
>> communication MUST be server authenticated, to avoid attackers doing
>> MITM on both the client<->server and client<->IdP communication and
>> replacing CB in both channels.
>
> Assuming that's in play (as it is in EC), then you can do something similar
> to what I'm doing. Just have the SP sign its CB into its AuthnRequest, and
> have the client add its CB to the message to the IdP (you'd need a new
> browser binding for this, essentially extending HTTP-Redirect).
>
> The IdP authenticates both parties, compares the CB, and either fails the
> request or fulfills it.
>
> It's less structured than the EC version, which uses SOAP headers to carry
> all the CB data and signaling, but it's analagous.

This approach seems easy to implement but it requires a modified IdP.
Both the client and server is trusting the IdP to verify CB here, but
maybe that is good-enough.

/Simon

From deengert@anl.gov  Tue Nov 16 06:36:39 2010
Return-Path: <deengert@anl.gov>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B60573A6C7F for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 06:36:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pC+0bcdcFfhJ for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 06:36:39 -0800 (PST)
Received: from mailhost.anl.gov (mailhost.anl.gov [130.202.113.50]) by core3.amsl.com (Postfix) with ESMTP id E25133A6C73 for <kitten@ietf.org>; Tue, 16 Nov 2010 06:36:38 -0800 (PST)
Received: from mailhost.anl.gov (mailhost.anl.gov [130.202.113.50]) by localhost.anl.gov (Postfix) with ESMTP id A8F6D33; Tue, 16 Nov 2010 08:37:22 -0600 (CST)
Received: from [IPv6:::1] (atalanta.it.anl.gov [146.137.96.104]) by mailhost.anl.gov (Postfix) with ESMTP id 512D51A; Tue, 16 Nov 2010 08:37:22 -0600 (CST)
Message-ID: <4CE29721.2000401@anl.gov>
Date: Tue, 16 Nov 2010 08:37:21 -0600
From: "Douglas E. Engert" <deengert@anl.gov>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: "Henry B. Hotz" <hbhotz@oxy.edu>
References: <201011152252.oAFMqa18021253@fs4113.wdf.sap.corp> <A1704CD0-5B3E-4800-9FFC-CDD9D9615BEC@oxy.edu>
In-Reply-To: <A1704CD0-5B3E-4800-9FFC-CDD9D9615BEC@oxy.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: kitten@ietf.org, "Henry B. Hotz" <hbhotz@dslextreme.com>
Subject: Re: [kitten] WG Adoptions
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 14:36:39 -0000

On 11/15/2010 7:11 PM, Henry B. Hotz wrote:
>
> On Nov 15, 2010, at 2:52 PM, Martin Rex wrote:
>
>> And while it might be theoretically possible to use Kerberos
>> with SMB, I have never seen any Windows installations using it.
>
> As I understand it Argonne uses Kerberos exclusively, and has shut down NTLMv2 (not just NTLMv1).  That would imply they are using Kerberos with SMB.

No, we still have NTLMv2 enabled. As Martin pointed out,
I also see cifs/hostname tickets, but have not looked to see
if SMB is actually using them.

>


> ------------------------------------------------------
> The opinions expressed in this message are mine,
> not those of Caltech, JPL, NASA, or the US Government.
> Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu
>
>
>
>

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444

From cantor.2@osu.edu  Tue Nov 16 06:55:27 2010
Return-Path: <cantor.2@osu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B861C3A69EF for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 06:55:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9dAYRJ2k9Lei for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 06:55:26 -0800 (PST)
Received: from defang20.it.ohio-state.edu (defang20.it.ohio-state.edu [128.146.216.134]) by core3.amsl.com (Postfix) with ESMTP id BC8D93A6C87 for <kitten@ietf.org>; Tue, 16 Nov 2010 06:55:26 -0800 (PST)
Received: from defang6.it.ohio-state.edu (defang6.it.ohio-state.edu [128.146.216.86]) by defang20.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAGEthZr027122; Tue, 16 Nov 2010 09:55:43 -0500
Received: from BYTOR (dhcp-128-146-207-72.osuwireless.ohio-state.edu [128.146.207.72]) by defang6.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAGEtfSD014542; Tue, 16 Nov 2010 09:55:41 -0500
From: "Scott Cantor" <cantor.2@osu.edu>
To: "'Simon Josefsson'" <simon@josefsson.org>
References: <0a1701cb84cc$38aa2dcd$cc3ea348@cisco.com> <87eiam5j8x.fsf@latte.josefsson.org> <004401cb8513$27a66440$76f32cc0$__16869.233051739$1289859580$gmane$org@osu.edu> <87pqu54mw3.fsf@latte.josefsson.org>
In-Reply-To: <87pqu54mw3.fsf@latte.josefsson.org>
Date: Tue, 16 Nov 2010 09:55:41 -0500
Organization: The Ohio State University
Message-ID: <006301cb859e$57dc3f50$0794bdf0$@osu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-language: en-us
Thread-index: AQH2UCxFX6PoBND1TVaexDPyrq4hVwKCXzalAf3NI/wBfxzpopLuoGqQ
X-CanIt-Geo: ip=128.146.216.86; country=US; region=OH; city=Columbus; latitude=39.9968; longitude=-82.9882; metrocode=535; areacode=614; http://maps.google.com/maps?q=39.9968,-82.9882&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.134
Cc: kitten@ietf.org, 'Sam Hartman' <hartmans-ietf@mit.edu>, "'Klaas Wierenga \(kwiereng\)'" <kwiereng@cisco.com>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 14:55:27 -0000

> Ouch.  It might be useful to add a example with a signed AuthN request
> to SAML20/SAML20EC to illustrate this, other readers may be as
> SAML-illiterate as I am.

We would probably want to note that clients that have to handle the requests
need to take care not to modify them.

> This approach seems easy to implement but it requires a modified IdP.

There is no approach to any of this that doesn't modify the IdP somehow. You
pick your modification. The reason for my forked thread was that I think the
more relevant trade-offs are in the client experience before we worry about
what to modify.
 
> Both the client and server is trusting the IdP to verify CB here, but
> maybe that is good-enough.

It turns out to be convenient, but there are probably other options in the
EC case once a key is involved. In the browser case, I think you'd be hard
pressed to come up with anything since you can add something to the initial
request to the browser from the SASL mech, but basically you have no control
afterwards.

-- Scott



From simon@josefsson.org  Tue Nov 16 07:52:32 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B98553A6DDD for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 07:52:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eKDYJ99EojD5 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 07:52:29 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 3BBC63A6DF4 for <kitten@ietf.org>; Tue, 16 Nov 2010 07:52:27 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAGFr1SD030370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 16 Nov 2010 16:53:03 +0100
From: Simon Josefsson <simon@josefsson.org>
To: mrex@sap.com
References: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu> <201011160227.oAG2Ri6n003260__26372.0180061229$1289874533$gmane$org@fs4113.wdf.sap.corp>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101116:mrex@sap.com::GKY6Er3bdzGOY9MN:2cTK
X-Hashcash: 1:22:101116:kwiereng@cisco.com::5ONt11iQyo653Ruh:2rZQ
X-Hashcash: 1:22:101116:kitten@ietf.org::EYxXOdy4QfOpR2Ta:6Oie
X-Hashcash: 1:22:101116:cantor.2@osu.edu::dYyk5LIxnmCDA3wE:DZpz
Date: Tue, 16 Nov 2010 16:52:54 +0100
In-Reply-To: <201011160227.oAG2Ri6n003260__26372.0180061229$1289874533$gmane$org@fs4113.wdf.sap.corp> (Martin Rex's message of "Tue, 16 Nov 2010 03:27:44 +0100 (MET)")
Message-ID: <8739r1xo2x.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 15:52:32 -0000

Martin Rex <mrex@sap.com> writes:

> Scott Cantor wrote:
>> 
>> Stipulating that there's some way to accomplish CB by passing something on
>> the URL you give to the browser, it seems like it's worth having a
>> discussion about the more fundamental differences between the mechanisms,
>> namely the use of a browser vs. a desktop client.
>
> Although I can not demonstrate any obvious security problem, I'm
> feeling slighlty uneasy with having an app send tls-unique channel
> bindings over _other_ channels than the particular TLS channel
> from which they originate.  tls-unique represents the unkown part of
> the plaintext for the very first encrypted message on a newly
> established TLS channel.

I got that uneasy feeling too, and wrote the draft below as a more
stringent alternative to 'tls-unique':

http://tools.ietf.org/html/draft-josefsson-sasl-tls-cb

However there were not sufficient interest at that time, and SCRAM/GS2
now reference the 'tls-unique' CB explicitly so we are stuck with it.

> When using it for channel binding of a gssapi handshake over this very
> same TLS channel, there should not be any problem if the gssapi mechanism
> transfers the channel bindings in the clear within context level
> tokens, because the outer TLS channel protection applies the that
> handshake in the same way it applied to the original tranfer of the
> Finished handshake message from which the tls-unique CB data is created.
> However, if the gssapi mechanism sends this channel bindings
> data over completely distince communication channels to arbitrary
> third parties during the magic that happens within gss_init_sec_context(),
> it does not leave a warm cozy feeling.

Agreed.

/Simon

From Nicolas.Williams@oracle.com  Tue Nov 16 08:42:46 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E99C43A6CAF for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 08:42:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.515
X-Spam-Level: 
X-Spam-Status: No, score=-6.515 tagged_above=-999 required=5 tests=[AWL=0.083,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T5nbMtt4cwqO for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 08:42:46 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id E83BB3A6CA2 for <kitten@ietf.org>; Tue, 16 Nov 2010 08:42:45 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAGGhQAg007537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 16:43:27 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAFJXO6V018658; Tue, 16 Nov 2010 16:43:24 GMT
Received: from abhmt005.oracle.com by acsmt353.oracle.com with ESMTP id 782986421289925756; Tue, 16 Nov 2010 08:42:36 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 16 Nov 2010 08:42:33 -0800
Date: Tue, 16 Nov 2010 10:42:24 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20101116164224.GE6536@oracle.com>
References: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu> <201011160227.oAG2Ri6n003260__26372.0180061229$1289874533$gmane$org@fs4113.wdf.sap.corp> <8739r1xo2x.fsf@latte.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8739r1xo2x.fsf@latte.josefsson.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 16:42:47 -0000

On Tue, Nov 16, 2010 at 04:52:54PM +0100, Simon Josefsson wrote:
> Martin Rex <mrex@sap.com> writes:
> 
> > Scott Cantor wrote:
> >> 
> >> Stipulating that there's some way to accomplish CB by passing something on
> >> the URL you give to the browser, it seems like it's worth having a
> >> discussion about the more fundamental differences between the mechanisms,
> >> namely the use of a browser vs. a desktop client.
> >
> > Although I can not demonstrate any obvious security problem, I'm
> > feeling slighlty uneasy with having an app send tls-unique channel
> > bindings over _other_ channels than the particular TLS channel
> > from which they originate.  tls-unique represents the unkown part of
> > the plaintext for the very first encrypted message on a newly
> > established TLS channel.
> 
> I got that uneasy feeling too, and wrote the draft below as a more
> stringent alternative to 'tls-unique':
> 
> http://tools.ietf.org/html/draft-josefsson-sasl-tls-cb
> 
> However there were not sufficient interest at that time, and SCRAM/GS2
> now reference the 'tls-unique' CB explicitly so we are stuck with it.

Simon, your draft used the TLS PRF (same as the Finished messages used
by tls-unique) and bound only the client and server nonces, but none of
the other parts of the handshake.  Eric Rescorla, myself and others
explained at the time that binding all of the handshake is highly
desirable and why.  Lack of interest is most assuredly NOT the reason
that we proceeded with tls-unique instead of your approach: your CB
construction was actually subject to an MITM attack (see below).

Folks, a keyed PRF is supposed to be irreversible.  On top of that, the
Finished messages are supposed to remain cryptographically strong even
when used with cipher suites that do not provide confidentiality
protection.  On top of that, the Finished messages are a PRF applied to
hashes of handshake messages -- the hash algorithms used (TLS 1.2 gets
agility) don't have pre-image attacks, and the handshake messages, at
least for outer tunnels, are public anyways, and even for renegotiation,
the only private thing in the handshake would be the client's cert.

Thus what about making Finished messages public scares you?  And why not
further hash the tls-unique CB if you're concerned?

On top of that, we want to bind to all of the handshake, not just the
client and server nonces.  Consider RSA key transport... if the CB bound
only the nonces then an MITM could make sure that the CB came out the
same on both connections (the client's to the MITM and the MITM's to the
actual server) -- the MITM need only have a server cert that's
acceptable to the client, which is easy enough to achieve in the public
web.  Whereas tls-unique does NOT suffer from this attack because the
RSA key transport bits will be different if the MITM's and actual
server's RSA keys are different (if the MITM has the same keys then you
have bigger issues, to say the least) and the RSA key transport bits are
in the handshake, which gets bound into the CB data construction.

Nico
-- 

From simon@josefsson.org  Tue Nov 16 09:05:29 2010
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0EB373A6D81 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 09:05:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RxVbl8YDhh9F for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 09:05:27 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 8F7E73A6CA2 for <kitten@ietf.org>; Tue, 16 Nov 2010 09:05:27 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAGH5w3Z002099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 16 Nov 2010 18:06:00 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@oracle.com>
References: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu> <201011160227.oAG2Ri6n003260__26372.0180061229$1289874533$gmane$org@fs4113.wdf.sap.corp> <8739r1xo2x.fsf@latte.josefsson.org> <20101116164224.GE6536@oracle.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101116:kitten@ietf.org::0R2y8cmi5WGqtWR0:2wvR
X-Hashcash: 1:22:101116:mrex@sap.com::uy+0OnJpjED+lzzg:EI8n
X-Hashcash: 1:22:101116:kwiereng@cisco.com::4Sci8GFCqy3Ox5c4:PDz7
X-Hashcash: 1:22:101116:nicolas.williams@oracle.com::1pE6yU06w81rcMfo:KFAD
Date: Tue, 16 Nov 2010 18:05:50 +0100
In-Reply-To: <20101116164224.GE6536@oracle.com> (Nicolas Williams's message of "Tue, 16 Nov 2010 10:42:24 -0600")
Message-ID: <87hbfhtd01.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.96.4 at yxa-v
X-Virus-Status: Clean
Cc: kitten@ietf.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 17:05:29 -0000

Nicolas Williams <Nicolas.Williams@oracle.com> writes:

> On Tue, Nov 16, 2010 at 04:52:54PM +0100, Simon Josefsson wrote:
>> Martin Rex <mrex@sap.com> writes:
>> 
>> > Scott Cantor wrote:
>> >> 
>> >> Stipulating that there's some way to accomplish CB by passing something on
>> >> the URL you give to the browser, it seems like it's worth having a
>> >> discussion about the more fundamental differences between the mechanisms,
>> >> namely the use of a browser vs. a desktop client.
>> >
>> > Although I can not demonstrate any obvious security problem, I'm
>> > feeling slighlty uneasy with having an app send tls-unique channel
>> > bindings over _other_ channels than the particular TLS channel
>> > from which they originate.  tls-unique represents the unkown part of
>> > the plaintext for the very first encrypted message on a newly
>> > established TLS channel.
>> 
>> I got that uneasy feeling too, and wrote the draft below as a more
>> stringent alternative to 'tls-unique':
>> 
>> http://tools.ietf.org/html/draft-josefsson-sasl-tls-cb
>> 
>> However there were not sufficient interest at that time, and SCRAM/GS2
>> now reference the 'tls-unique' CB explicitly so we are stuck with it.
>
> Simon, your draft used the TLS PRF (same as the Finished messages used
> by tls-unique) and bound only the client and server nonces, but none of
> the other parts of the handshake.  Eric Rescorla, myself and others
> explained at the time that binding all of the handshake is highly
> desirable and why.  Lack of interest is most assuredly NOT the reason
> that we proceeded with tls-unique instead of your approach: your CB
> construction was actually subject to an MITM attack (see below).

That was fixed in -01 back in August 2008.

> Folks, a keyed PRF is supposed to be irreversible.  On top of that, the
> Finished messages are supposed to remain cryptographically strong even
> when used with cipher suites that do not provide confidentiality
> protection.  On top of that, the Finished messages are a PRF applied to
> hashes of handshake messages -- the hash algorithms used (TLS 1.2 gets
> agility) don't have pre-image attacks, and the handshake messages, at
> least for outer tunnels, are public anyways, and even for renegotiation,
> the only private thing in the handshake would be the client's cert.
>
> Thus what about making Finished messages public scares you?

That the Finished message is used to solve two different but both
critical security problems: 1) to protect the TLS handshake, and 2) to
serve as CB data to detect MITM's in higher level protocols.

I see this as similar to re-using a key or nonce for two different
purposes or protocols.  That the data is re-used in different protocols
is even more disturbing to me.

The argument about integrity-only TLS is unconvincing to me: practically
nobody uses TLS without encryption, and it isn't something that is well
analyzed.  If there is a problem with it, those ciphersuites will likely
be deprecated and nobody will care.  Nobody would rightly classify that
as TLS being broken.

> And why not further hash the tls-unique CB if you're concerned?

That would solve the problem, but it introduces hash agility concerns.

Let me clarify: I'm not pushing for my solution today.  I used it as an
illustration for Martin that the time to push for something other than
tls-unique was several years ago.  To do something about the situation
today requires more than just uneasy feelings.

/Simon

From cantor.2@osu.edu  Tue Nov 16 09:32:00 2010
Return-Path: <cantor.2@osu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 83F3A3A6CD2 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 09:32:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J1mAjJI8P4bB for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 09:31:59 -0800 (PST)
Received: from defang19.it.ohio-state.edu (defang19.it.ohio-state.edu [128.146.216.133]) by core3.amsl.com (Postfix) with ESMTP id 551FF3A6CA6 for <kitten@ietf.org>; Tue, 16 Nov 2010 09:31:59 -0800 (PST)
Received: from defang9.it.ohio-state.edu (defang9.it.ohio-state.edu [128.146.216.78]) by defang19.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAGHWfeQ026746; Tue, 16 Nov 2010 12:32:41 -0500
Received: from BYTOR (dhcp-128-146-207-216.osuwireless.ohio-state.edu [128.146.207.216] (may be forged)) by defang9.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAGHWfBo018098; Tue, 16 Nov 2010 12:32:41 -0500
From: "Scott Cantor" <cantor.2@osu.edu>
To: "'Simon Josefsson'" <simon@josefsson.org>, "'Nicolas Williams'" <Nicolas.Williams@oracle.com>
References: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu> <201011160227.oAG2Ri6n003260__26372.0180061229$1289874533$gmane$org@fs4113.wdf.sap.corp> <8739r1xo2x.fsf@latte.josefsson.org> <20101116164224.GE6536@oracle.com> <87hbfhtd01.fsf@latte.josefsson.org>
In-Reply-To: <87hbfhtd01.fsf@latte.josefsson.org>
Date: Tue, 16 Nov 2010 12:32:41 -0500
Organization: The Ohio State University
Message-ID: <00cc01cb85b4$45cad7c0$d1608740$@osu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-language: en-us
Thread-index: AQLsPGtZ1jAcPOkXdL6JKOmofT1k+AEM3l5iAeL4InQB3LDn/QJnBpn0kPlSyKA=
X-CanIt-Geo: ip=128.146.216.78; country=US; region=OH; city=Columbus; latitude=39.9968; longitude=-82.9882; metrocode=535; areacode=614; http://maps.google.com/maps?q=39.9968,-82.9882&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.133
Cc: kitten@ietf.org
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 17:32:00 -0000

> Let me clarify: I'm not pushing for my solution today.  I used it as an
> illustration for Martin that the time to push for something other than
> tls-unique was several years ago.  To do something about the situation
> today requires more than just uneasy feelings.

Out of curiosity, is doing tls-unique in Java possible with the usual TLS
approaches? I know it's not with my TLS environment (libcurl on top of
OpenSSL).

-- Scott



From Nicolas.Williams@oracle.com  Tue Nov 16 09:36:15 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 57E4B3A6D10 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 09:36:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.517
X-Spam-Level: 
X-Spam-Status: No, score=-6.517 tagged_above=-999 required=5 tests=[AWL=0.081,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W5U1zzRlV4mS for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 09:36:14 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 2F05E3A6CDE for <kitten@ietf.org>; Tue, 16 Nov 2010 09:36:14 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAGHap0H030243 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 17:36:53 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAG96nRm014883; Tue, 16 Nov 2010 17:36:49 GMT
Received: from abhmt015.oracle.com by acsmt353.oracle.com with ESMTP id 783208151289928982; Tue, 16 Nov 2010 09:36:22 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 16 Nov 2010 09:36:20 -0800
Date: Tue, 16 Nov 2010 11:36:13 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20101116173610.GF6536@oracle.com>
References: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu> <201011160227.oAG2Ri6n003260__26372.0180061229$1289874533$gmane$org@fs4113.wdf.sap.corp> <8739r1xo2x.fsf@latte.josefsson.org> <20101116164224.GE6536@oracle.com> <87hbfhtd01.fsf@latte.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87hbfhtd01.fsf@latte.josefsson.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 17:36:15 -0000

On Tue, Nov 16, 2010 at 06:05:50PM +0100, Simon Josefsson wrote:
> Nicolas Williams <Nicolas.Williams@oracle.com> writes:
> >> http://tools.ietf.org/html/draft-josefsson-sasl-tls-cb
> >> 
> >> However there were not sufficient interest at that time, and SCRAM/GS2
> >> now reference the 'tls-unique' CB explicitly so we are stuck with it.
> >
> > Simon, your draft used the TLS PRF (same as the Finished messages used
> > by tls-unique) and bound only the client and server nonces, but none of
> > the other parts of the handshake.  Eric Rescorla, myself and others
> > explained at the time that binding all of the handshake is highly
> > desirable and why.  Lack of interest is most assuredly NOT the reason
> > that we proceeded with tls-unique instead of your approach: your CB
> > construction was actually subject to an MITM attack (see below).
> 
> That was fixed in -01 back in August 2008.

Oh, I missed that when I glanced at -02.

> > Thus what about making Finished messages public scares you?
> 
> That the Finished message is used to solve two different but both
> critical security problems: 1) to protect the TLS handshake, and 2) to
> serve as CB data to detect MITM's in higher level protocols.

Again... the Finished messages are supposed to work even when you use
cipher suites without confidentiality protection, and their construction
is clearly either secure or TLS is badly broken.

> I see this as similar to re-using a key or nonce for two different
> purposes or protocols.  That the data is re-used in different protocols
> is even more disturbing to me.

I don't think re-using the Finished messages is remotely like re-using a
key or a nonce.  The construction of the Finished messages had better be
secure, else TLS is broken.

> The argument about integrity-only TLS is unconvincing to me: practically
> nobody uses TLS without encryption, and it isn't something that is well
> analyzed.  If there is a problem with it, those ciphersuites will likely
> be deprecated and nobody will care.  Nobody would rightly classify that
> as TLS being broken.

The construction of the Finished messages had better be secure, else TLS
is broken.

> > And why not further hash the tls-unique CB if you're concerned?
> 
> That would solve the problem, but it introduces hash agility concerns.

True.  I believe there's no need to hash it.

> Let me clarify: I'm not pushing for my solution today.  I used it as an
> illustration for Martin that the time to push for something other than
> tls-unique was several years ago.  To do something about the situation
> today requires more than just uneasy feelings.

Fair enough.  The ship has sailed.

Nico
-- 

From Nicolas.Williams@oracle.com  Tue Nov 16 09:37:17 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ACE893A6CAF for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 09:37:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.519
X-Spam-Level: 
X-Spam-Status: No, score=-6.519 tagged_above=-999 required=5 tests=[AWL=0.079,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eT4UQUrc0st4 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 09:37:12 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 4D6CD3A6CD2 for <kitten@ietf.org>; Tue, 16 Nov 2010 09:37:12 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAGHbsgB003017 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 17:37:56 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAGGiYG6017573; Tue, 16 Nov 2010 17:37:53 GMT
Received: from abhmt001.oracle.com by acsmt354.oracle.com with ESMTP id 783217391289929064; Tue, 16 Nov 2010 09:37:44 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 16 Nov 2010 09:37:43 -0800
Date: Tue, 16 Nov 2010 11:37:33 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Scott Cantor <cantor.2@osu.edu>
Message-ID: <20101116173732.GG6536@oracle.com>
References: <00b001cb84dd$1e05da50$5a118ef0$@osu.edu> <201011160227.oAG2Ri6n003260__26372.0180061229$1289874533$gmane$org@fs4113.wdf.sap.corp> <8739r1xo2x.fsf@latte.josefsson.org> <20101116164224.GE6536@oracle.com> <87hbfhtd01.fsf@latte.josefsson.org> <00cc01cb85b4$45cad7c0$d1608740$@osu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <00cc01cb85b4$45cad7c0$d1608740$@osu.edu>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, 'Simon Josefsson' <simon@josefsson.org>
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 17:37:17 -0000

On Tue, Nov 16, 2010 at 12:32:41PM -0500, Scott Cantor wrote:
> > Let me clarify: I'm not pushing for my solution today.  I used it as an
> > illustration for Martin that the time to push for something other than
> > tls-unique was several years ago.  To do something about the situation
> > today requires more than just uneasy feelings.
> 
> Out of curiosity, is doing tls-unique in Java possible with the usual TLS
> approaches? I know it's not with my TLS environment (libcurl on top of
> OpenSSL).

I don't know.  I ask around.

I thought Sam and friends were working the libcurl angle, so eventually
you'll be able to get tls-unique via libcurl.

Nico
-- 

From mrex@sap.com  Tue Nov 16 12:58:49 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D09323A63EC for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 12:58:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.114
X-Spam-Level: 
X-Spam-Status: No, score=-10.114 tagged_above=-999 required=5 tests=[AWL=0.135, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3PLBBPX4Ktig for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 12:58:49 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id BBEBE3A635F for <kitten@ietf.org>; Tue, 16 Nov 2010 12:58:48 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oAGKxRWh010059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 21:59:27 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011162059.oAGKxPHQ005177@fs4113.wdf.sap.corp>
To: simon@josefsson.org (Simon Josefsson)
Date: Tue, 16 Nov 2010 21:59:25 +0100 (MET)
In-Reply-To: <87hbfhtd01.fsf@latte.josefsson.org> from "Simon Josefsson" at Nov 16, 10 06:05:50 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal04
X-SAP: out
Cc: kitten@ietf.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 20:58:49 -0000

Simon Josefsson wrote:
> 
> Nicolas Williams <Nicolas.Williams@oracle.com> writes:
> 
> > Folks, a keyed PRF is supposed to be irreversible.
> >  [...]
> > Thus what about making Finished messages public scares you?

I said "slightly uneasy feeling" not "scares me" nor "disturbing",
and I am _not_ asking for a change.
(OT: if there is anything disturbing about verify_data, then that it wasn't
 increased from 12 to 20 octets for TLSv1.2 when the PRF hash was
 upgraded from SHA1(=20octets) to SHA256(32-octets)).

The specific rationale that was used when a concern about re-sending
verify_data was raised during the TLS renego discussion does not apply here:

   http://www.ietf.org/mail-archive/web/tls/current/msg04214.html


> 
> That the Finished message is used to solve two different but both
> critical security problems: 1) to protect the TLS handshake, and 2) to
> serve as CB data to detect MITM's in higher level protocols.

I do _not_ feel uneasy with sending the verify_data of the clients Finished
message three times during TLS secure renego instead of only once.
And I do _not_ mind any additional times within GSS-API context level
tokens over that very same TLS channel.

Actively distributing originally confidential verify_data to other
parties is slightly different in nature.


> 
> The argument about integrity-only TLS is unconvincing to me

That argument applies to exactly two non-encrypting cipher suites that
are UNpopular by providing a false sense of security for binary TLS on/off
indicators, lacking to provide protection for password-based authentication
over TLS-protected channels (the primary reason why TLS is used at all),
and these non-encrypting cipher suites are disabled by default in most
implementations.


> 
> > And why not further hash the tls-unique CB if you're concerned?

One of the objective for TLS and even more GSS-API was to keep
crypto-related operations out of the hands of the apps folks.

>From a procedural standpoint, either we know of a problem and should
then fix/update the CB spec, or use it exactly as specified.
Otherwise it is _us_ who are scaring away apps folks from rfc5929.

But if we start distributing the tls-unique channel bindings
to third-parties, we should eventually file an update-errata for
TLSv1.2 to go on record that we've decided to do that (based on rfc5929).


> 
> That would solve the problem, but it introduces hash agility concerns.

tls-unique CB is 12 octets for all currently defined cipher suites
with protocol version TLSv1.[012], so I don't think collisions for
hashes with 20+ octets are an issue here (if anything, only the
Workfactor of the algorithm for a forward exhaustive search).


-Martin

From Nicolas.Williams@oracle.com  Tue Nov 16 13:38:29 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0F3E83A67F3 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 13:38:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.52
X-Spam-Level: 
X-Spam-Status: No, score=-6.52 tagged_above=-999 required=5 tests=[AWL=0.078,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IT+yQIH5DzcZ for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 13:38:28 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id F3DDD3A67F1 for <kitten@ietf.org>; Tue, 16 Nov 2010 13:38:27 -0800 (PST)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAGLd9Rg025254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 21:39:11 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAGHLhVU015712; Tue, 16 Nov 2010 21:39:08 GMT
Received: from abhmt001.oracle.com by acsmt355.oracle.com with ESMTP id 783990531289943478; Tue, 16 Nov 2010 13:37:58 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 16 Nov 2010 13:37:49 -0800
Date: Tue, 16 Nov 2010 15:37:42 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Martin Rex <mrex@sap.com>
Message-ID: <20101116213741.GC20162@oracle.com>
References: <87hbfhtd01.fsf@latte.josefsson.org> <201011162059.oAGKxPHQ005177@fs4113.wdf.sap.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201011162059.oAGKxPHQ005177@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, simon@josefsson.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 21:38:29 -0000

On Tue, Nov 16, 2010 at 09:59:25PM +0100, Martin Rex wrote:
> Simon Josefsson wrote:
> > 
> > Nicolas Williams <Nicolas.Williams@oracle.com> writes:
> > 
> > > Folks, a keyed PRF is supposed to be irreversible.
> > >  [...]
> > > Thus what about making Finished messages public scares you?
> 
> I said "slightly uneasy feeling" not "scares me" nor "disturbing",
> and I am _not_ asking for a change.

OK, good.

> (OT: if there is anything disturbing about verify_data, then that it wasn't
>  increased from 12 to 20 octets for TLSv1.2 when the PRF hash was
>  upgraded from SHA1(=20octets) to SHA256(32-octets)).

I agree, I'd have preferred to have selection of version 1.2 result in
selection of a larger verify_data_length.

To be fair, in 1.2 verify_data_length varies according to the cipher
suite chosen, so this can be addressed by... adding new versions of the
cipher suites we use the most, or all of them even.  Of course, cipher
suite code point explosion is an obnoxious aspect of TLS...

> > That the Finished message is used to solve two different but both
> > critical security problems: 1) to protect the TLS handshake, and 2) to
> > serve as CB data to detect MITM's in higher level protocols.
> 
> I do _not_ feel uneasy with sending the verify_data of the clients Finished
> message three times during TLS secure renego instead of only once.
> And I do _not_ mind any additional times within GSS-API context level
> tokens over that very same TLS channel.
> 
> Actively distributing originally confidential verify_data to other
> parties is slightly different in nature.

Again, the Finished message computation is such that revealing the
Finished message plaintext is not a problem.  If that were a problem
then that would be indicative of at least a cryptographic break of the
TLS PRF, which alone would be fatal to the security of TLS regardless of
what you choose to do with Finished messages.  And it might even be
indicative of breaks of one or more cryptographic properties of the hash
algorithm applied to the handshake messages.

The fact that to extract useful information about the master_secret from
the Finished message implies a cryptographic vulnerability in all of TLS
makes me think that there's no issue at all here.  At the very least
active attacks would be enabled, possibly also passive attacks (in
combination with known plaintext attacks?).  Putting the tls-unique CB
data into out-of-band messages (to IdPs and what not) would at worst
make passive attacks possible if the PRF vulnerability only facilitated
active attacks (but only if the CB data is sent in the clear), but the
fundamental vulnerability of the PRF would be the problem.

In other words: never mind tls-unique, that TLS PRF had better be strong
for TLS' sake.

> From a procedural standpoint, either we know of a problem and should
> then fix/update the CB spec, or use it exactly as specified.
> Otherwise it is _us_ who are scaring away apps folks from rfc5929.

Exactly.  So, where's the problem?

> But if we start distributing the tls-unique channel bindings
> to third-parties, we should eventually file an update-errata for
> TLSv1.2 to go on record that we've decided to do that (based on rfc5929).

Errata?  No, the TLS WG got a chance to review RFC5929.  We considered
whether RFC5929 should update RFC5246, and IIRC Eric did not want that;
I would have preferred to update RFC5246, but the fact is that the TLS
community knows about tls-unique.

Nico
-- 

From mrex@sap.com  Tue Nov 16 14:52:55 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D2D2F3A6850 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 14:52:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.118
X-Spam-Level: 
X-Spam-Status: No, score=-10.118 tagged_above=-999 required=5 tests=[AWL=0.131, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t6p97LGNz48O for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 14:52:55 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id CA9DC3A6809 for <kitten@ietf.org>; Tue, 16 Nov 2010 14:52:54 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oAGMrTAW024121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 23:53:34 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011162253.oAGMrSEZ011671@fs4113.wdf.sap.corp>
To: Nicolas.Williams@oracle.com (Nicolas Williams)
Date: Tue, 16 Nov 2010 23:53:28 +0100 (MET)
In-Reply-To: <20101116213741.GC20162@oracle.com> from "Nicolas Williams" at Nov 16, 10 03:37:42 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal03
X-SAP: out
Cc: kitten@ietf.org, simon@josefsson.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 22:52:55 -0000

Nicolas Williams wrote:
> 
> Martin Rex wrote:
> > 
> > But if we start distributing the tls-unique channel bindings
> > to third-parties, we should eventually file an update-errata for
> > TLSv1.2 to go on record that we've decided to do that (based on rfc5929).
> 
> Errata?

AFAIK there is just _one_ category for publishing additional/clarifying
information to a published document, and that category is labelled "Errata"


>
> No, the TLS WG got a chance to review RFC5929.  We considered
> whether RFC5929 should update RFC5246, and IIRC Eric did not want that;
> I would have preferred to update RFC5246, but the fact is that the TLS
> community knows about tls-unique.


I agree that it is not necessary to make support for rfc5929 an implicit
pre-requisite of any succesor document to rfc-5246.

But if you look at any of the existing TLSv1.[012] protocol specs, then
it is pretty clear that the finished message is the very first
encrypted message (for TLS cipher suites that employ encryption).
And there is *NO* part of TLS that lightheartedly spoils the
confidentiality of that handshake message (ClientFinished.verify_data
for full handshakes and ServerFinished.verify_data for abbreviated
handshakes aka. resume).

What you definitely want to avoid is that anyone extending the
TLS protocol in the future builds assumptions on the confidentiality
of those verify_data, because a combination of two other documents
(that are not linked through the document header markings) has
decided to actively disclose that data to other parties, because
this is nothing that a reader of the TLS protocol spec can be
expected to anticipate.

-Martin


From Nicolas.Williams@oracle.com  Tue Nov 16 15:14:33 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 71F843A6869 for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 15:14:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.522
X-Spam-Level: 
X-Spam-Status: No, score=-6.522 tagged_above=-999 required=5 tests=[AWL=0.076,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nXp0OpzUxHvz for <kitten@core3.amsl.com>; Tue, 16 Nov 2010 15:14:32 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 8532B3A6868 for <kitten@ietf.org>; Tue, 16 Nov 2010 15:14:32 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAGNFAIv021423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Nov 2010 23:15:12 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAGEkwTf010207; Tue, 16 Nov 2010 23:15:08 GMT
Received: from abhmt004.oracle.com by acsmt353.oracle.com with ESMTP id 784260681289949306; Tue, 16 Nov 2010 15:15:06 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 16 Nov 2010 15:15:06 -0800
Date: Tue, 16 Nov 2010 17:15:01 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Martin Rex <mrex@sap.com>
Message-ID: <20101116231501.GG20162@oracle.com>
References: <20101116213741.GC20162@oracle.com> <201011162253.oAGMrSEZ011671@fs4113.wdf.sap.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201011162253.oAGMrSEZ011671@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, simon@josefsson.org, kwiereng@cisco.com
Subject: Re: [kitten] Browser or not
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 16 Nov 2010 23:14:33 -0000

On Tue, Nov 16, 2010 at 11:53:28PM +0100, Martin Rex wrote:
> Nicolas Williams wrote:
> > 
> > Martin Rex wrote:
> > > 
> > > But if we start distributing the tls-unique channel bindings
> > > to third-parties, we should eventually file an update-errata for
> > > TLSv1.2 to go on record that we've decided to do that (based on rfc5929).
> > 
> > Errata?
> 
> AFAIK there is just _one_ category for publishing additional/clarifying
> information to a published document, and that category is labelled "Errata"

I know.  I was just expressing skepticism.  Errata is for minor errors.

> > No, the TLS WG got a chance to review RFC5929.  We considered
> > whether RFC5929 should update RFC5246, and IIRC Eric did not want that;
> > I would have preferred to update RFC5246, but the fact is that the TLS
> > community knows about tls-unique.
> 
> I agree that it is not necessary to make support for rfc5929 an implicit
> pre-requisite of any succesor document to rfc-5246.

Well, I'd like support for RFC5929 to be an explicit requirement.  For
that to happen we'll need to see more take up of RFC5929.  NEA WG is
apparently going to be using tls-unique in one EAP method to bind an
inner method to an outer tunnel.  Between that and SASL/GS2 apps I think
we'll soon see enough take up.

> But if you look at any of the existing TLSv1.[012] protocol specs, then
> it is pretty clear that the finished message is the very first
> encrypted message (for TLS cipher suites that employ encryption).

Yes.

> And there is *NO* part of TLS that lightheartedly spoils the
> confidentiality of that handshake message (ClientFinished.verify_data
> for full handshakes and ServerFinished.verify_data for abbreviated
> handshakes aka. resume).

Again, for cipher suites with confidentiality.

> What you definitely want to avoid is that anyone extending the
> TLS protocol in the future builds assumptions on the confidentiality
> of those verify_data, because a combination of two other documents
> (that are not linked through the document header markings) has
> decided to actively disclose that data to other parties, because
> this is nothing that a reader of the TLS protocol spec can be
> expected to anticipate.

Fair enough.  But an erratum won't do.  You should want an update to
RFC5246.


From mrex@sap.com  Wed Nov 17 18:40:55 2010
Return-Path: <mrex@sap.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CA5BC3A63D3 for <kitten@core3.amsl.com>; Wed, 17 Nov 2010 18:40:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.825
X-Spam-Level: 
X-Spam-Status: No, score=-9.825 tagged_above=-999 required=5 tests=[AWL=-0.176, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_21=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Unw74rLK2OaX for <kitten@core3.amsl.com>; Wed, 17 Nov 2010 18:40:54 -0800 (PST)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id 4C47D3A635F for <kitten@ietf.org>; Wed, 17 Nov 2010 18:40:54 -0800 (PST)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id oAI2fdD2015807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Nov 2010 03:41:39 +0100 (MET)
From: Martin Rex <mrex@sap.com>
Message-Id: <201011180241.oAI2fcKa014881@fs4113.wdf.sap.corp>
To: hartmans-ietf@mit.edu (Sam Hartman)
Date: Thu, 18 Nov 2010 03:41:38 +0100 (MET)
In-Reply-To: <tsleiamkk8t.fsf@carter-zimmerman.suchdamage.org> from "Sam Hartman" at Nov 15, 10 10:41:54 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal03
X-SAP: out
Cc: kitten@ietf.org, simon@josefsson.org, hartmans-ietf@mit.edu
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 18 Nov 2010 02:40:55 -0000

Sam Hartman wrote:
> 
> You've certainly seen a lot of GSS-API mechanisms.  However those
> mechanisms were not proposed for standardization within the IETF.

Actually, it is just the opposite.

  http://tools.ietf.org/html/draft-ietf-cat-kerb5gss   (->rfc1964)
and
  http://tools.ietf.org/html/draft-ietf-cat-spkmgss    (->rfc2025)

have about the same age.

rfc-2743, section 5.3
  http://tools.ietf.org/html/rfc2743#page-90
was already part of the very first GSS-API v2 draft
  http://tools.ietf.org/html/draft-ietf-cat-gssv2-00

and described the architecture of a real implementation/product
that we certified for interop with our app in 1998.

So the architecture for X.509/PKI gssapi mechanism related to SPKM
existed at least one year before I first heard about the existence
of GSS-API.


During the design of the GSS-API support by our application, I tried
to accomodate for the _published_ characteristics, because it was clear
that we were _not_ going to build and ship Single Sign-On solutions
ourselves, but instead rely solely on third-party products and
therefore be portable as much as our own architecture allowed.

Adding an addtional target-identity paramter to all connection APIs,
command lines and configurations was actually trivial compared to the hoops
we had to jump through in order to account for Kerbgss shortcomings.


The non-obvious Kerberos 5 gssapi mechanism problems:

    - enforced security context expiration.  Our app is the only app I know
      that implements a security context refresh logic in order
      to replace an expiring gssapi security context with a new
      one for longterm communication links

      For a very short time in Windows2000 Beta3 Microsoft enabled
      security context expiration and realized that they couldn't
      handle it, so they are ignoring it ever since.

      Some SPKM mechanisms offer lifetime-limited security contexts
      at request by the application.

    - initiating credentials expiration requiring frequent out-of-band
      refresh operations.  The side-effecting of credentials lifetime
      on security context lifetime is a challenge for automatic
      security context refresh logic.

      Other than TLS, security context refresh is burdened completely
      onto the caller above GSS-API, who has to establish a seperate
      security context, check whether the lifetime of the new is
      longer than the remaining of the old and then synchronously
      change from using the old security context for message protection
      and unprotection to using the new security context and deleting
      the old.

      Expiring initiating credentials required admins of distributed apps
      to configure e.g. a frequent cron-job "kinit -k app-abc/host.f.q.d.n"
      to refresh initiating creds, because many kerb-libraries on unix
      didn't simply do this themselves and didn't document this necessity
      anywhere either.  Microsoft Kerberos was the first Kerberos5
      implementation I saw with an acceptable credentials management.

    - users can not acquire accepting credentials
      With SPKM you can initiate trivially in both directions, while
      with Kerberos5, whenever you need a parallel,independent,
      gss-api protected communication link established, you need to
      ensure that the original initiator will also be the initiator
      for all additional parallel communication links.

      With SPKM, no such restriction exists, so an acceptor can
        gss_inquire_context(old_ctx, &src_name, &targ_name);
        gss_acquire_cred(&acc_cred, &targ_name);
        gss_init_sec_context(cred=acc_cred, target=src_name, &new_ctx)
      with ease, while with Kerberos, the app must first define
      and transfer an app request over old_ctx telling the initiator
      to establish a new security context.

      Microsoft Kerberos allows users to acquire accepting credentials.
      Since there is some security problem with allowing rfc-1964 two-token
      authentication with acceptors using password-based keys, Microsoft
      also implemented a (so far not standardized) variant of the
      Kerberos 5 mechanism for the "user2user" or "double-TGT" authentication
      scheme from the Kerberos 5 protocol specification.

    - Kerberos does not work across firewalls and alien address spaces
      Our app client was/is able to traverse proxy chains, e.g. in order
      to access customer systems for remote support.  Securing such logons
      with Kerberos will never work.  There is a proposal for an
      "IAKERB" gssapi mechanism from Microsoft to "out-source" all
      communication between the initiator/client and the KDC to the
      acceptor/server, but there hasn't been much visible progress over
      the last decade.

      SPKM mechanism implementations without a prerequisite of KDC-like
      access to an online directory (as Entrusts product) work just fine
      across any number of app-level proxies and completely independent
      of the low-level network connectivity between initiator and acceptor.


Having to accomodate for the lack of hostbased service names
in your app and app protocol is really a no-brainer.

Accounting for undocumented shortcoming of most Kerberos implementations
in a large distributed application, on the other hand, requires quite
an enormous effort.


I do remeber our first Video Conference with MIT & Ted Ts'o in April 1995,
when we discussed how to make Kerberos Single Sign-On usable for our
application, and I proposed to use GSS-API to interface to MIT Kerberos.

Ted was very explicit that using the native Kerberos API would
be much easier for us -- but I alread had obtained a requirement
to support an X.509/PKI based authentication scheme for specific
other customers, so I chose GSS-API as a common ground for a
unified solution architecture.  And then Ted got me involved
with the IETF.

-Martin

From jehan.marmottard@gmail.com  Sun Nov 21 12:34:45 2010
Return-Path: <jehan.marmottard@gmail.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8551E3A69F8 for <kitten@core3.amsl.com>; Sun, 21 Nov 2010 12:34:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.026
X-Spam-Level: 
X-Spam-Status: No, score=-1.026 tagged_above=-999 required=5 tests=[AWL=-0.804, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, SUBJ_ALL_CAPS=2.077]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xtgZEQ4xrphk for <kitten@core3.amsl.com>; Sun, 21 Nov 2010 12:34:44 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 89D4E3A69F5 for <kitten@ietf.org>; Sun, 21 Nov 2010 12:34:44 -0800 (PST)
Received: by wwa36 with SMTP id 36so6402936wwa.13 for <kitten@ietf.org>; Sun, 21 Nov 2010 12:35:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=ONzKq2TOI4UvDCW30WkqQ2ThqtPtyMH6MXBWASPt4Gs=; b=BVrZuEh5GCjvTMs9JIBIeOkBGqGleVOTR3n7kyoOdFk60J/vGGj3GASZabZAvpGC40 tFKSB1Xhm/JHP7P3UqUTDuBxQQ7Z4/HQxI9Ui8hMVxc79PG32LPM3COwIgqDyFiW/DWW f+L5HSVUAz/+mc3TuYLYPidePqOpfpOAj+uso=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=sDqUVxXBGlCaCrFDTsFlASmMXBo68Cn0kUv07XRHGaSBtysyraOvL5A1mrylkwku8q pvaNRZcXENPnkty53vI2pQvBOQzcnv8CgtEYSin31VHfqHrpO8UPOWb+b0Ys7bEz2MTg DRmXBPOdHLQExgcVfelfjKcOsw5TCwn4ojeVE=
MIME-Version: 1.0
Received: by 10.216.2.141 with SMTP id 13mr3249084wef.84.1290371738080; Sun, 21 Nov 2010 12:35:38 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Sun, 21 Nov 2010 12:35:37 -0800 (PST)
Date: Mon, 22 Nov 2010 05:35:37 +0900
Message-ID: <AANLkTikagU7yAxRfXVVUOm_8sjoCTUm8U4gdN+gTAGdD@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: kitten@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: [kitten] RFC5802: SCRAM
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 21 Nov 2010 20:34:45 -0000

Hi,

I think I spotted a small wording mistake in the SCRAM RFC
(too bad the draft period is already finished, sorry I didn't
participate). In section 5:

=AB
The server verifies the nonce and the proof, verifies that the
  authorization identity (if supplied by the client in the first
  message) is authorized to act as the authentication identity, and,
  finally, it responds with a "server-final-message", concluding the
  authentication exchange.
=BB

I think the opposite was meant, wasn't it? This is the authentication
identity which acts as (if authorized to) the authorization identity.
It could be worded as:

=AB
  The server verifies the nonce and the proof, verifies that the
  the authentication identity is authorized to act as the
  authorization identity (if supplied by the client in the first
  message) , and, finally, it responds with a "server-final-message",
  concluding the authentication exchange.
=BB

Am I right?
Bye.

Jehan

From Nicolas.Williams@oracle.com  Sun Nov 21 13:10:08 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 42FA33A6AB0 for <kitten@core3.amsl.com>; Sun, 21 Nov 2010 13:10:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.378
X-Spam-Level: 
X-Spam-Status: No, score=-6.378 tagged_above=-999 required=5 tests=[AWL=-0.080, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J4FUq3YLOYif for <kitten@core3.amsl.com>; Sun, 21 Nov 2010 13:10:06 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 324723A6A0E for <kitten@ietf.org>; Sun, 21 Nov 2010 13:10:05 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oALLAubJ010708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 21 Nov 2010 21:10:57 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oALLAsFc025118; Sun, 21 Nov 2010 21:10:55 GMT
Received: from abhmt004.oracle.com by acsmt353.oracle.com with ESMTP id 798958821290373753; Sun, 21 Nov 2010 13:09:13 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 21 Nov 2010 12:38:24 -0800
Date: Sun, 21 Nov 2010 14:38:19 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Jehan =?iso-8859-1?Q?Pag=E8s?= <jehan.marmottard@gmail.com>
Message-ID: <20101121203819.GW20162@oracle.com>
References: <AANLkTikagU7yAxRfXVVUOm_8sjoCTUm8U4gdN+gTAGdD@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <AANLkTikagU7yAxRfXVVUOm_8sjoCTUm8U4gdN+gTAGdD@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] RFC5802: SCRAM
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 21 Nov 2010 21:10:08 -0000

On Mon, Nov 22, 2010 at 05:35:37AM +0900, Jehan Pagès wrote:
> Hi,
> 
> I think I spotted a small wording mistake in the SCRAM RFC
> (too bad the draft period is already finished, sorry I didn't
> participate). In section 5:
> 
> «
> The server verifies the nonce and the proof, verifies that the
>   authorization identity (if supplied by the client in the first
>   message) is authorized to act as the authentication identity, and,
>   finally, it responds with a "server-final-message", concluding the
>   authentication exchange.
> »
> 
> I think the opposite was meant, wasn't it? This is the authentication
> identity which acts as (if authorized to) the authorization identity.
> It could be worded as:
> 
> «
>   The server verifies the nonce and the proof, verifies that the
>   the authentication identity is authorized to act as the
>   authorization identity (if supplied by the client in the first
>   message) , and, finally, it responds with a "server-final-message",
>   concluding the authentication exchange.
> »
> 
> Am I right?

Yes, that's an editing error.  Thanks for catching that!

Nico
-- 

From alexey.melnikov@isode.com  Sun Nov 21 23:56:25 2010
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 61FBF3A6AC7 for <kitten@core3.amsl.com>; Sun, 21 Nov 2010 23:56:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.449
X-Spam-Level: 
X-Spam-Status: No, score=-102.449 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l5LjewzSyNnM for <kitten@core3.amsl.com>; Sun, 21 Nov 2010 23:56:24 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 8B0B33A6967 for <kitten@ietf.org>; Sun, 21 Nov 2010 23:56:24 -0800 (PST)
Received: from [92.40.128.104] (92.40.128.104.sub.mbb.three.co.uk [92.40.128.104])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TOoiXQAEecB4@rufus.isode.com>; Mon, 22 Nov 2010 07:57:18 +0000
Message-ID: <4CEA2259.3040409@isode.com>
Date: Mon, 22 Nov 2010 07:57:13 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
References: <AANLkTikagU7yAxRfXVVUOm_8sjoCTUm8U4gdN+gTAGdD@mail.gmail.com>
In-Reply-To: <AANLkTikagU7yAxRfXVVUOm_8sjoCTUm8U4gdN+gTAGdD@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: quoted-printable
Cc: kitten@ietf.org
Subject: Re: [kitten] RFC5802: SCRAM
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 22 Nov 2010 07:56:25 -0000

Jehan Pag=E8s wrote:

>Hi,
>
>I think I spotted a small wording mistake in the SCRAM RFC
>(too bad the draft period is already finished, sorry I didn't
>participate). In section 5:
>
>=AB
>The server verifies the nonce and the proof, verifies that the
>  authorization identity (if supplied by the client in the first
>  message) is authorized to act as the authentication identity, and,
>  finally, it responds with a "server-final-message", concluding the
>  authentication exchange.
>=BB
>
>I think the opposite was meant, wasn't it? This is the authentication
>identity which acts as (if authorized to) the authorization identity.
>It could be worded as:
>
>=AB
>  The server verifies the nonce and the proof, verifies that the
>  the authentication identity is authorized to act as the
>  authorization identity (if supplied by the client in the first
>  message) , and, finally, it responds with a "server-final-message",
>  concluding the authentication exchange.
>=BB
>
>Am I right?
> =20
>
Good catch. Can your report this as an erratum using=20
<http://www.rfc-editor.org/errata.php> (press the "Report New Errata"=20
button)?


From jehan.marmottard@gmail.com  Mon Nov 22 02:49:59 2010
Return-Path: <jehan.marmottard@gmail.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8E2563A6A87 for <kitten@core3.amsl.com>; Mon, 22 Nov 2010 02:49:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[AWL=0.301,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ADyl64AgCdSw for <kitten@core3.amsl.com>; Mon, 22 Nov 2010 02:49:58 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id A12F828C0D9 for <kitten@ietf.org>; Mon, 22 Nov 2010 02:49:58 -0800 (PST)
Received: by wwa36 with SMTP id 36so6925610wwa.13 for <kitten@ietf.org>; Mon, 22 Nov 2010 02:50:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=feGCfiivCYklxFJQjW4Kxk8xkedxLp4qAXnKLz6GdbQ=; b=gCUrEFM6RRMz2TNfe7VMkL1ag/W+aPw5Cmj7V3pDFiLPnFatAznpGjBPRufn+9vZwo LYQTB3hFBbScAx/UqRf4DZox/kHmtPSWYvn308xR2h7xq6+fZHoHztqrAYkwdulJgKLW 6h8fljE8rpxrbcKeL0vfs7R7iCkdZuaqDyens=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=br7z7LIjOj4EbFza4f9gglQ0bgCEobmAmc9hhsihsyI/ZpzGCmvaSRBrJIEYz0aftz vwrHlEoWl66gIDV5KljPjhpxVoH64A3y0bgd2nsdtYWM/wLokbSFj62gbM8MNUaP7uez 5evdijymf2ubvO55fLUL0R67z+LXAJSNwPlFE=
MIME-Version: 1.0
Received: by 10.216.11.66 with SMTP id 44mr4719143wew.69.1290423048691; Mon, 22 Nov 2010 02:50:48 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Mon, 22 Nov 2010 02:50:48 -0800 (PST)
In-Reply-To: <4CEA2259.3040409@isode.com>
References: <AANLkTikagU7yAxRfXVVUOm_8sjoCTUm8U4gdN+gTAGdD@mail.gmail.com> <4CEA2259.3040409@isode.com>
Date: Mon, 22 Nov 2010 19:50:48 +0900
Message-ID: <AANLkTin5O8cwvEgCzvnJD7BCiDRVcrbkA2YY+erkmp1H@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: kitten@ietf.org
Subject: Re: [kitten] RFC5802: SCRAM
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 22 Nov 2010 10:49:59 -0000

Hi,

2010/11/22 Alexey Melnikov <alexey.melnikov@isode.com>:
> Jehan Pag=E8s wrote:
>
>> Hi,
>>
>> I think I spotted a small wording mistake in the SCRAM RFC
>> (too bad the draft period is already finished, sorry I didn't
>> participate). In section 5:
[...]
> Good catch. Can your report this as an erratum using
> <http://www.rfc-editor.org/errata.php> (press the "Report New Errata"
> button)?


Ok. I have done it. I have made it an "editorial" errata, not
technical, because even though it changes (even reverse) the meaning
of the text, the current one was not intended.
Bye.

Jehan

From Nicolas.Williams@oracle.com  Mon Nov 22 08:12:01 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E35228C104 for <kitten@core3.amsl.com>; Mon, 22 Nov 2010 08:12:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.376
X-Spam-Level: 
X-Spam-Status: No, score=-6.376 tagged_above=-999 required=5 tests=[AWL=-0.078, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 245eEWZA82sE for <kitten@core3.amsl.com>; Mon, 22 Nov 2010 08:11:48 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 1F9F928C114 for <kitten@ietf.org>; Mon, 22 Nov 2010 08:11:43 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAMGCZ4t020078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Nov 2010 16:12:37 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAM5vrBW011524; Mon, 22 Nov 2010 16:12:33 GMT
Received: from abhmt019.oracle.com by acsmt353.oracle.com with ESMTP id 801722221290442308; Mon, 22 Nov 2010 08:11:48 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Nov 2010 08:11:48 -0800
Date: Mon, 22 Nov 2010 10:11:43 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Jehan =?iso-8859-1?Q?Pag=E8s?= <jehan.marmottard@gmail.com>
Message-ID: <20101122161143.GI20162@oracle.com>
References: <AANLkTikagU7yAxRfXVVUOm_8sjoCTUm8U4gdN+gTAGdD@mail.gmail.com> <4CEA2259.3040409@isode.com> <AANLkTin5O8cwvEgCzvnJD7BCiDRVcrbkA2YY+erkmp1H@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <AANLkTin5O8cwvEgCzvnJD7BCiDRVcrbkA2YY+erkmp1H@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org
Subject: Re: [kitten] RFC5802: SCRAM
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 22 Nov 2010 16:12:01 -0000

On Mon, Nov 22, 2010 at 07:50:48PM +0900, Jehan Pagès wrote:
> 2010/11/22 Alexey Melnikov <alexey.melnikov@isode.com>:
> > Jehan Pagès wrote:
> >> I think I spotted a small wording mistake in the SCRAM RFC
> >> (too bad the draft period is already finished, sorry I didn't
> >> participate). In section 5:
> [...]
> > Good catch. Can your report this as an erratum using
> > <http://www.rfc-editor.org/errata.php> (press the "Report New Errata"
> > button)?
> 
> Ok. I have done it. I have made it an "editorial" errata, not
> technical, because even though it changes (even reverse) the meaning
> of the text, the current one was not intended.

Thanks!

From hartmans@mit.edu  Mon Nov 22 08:12:44 2010
Return-Path: <hartmans@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B93C23A6A9D for <kitten@core3.amsl.com>; Mon, 22 Nov 2010 08:12:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qtZsLhGvqQmF for <kitten@core3.amsl.com>; Mon, 22 Nov 2010 08:12:44 -0800 (PST)
Received: from mail.suchdamage.org (permutation-city.suchdamage.org [69.25.196.28]) by core3.amsl.com (Postfix) with ESMTP id 1264528C0F9 for <kitten@ietf.org>; Mon, 22 Nov 2010 08:12:43 -0800 (PST)
Received: from carter-zimmerman.suchdamage.org (carter-zimmerman.suchdamage.org [69.25.196.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id CE0B420111; Mon, 22 Nov 2010 11:12:57 -0500 (EST)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 6B30C4644; Mon, 22 Nov 2010 11:13:25 -0500 (EST)
From: Sam Hartman <hartmans@mit.edu>
To: Klaas Wierenga <klaas@cisco.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org> <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org> <4CE15E5D.4060004@cisco.com>
Date: Mon, 22 Nov 2010 11:13:25 -0500
In-Reply-To: <4CE15E5D.4060004@cisco.com> (Klaas Wierenga's message of "Mon, 15 Nov 2010 17:22:53 +0100")
Message-ID: <tsl7hg5cp5m.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 22 Nov 2010 16:12:44 -0000

>>>>> "Klaas" == Klaas Wierenga <klaas@cisco.com> writes:

    Klaas> On 11/15/10 4:09 PM, Sam Hartman wrote:
    >> The thing I'm most worried about here is how a client detects the
    >> difference between an IDP that doesn't support CB and an attack.

    Klaas> Ehm, I assume in our draft that the client configures the IdP
    Klaas> and has an existing trust relation with it, so it would be a
    Klaas> matter of verifying the server cert.


OK.
If you're willing to configure that the IDP always supports or never
supports CB, that would work.

From Nicolas.Williams@oracle.com  Mon Nov 22 09:14:01 2010
Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E916E28C0F9 for <kitten@core3.amsl.com>; Mon, 22 Nov 2010 09:14:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.525
X-Spam-Level: 
X-Spam-Status: No, score=-6.525 tagged_above=-999 required=5 tests=[AWL=0.073,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YigzOujnsgoU for <kitten@core3.amsl.com>; Mon, 22 Nov 2010 09:14:01 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 12C263A6A3E for <kitten@ietf.org>; Mon, 22 Nov 2010 09:14:01 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAMHEsS1000929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Nov 2010 17:14:55 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAM931RA020428; Mon, 22 Nov 2010 17:14:52 GMT
Received: from abhmt004.oracle.com by acsmt355.oracle.com with ESMTP id 797165151290445982; Mon, 22 Nov 2010 09:13:02 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Nov 2010 09:13:02 -0800
Date: Mon, 22 Nov 2010 11:12:58 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Sam Hartman <hartmans@mit.edu>
Message-ID: <20101122171257.GK20162@oracle.com>
References: <tsltyjoksqg.fsf__36224.0165159621$1289474715$gmane$org@carter-zimmerman.suchdamage.org> <87pqucm2b3.fsf@latte.josefsson.org> <tslpqubkzet.fsf@carter-zimmerman.suchdamage.org> <4CE1063D.9040005__37655.2276000895$1289815634$gmane$org@cisco.com> <87wroeg7yl.fsf@latte.josefsson.org> <tsl8w0umxnr.fsf@carter-zimmerman.suchdamage.org> <4CE15E5D.4060004@cisco.com> <tsl7hg5cp5m.fsf@carter-zimmerman.suchdamage.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <tsl7hg5cp5m.fsf@carter-zimmerman.suchdamage.org>
User-Agent: Mutt/1.5.20 (2010-03-02)
Cc: kitten@ietf.org, Simon Josefsson <simon@josefsson.org>, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] sasl saml and sasl openID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 22 Nov 2010 17:14:02 -0000

On Mon, Nov 22, 2010 at 11:13:25AM -0500, Sam Hartman wrote:
>     Klaas> On 11/15/10 4:09 PM, Sam Hartman wrote:
>     >> The thing I'm most worried about here is how a client detects the
>     >> difference between an IDP that doesn't support CB and an attack.
> 
>     Klaas> Ehm, I assume in our draft that the client configures the IdP
>     Klaas> and has an existing trust relation with it, so it would be a
>     Klaas> matter of verifying the server cert.
> 
> OK.
> If you're willing to configure that the IDP always supports or never
> supports CB, that would work.

Agreed.

From cantor.2@osu.edu  Tue Nov 23 19:14:15 2010
Return-Path: <cantor.2@osu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D323928C190 for <kitten@core3.amsl.com>; Tue, 23 Nov 2010 19:14:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id owI0SVX+47in for <kitten@core3.amsl.com>; Tue, 23 Nov 2010 19:14:15 -0800 (PST)
Received: from defang16.it.ohio-state.edu (defang16.it.ohio-state.edu [128.146.216.130]) by core3.amsl.com (Postfix) with ESMTP id D6E9928C105 for <kitten@ietf.org>; Tue, 23 Nov 2010 19:14:12 -0800 (PST)
Received: from CIO-KRC-HT01.osuad.osu.edu ([164.107.81.38]) by defang16.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id oAO3Em4K006414; Tue, 23 Nov 2010 22:14:48 -0500
Received: from CIO-KRC-D1MBX01.osuad.osu.edu ([fe80::450b:35e6:80f4:f3e0]) by CIO-KRC-HT01.osuad.osu.edu ([2002:a46b:5126::a46b:5126]) with mapi; Tue, 23 Nov 2010 22:12:00 -0500
From: "Cantor, Scott E." <cantor.2@osu.edu>
To: Klaas Wierenga <klaas@cisco.com>
Thread-Topic: Browser or not (was RE: [kitten] sasl saml and sasl openID)
Thread-Index: AQLsPGtZ1jAcPOkXdL6JKOmofT1k+AIR/zeZkS4CrIA=
Date: Wed, 24 Nov 2010 03:14:45 +0000
Message-ID: <C911EB84.9BD%cantor.2@osu.edu>
In-Reply-To: <4CE251FA.1080006@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <8fe7bc7b-2dc0-49c5-b6b2-e7a48d8c175f>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CanIt-Geo: ip=164.107.81.38; country=US; region=OH; city=Wooster; postalcode=44691; latitude=40.8077; longitude=-81.9730; metrocode=510; areacode=330; http://maps.google.com/maps?q=40.8077,-81.9730&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.130
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 24 Nov 2010 03:14:15 -0000

On 11/16/10 4:42 AM, "Klaas Wierenga" <klaas@cisco.com> wrote:
>I forgot to respond to this part of your message:

Thanks, sorry for the delay in responding.

>I didn't want to imply that I trust my browser more than a desktop
>client. What I don't like is that a user is trained at entering his
>credentials at potentially many different places.

Noting that people already do this today.

> Let's assume for a
>second this SASL-SAML thing takes of. It would mean that I input my
>credentials in my mail client, my browser, my Jabber client, my SSH
>client etc. etc. That takes away one big benefit of SSO solutions, both
>from a usability and a security PoV imo..

Well, weak credentials are usually cached in clients, just as people do in
their browser. But browsers are, frankly, completely broken when it comes
to credential caching, and many (FF for one) will blindly spray
credentials all over because of the bugs in their password manager
implementations that they seem unwilling to fix by requiring user approval
to submit cached passwords.

I also am concerned that most users will be quite phishable if they're in
the middle of doing something that has nothing to do with the web, and
then suddenly end up in a browser. If they bother to check anything today
(which they don't), I think they'll be less likely to do so in such a
case. "Just get out of my way and let me check my mail..."

I grant you the SSO point, but I also kind of think that mechanisms like
this will be very good fits with the use of Kerberos to authenticate to
IdPs.

>> than I trust any browser. I'm more swayed by the fact that a browser UI
>> makes it much easier to implement consent-based release of attributes
>>and
>> that sort of thing.
>
>Good point!

This remains my biggest concern, but I figure if Moonshot can figure this
out, I can piggyback.

-- Scott


From Josh.Howlett@ja.net  Wed Nov 24 05:07:59 2010
Return-Path: <Josh.Howlett@ja.net>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E9F8628C184 for <kitten@core3.amsl.com>; Wed, 24 Nov 2010 05:07:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.763
X-Spam-Level: 
X-Spam-Status: No, score=-101.763 tagged_above=-999 required=5 tests=[AWL=0.836, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bK2JI+rS3JQ9 for <kitten@core3.amsl.com>; Wed, 24 Nov 2010 05:07:57 -0800 (PST)
Received: from har003676.ukerna.ac.uk (har003676.ukerna.ac.uk [194.82.140.75]) by core3.amsl.com (Postfix) with ESMTP id 4BA7D28C1DC for <kitten@ietf.org>; Wed, 24 Nov 2010 05:07:57 -0800 (PST)
Received: from har003676.ukerna.ac.uk (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id D33DD4A6B64_CED0E67B; Wed, 24 Nov 2010 13:08:55 +0000 (GMT)
Received: from EXC001.atlas.ukerna.ac.uk (exc001.atlas.ukerna.ac.uk [193.62.83.37]) by har003676.ukerna.ac.uk (Sophos Email Appliance) with ESMTP id C32174A6B5C_CED0E65F; Wed, 24 Nov 2010 13:08:53 +0000 (GMT)
Received: from EXC001.atlas.ukerna.ac.uk ([193.62.83.37]) by EXC001 ([193.62.83.37]) with mapi; Wed, 24 Nov 2010 13:08:53 +0000
From: Josh Howlett <Josh.Howlett@ja.net>
To: "Cantor, Scott E." <cantor.2@osu.edu>, Klaas Wierenga <klaas@cisco.com>
Thread-Topic: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
Thread-Index: AcuE264dTU9Sj8GwQSaSnL7dQqszNAAluDAAAYTL3IAADhOlsA==
Date: Wed, 24 Nov 2010 13:08:52 +0000
Message-ID: <7486C9B3D65BA24FB8A59D740F363C7703BACA@EXC001>
References: <4CE251FA.1080006@cisco.com> <C911EB84.9BD%cantor.2@osu.edu>
In-Reply-To: <C911EB84.9BD%cantor.2@osu.edu>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "kitten@ietf.org" <kitten@ietf.org>, Josh Howlett <Josh.Howlett@ja.net>
Subject: Re: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 24 Nov 2010 13:07:59 -0000

Scott wrote:
> Klaas wrote:
> > Scott wrote:
> >> than I trust any browser. I'm more swayed by the fact that a browser UI
> >> makes it much easier to implement consent-based release of attributes
> >> and that sort of thing.
> >
> >Good point!
>=20
> This remains my biggest concern, but I figure if Moonshot can figure
> this
> out, I can piggyback.

How do you see the piggyback working?

(We're expecting to tunnel this through the EAP channel).

Josh.

JANET(UK) is a trading name of The JNT Association, a company limited
by guarantee which is registered in England under No. 2881024=20
and whose Registered Office is at Lumen House, Library Avenue,
Harwell Science and Innovation Campus, Didcot, Oxfordshire. OX11 0SG


From cantor.2@osu.edu  Wed Nov 24 07:32:30 2010
Return-Path: <cantor.2@osu.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1D8643A696D for <kitten@core3.amsl.com>; Wed, 24 Nov 2010 07:32:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sl0FCLGFunwy for <kitten@core3.amsl.com>; Wed, 24 Nov 2010 07:32:29 -0800 (PST)
Received: from defang4.it.ohio-state.edu (defang4.it.ohio-state.edu [128.146.216.84]) by core3.amsl.com (Postfix) with ESMTP id 0369728C126 for <kitten@ietf.org>; Wed, 24 Nov 2010 07:32:26 -0800 (PST)
Received: from CIO-TNC-HT06.osuad.osu.edu ([164.107.81.172]) by defang4.it.ohio-state.edu (8.13.1/8.13.1) with ESMTP id oAOFXKm7006032; Wed, 24 Nov 2010 10:33:21 -0500
Received: from CIO-KRC-D1MBX01.osuad.osu.edu ([fe80::450b:35e6:80f4:f3e0]) by CIO-TNC-HT06.osuad.osu.edu ([fe80::8c6c:9f26:5aa2:4458%25]) with mapi; Wed, 24 Nov 2010 10:30:30 -0500
From: "Cantor, Scott E." <cantor.2@osu.edu>
To: Josh Howlett <Josh.Howlett@ja.net>, Klaas Wierenga <klaas@cisco.com>
Thread-Topic: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
Thread-Index: AQHLi9hd0s8J6czB40ufHz6YgPGPoJOAwMtg
Date: Wed, 24 Nov 2010 15:33:19 +0000
Message-ID: <7EE86E89365CA94F8E7B8251F9260710010A95@CIO-KRC-D1MBX01.osuad.osu.edu>
References: <4CE251FA.1080006@cisco.com> <C911EB84.9BD%cantor.2@osu.edu> <7486C9B3D65BA24FB8A59D740F363C7703BACA@EXC001>
In-Reply-To: <7486C9B3D65BA24FB8A59D740F363C7703BACA@EXC001>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CanIt-Geo: ip=164.107.81.172; country=US; region=OH; city=Wooster; postalcode=44691; latitude=40.8077; longitude=-81.9730; metrocode=510; areacode=330; http://maps.google.com/maps?q=40.8077,-81.9730&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.84
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 24 Nov 2010 15:32:30 -0000

> How do you see the piggyback working?
>=20
> (We're expecting to tunnel this through the EAP channel).

What I meant was the UI, not so much the protocol aspect. I realize that yo=
ur model is intended to have the supplicant take most of the UI burden, but=
 there's still a UI and it has to make sense.

But from experience, I know that real-time consent is difficult for all kin=
ds of reasons, and it isn't a show-stopper to make progress, so not having =
it doesn't in and of itself convince me that the authentication should be h=
andled by the worst piece of software on the box from a security PoV, the b=
rowser.

Another point is that browsers have a hopelessly broken mechanism for serve=
r authentication (in this context, authentication of the IdP). Doing that f=
rom the ground up within a mechanism provides a fresh opportunity to look a=
t the problem.
=20
-- Scott


From Josh.Howlett@ja.net  Thu Nov 25 05:34:46 2010
Return-Path: <Josh.Howlett@ja.net>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF9A428C0EF for <kitten@core3.amsl.com>; Thu, 25 Nov 2010 05:34:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.972
X-Spam-Level: 
X-Spam-Status: No, score=-101.972 tagged_above=-999 required=5 tests=[AWL=0.627, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y9n4es2NPPAs for <kitten@core3.amsl.com>; Thu, 25 Nov 2010 05:34:43 -0800 (PST)
Received: from har003676.ukerna.ac.uk (har003676.ukerna.ac.uk [194.82.140.75]) by core3.amsl.com (Postfix) with ESMTP id 883593A6AD8 for <kitten@ietf.org>; Thu, 25 Nov 2010 05:34:41 -0800 (PST)
Received: from har003676.ukerna.ac.uk (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 40B3D4A6B67_CEE662DB; Thu, 25 Nov 2010 13:35:41 +0000 (GMT)
Received: from EXC001.atlas.ukerna.ac.uk (exc001.atlas.ukerna.ac.uk [193.62.83.37]) by har003676.ukerna.ac.uk (Sophos Email Appliance) with ESMTP id 2FE7E4A6B5C_CEE662BF; Thu, 25 Nov 2010 13:35:39 +0000 (GMT)
Received: from EXC001.atlas.ukerna.ac.uk ([193.62.83.37]) by EXC001 ([193.62.83.37]) with mapi; Thu, 25 Nov 2010 13:35:39 +0000
From: Josh Howlett <Josh.Howlett@ja.net>
To: "Cantor, Scott E." <cantor.2@osu.edu>, Klaas Wierenga <klaas@cisco.com>
Thread-Topic: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
Thread-Index: AcuE264dTU9Sj8GwQSaSnL7dQqszNAAluDAAAYTL3IAADhOlsAALt6iAAC2wD2A=
Date: Thu, 25 Nov 2010 13:35:03 +0000
Message-ID: <7486C9B3D65BA24FB8A59D740F363C7703BFC2@EXC001>
References: <4CE251FA.1080006@cisco.com> <C911EB84.9BD%cantor.2@osu.edu> <7486C9B3D65BA24FB8A59D740F363C7703BACA@EXC001> <7EE86E89365CA94F8E7B8251F9260710010A95@CIO-KRC-D1MBX01.osuad.osu.edu>
In-Reply-To: <7EE86E89365CA94F8E7B8251F9260710010A95@CIO-KRC-D1MBX01.osuad.osu.edu>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "kitten@ietf.org" <kitten@ietf.org>, Josh Howlett <Josh.Howlett@ja.net>
Subject: Re: [kitten] Browser or not (was RE:  sasl saml and sasl openID)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 25 Nov 2010 13:34:46 -0000

> > How do you see the piggyback working?
> >
> > (We're expecting to tunnel this through the EAP channel).
>=20
> What I meant was the UI, not so much the protocol aspect.

Ok, that fixes my confusion.
=20
> But from experience, I know that real-time consent is difficult for all
> kinds of reasons, and it isn't a show-stopper to make progress, so not
> having it doesn't in and of itself convince me that the authentication
> should be handled by the worst piece of software on the box from a
> security PoV, the browser.

+1

Josh.

JANET(UK) is a trading name of The JNT Association, a company limited
by guarantee which is registered in England under No. 2881024=20
and whose Registered Office is at Lumen House, Library Avenue,
Harwell Science and Innovation Campus, Didcot, Oxfordshire. OX11 0SG


From hardjono@mit.edu  Tue Nov 30 16:19:21 2010
Return-Path: <hardjono@mit.edu>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9D2793A6BCD for <kitten@core3.amsl.com>; Tue, 30 Nov 2010 16:19:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.289
X-Spam-Level: 
X-Spam-Status: No, score=-4.289 tagged_above=-999 required=5 tests=[AWL=-1.690, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dDxpjlKOeH5h for <kitten@core3.amsl.com>; Tue, 30 Nov 2010 16:19:18 -0800 (PST)
Received: from dmz-mailsec-scanner-1.mit.edu (DMZ-MAILSEC-SCANNER-1.MIT.EDU [18.9.25.12]) by core3.amsl.com (Postfix) with ESMTP id 6BBDB3A69D7 for <kitten@ietf.org>; Tue, 30 Nov 2010 16:19:18 -0800 (PST)
X-AuditID: 1209190c-b7ba9ae0000009f8-1e-4cf594cefff2
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) by dmz-mailsec-scanner-1.mit.edu (Symantec Brightmail Gateway) with SMTP id AF.F8.02552.EC495FC4; Tue, 30 Nov 2010 19:20:30 -0500 (EST)
Received: from outgoing.mit.edu (OUTGOING-EXCHANGE-1.MIT.EDU [18.9.28.15]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id oB10KTPA019682;  Tue, 30 Nov 2010 19:20:29 -0500
Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) ) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id oB10KSlB029753; Tue, 30 Nov 2010 19:20:28 -0500
Received: from oc11exhub3.exchange.mit.edu (18.9.3.13) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 30 Nov 2010 19:19:24 -0500
Received: from EXPO10.exchange.mit.edu ([18.9.4.15]) by oc11exhub3.exchange.mit.edu ([18.9.3.13]) with mapi; Tue, 30 Nov 2010 19:20:27 -0500
From: Thomas Hardjono <hardjono@MIT.EDU>
To: "kitten@ietf.org" <kitten@ietf.org>
Date: Tue, 30 Nov 2010 19:20:24 -0500
Thread-Topic: Teleconference call to talk about PAC work
Thread-Index: AcuQ7YnOF5mUHrE0Ry6qEq0YuaDmSg==
Message-ID: <DADD7EAD88AB484D8CCC328D40214CCD01CB507747@EXPO10.exchange.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0004_01CB90C3.A3AABFD0"
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "kwc@umich.edu" <kwc@umich.edu>, "andros@netapp.com" <andros@netapp.com>
Subject: [kitten] Teleconference call to talk about PAC work
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Wed, 01 Dec 2010 00:19:21 -0000

------=_NextPart_000_0004_01CB90C3.A3AABFD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Folks,

Would people who are interested in the PAC discussion be
interested/open to having a teleconference call about the PAC work?

If so, I can setup a DoodleIt schedule and bridge for people to select
dates/times.

cheers,

/thomas/



-----Original Message-----
From: ietf-krb-wg-bounces@lists.anl.gov
[mailto:ietf-krb-wg-bounces@lists.anl.gov] On Behalf Of Thomas
Hardjono
Sent: Tuesday, November 30, 2010 4:09 PM
To: krb-wg mailing list (ietf-krb-wg@lists.anl.gov)
Subject: [Ietf-krb-wg] Teleconference call to talk about PAC work

Folks,

Would people who are interested in the PAC discussion be
interested/open to having a teleconference call about the PAC work?

If so, I can setup a DoodleIt schedule and bridge for people to select
dates/times.

cheers,

/thomas/


__________________________________________
Thomas Hardjono
MIT Kerberos Consortium
email:=A0 hardjono[at]mit.edu
desk:=A0=A0=A0+1 617-715-2451
__________________________________________



------=_NextPart_000_0004_01CB90C3.A3AABFD0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILazCCAj0w
ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG
A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy
dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw
CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi
bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A
MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH
mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF
4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d
6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix
3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR
cZQwggRGMIIDr6ADAgECAhBm/Ufjwhnk6JrNmd31OsskMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV
BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg
UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNTEwMjgwMDAwMDBaFw0xNTEwMjcy
MzU5NTlaMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT
FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov
L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0
ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g
RzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ36zn6vj4AxTEAJLVwX42wjzvfHIV
y8CrjD0clc5vHhAsPwDtlybmtsfmrUMdP6SHR0dMPlT4bPjH/LGevTBwvJexAwXqlfGtQMVEeksF
ovJg/Nc6ZWLv/xB7ola7xU5wLdaiHzztsELoXo1XIaymmdkR6dIaB8B0R0IL/MU06v3muiTRHQgV
N6LXc88BQS9jsjo/vqUabvTJSls9laYVuzUCGfnU77yPDnF2WbtLtj7W/FoW9NYOifJJ/mwM7RXp
2Yh1nHnOYCfdua11zi9zlXpAOoV1SbC432i8q80TgoURUKPgPAuuwApTzdcwb4UyRhvkSRDCbOKv
H3n/27S1AgMBAAGjgf8wgfwwEgYDVR0TAQH/BAgwBgEB/wIBADBEBgNVHSAEPTA7MDkGC2CGSAGG
+EUBBxcBMCowKAYIKwYBBQUHAgEWHGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEwCwYDVR0P
BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIBBjAuBgNVHREEJzAlpCMwITEfMB0GA1UEAxMWUHJpdmF0
ZUxhYmVsMy0yMDQ4LTE1NTAdBgNVHQ4EFgQUEX1eGX08BN9qbNaiiho/Mdg7lFIwMQYDVR0fBCow
KDAmoCSgIoYgaHR0cDovL2NybC52ZXJpc2lnbi5jb20vcGNhMS5jcmwwDQYJKoZIhvcNAQEFBQAD
gYEAPKPaAmM6xJOqq3LT3K1QOB4MnhZKiLfu69n/D42VoNa7+moLrmGE2GhHie9PrLIfSUGbSTN2
k4uebrlDHGC9wtyKLYfBRcARcgQaayQqbG/n/AcTKdB3OiPn9cGFaBm/xgFUIBmuNYLMYjxhCcb0
1euwD6afM4Wa03GOUI+Z3WIwggTcMIIDxKADAgECAhAdbJ7qJ1t3pQoJyWI9GoXNMA0GCSqGSIb3
DQEBBQUAMIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsT
FlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczov
L3d3dy52ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0
ZWQxNzA1BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0g
RzIwHhcNMTAwMjE3MDAwMDAwWhcNMTEwMzA2MjM1OTU5WjCCARMxFzAVBgNVBAoTDlZlcmlTaWdu
LCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMUYwRAYDVQQLEz13d3cudmVy
aXNpZ24uY29tL3JlcG9zaXRvcnkvUlBBIEluY29ycC4gYnkgUmVmLixMSUFCLkxURChjKTk4MR4w
HAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0ZWQxNDAyBgNVBAsTK0RpZ2l0YWwgSUQgQ2xhc3Mg
MSAtIE1pY3Jvc29mdCBGdWxsIFNlcnZpY2UxGDAWBgNVBAMUD1Rob21hcyBIYXJkam9ubzEfMB0G
CSqGSIb3DQEJARYQaGFyZGpvbm9AbWl0LmVkdTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
5IPN5gsvYs8ugsfq1ndIZqRJXlbGSKsX+IH45pbnLeWPFWzfG7mxch4QhqOD0RUs2GCI1YNHPS8C
sFyj1V05XnT0p/1eHa8eHOV2V3RVljq3P5R2+vhskoGE2Nwm1wi8YP9ce0Cs2Qf4wiPm9oL2ls5M
yvOCR0aWfBkXD231vBUCAwEAAaOB4jCB3zAJBgNVHRMEAjAAMEQGA1UdIAQ9MDswOQYLYIZIAYb4
RQEHFwEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYTALBgNVHQ8E
BAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwQGCCsGAQUFBwMCMBQGCmCGSAGG+EUBBgcEBhYETm9u
ZTBKBgNVHR8EQzBBMD+gPaA7hjlodHRwOi8vSW5kQzFEaWdpdGFsSUQtY3JsLnZlcmlzaWduLmNv
bS9JbmRDMURpZ2l0YWxJRC5jcmwwDQYJKoZIhvcNAQEFBQADggEBAJrdkpPOIr2sXpSrE9hlj36x
FOukzUivx4QwmsyLSFvMrkSQ/7NCGQ73O6DMlmJZbtQPMdIpqc9ZwPYhOkyQ9AaKz10yHVO8TkW2
CAN0Atk1ZfAF78C1h/jch429nYmjADnDZyDuyRUi2yW4ouJkX84Suj1SYaC5ptZVmmMUyRwcNV6/
iHewW8wsIf0mOqtP79RMAJ6oGh0XlUmzlahqtMbi3JX02D9gAVW9j8zXqtI0pHSpMNkNzkFp8GRd
5bxaCdQzszNIPfQGNIM0x7w97ZbF8z+F2yCRSL0+4G9kQxGRpxkd1OWjov5OJfmPvOyTZkkX9cmd
Sivi3+fEDBgv0kIxggS4MIIEtAIBATCB8jCB3TELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlT
aWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJt
cyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykwNTEeMBwGA1UECxMV
UGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2lnbiBDbGFzcyAxIEluZGl2aWR1
YWwgU3Vic2NyaWJlciBDQSAtIEcyAhAdbJ7qJ1t3pQoJyWI9GoXNMAkGBSsOAwIaBQCgggMbMBgG
CSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEwMTIwMTAwMjAyNFowIwYJ
KoZIhvcNAQkEMRYEFL1HoXtxUxg6AKRneSiZye4koICVMIGrBgkqhkiG9w0BCQ8xgZ0wgZowCwYJ
YIZIAWUDBAEqMAsGCWCGSAFlAwQBFjAKBggqhkiG9w0DBzALBglghkgBZQMEAQIwDgYIKoZIhvcN
AwICAgCAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMAcGBSsOAwIaMAsG
CWCGSAFlAwQCAzALBglghkgBZQMEAgIwCwYJYIZIAWUDBAIBMIIBAwYJKwYBBAGCNxAEMYH1MIHy
MIHdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlT
aWduIFRydXN0IE5ldHdvcmsxOzA5BgNVBAsTMlRlcm1zIG9mIHVzZSBhdCBodHRwczovL3d3dy52
ZXJpc2lnbi5jb20vcnBhIChjKTA1MR4wHAYDVQQLExVQZXJzb25hIE5vdCBWYWxpZGF0ZWQxNzA1
BgNVBAMTLlZlcmlTaWduIENsYXNzIDEgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENBIC0gRzICEB1s
nuonW3elCgnJYj0ahc0wggEFBgsqhkiG9w0BCRACCzGB9aCB8jCB3TELMAkGA1UEBhMCVVMxFzAV
BgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTsw
OQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykw
NTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2lnbiBDbGFz
cyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhAdbJ7qJ1t3pQoJyWI9GoXNMA0GCSqG
SIb3DQEBAQUABIGAtJ1YK6k7A90TrNbKhnavsP/64EGTIm2jma+91qsWZDeU+oZ7to5T0SYSP6zs
Kuy1kRgKQeXxv9028HdNTaDh8w1zDxRhpUKx9jruXOdxav1jKdFdVGU48MoT9tHOD0dg5bgBfwfG
FD3OjlpQj/f3ii6HMusPtKMktik0VjveVMQAAAAAAAA=

------=_NextPart_000_0004_01CB90C3.A3AABFD0--
