From tls-bounces@lists.ietf.org Fri Sep 01 12:14:36 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GJBdQ-0007g8-3B; Fri, 01 Sep 2006 12:12:48 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GJBdO-0007g3-Uf
	for tls@ietf.org; Fri, 01 Sep 2006 12:12:46 -0400
Received: from bay0-omc2-s10.bay0.hotmail.com ([65.54.246.146])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GJBdO-0007nx-8u
	for tls@ietf.org; Fri, 01 Sep 2006 12:12:46 -0400
Received: from BAY103-W5 ([65.54.174.105]) by bay0-omc2-s10.bay0.hotmail.com
	with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 1 Sep 2006 09:12:45 -0700
X-Originating-IP: [69.109.8.134]
X-Originating-Email: [home_pw@msn.com]
Message-ID: <BAY103-W5752ADF53DF985EBCA313923C0@phx.gbl>
MIME-Version: 1.0
From: "Peter Williams" <home_pw@msn.com>
To: tls@ietf.org
Subject: RE: [TLS] draft-housley-evidence-extns-00.txt
Date: Fri, 1 Sep 2006 09:12:45 -0700
X-OriginalArrivalTime: 01 Sep 2006 16:12:45.0563 (UTC)
	FILETIME=[75E0A4B0:01C6CDE1]
X-Spam-Score: 2.6 (++)
X-Scan-Signature: f2984bf50fb52a9e56055f779793d783
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1794508213=="
Errors-To: tls-bounces@lists.ietf.org

--===============1794508213==
Content-Type: multipart/alternative;
	boundary="_6dee2865-a485-4768-b06e-d6bb619c0d61_"

--_6dee2865-a485-4768-b06e-d6bb619c0d61_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20
=20
A very, very, very long time ago, ssl-talk discussed for weeks whether SSL =
supported, could support, or even should support evidentiary services such =
as non-repudiation - i.e. whether some of its protocol exchanges might be u=
sed at the application level to support claims at layer 7, generated as a s=
ide-effect of using the comms. stack. We focused on applying the blurring t=
o the problem of enforcing UK/US mandatory key escrow policies - a high-pri=
ority topic for IESG, at that time.
=20
For example: if one initiated a second SSL3 handshake mid-session without d=
ropping the https session context, one inherently created evidence related =
to the data exchanged between the two SSL2/SSL3 message-layer handshakes. T=
hat second handshake was evidence of the data exchange pattern at the https=
 level.=20
=20
We even defined parallel handshakes, using the SSL3 message layer's allowan=
ce for defining custom handshake flows, that did things like mandatory key =
escrow deposit and then policy *Enforcement* (which was popular at the time=
 and perhaps this is back to popularity in 2006 IETF?) to showoff applicabi=
lity of one handshake to express control over the https session ongoings on=
 the primary channel. (This would ensure the server that the mandatory rule=
s had been enforced on the consumer https channel, otherwise the server wou=
ld drop the https session to comply with govt policies etc). I even remembe=
r writing up an proof, using inductive logic, for the mandatory integrity p=
roperties.
=20
Now, the list seems to be badly failing to distinguish between https and it=
s socket-layer security protocol support.=20
=20
Another way of saying that is, however - perhaps time had come to revist wh=
at we were saying in 1995 when we even then wondering about blurring the di=
stinctions, between the stack layers - as regard to evidence generation fro=
m a socket provider. Are we thus truly "failing", or are we simply changing=
 the paradigm, finally!
=20
While there was always interplay in the SSL design world between what happe=
ned in the application (the https realm known to the Netscape 2 browser hyp=
ermedia platform) and the SSL layer (behind the socket in winsock), we were=
 clear that app vs layer separation was to be clean. For example, certs cha=
ins were processed by the https-layer application process in accord with th=
e hypermedia experience of sessions focusing on session identity(s)  and co=
nfidence policy(s) thereto, but core SSL handshakes and security context se=
ssion resumption processes were handled by the kernel/winsock provider with=
out regard to "secure interworking pattern" being sought by the application=
 context applying a socket provider's enhanced transport features.
=20
Conclusion. I supported using SSL handshakes as evidence-generation purpose=
s at the app layer in 1995. And, I therefore still do. It breaks all the de=
sign correctness rules, and lots of IETF dogma that motivated TLS's distinc=
t conception of itself (vs SSL3). But.. so what! Dogma can always be rewrit=
ten.

> Date: Thu, 31 Aug 2006 11:39:36 -0400> To: tls@ietf.org> From: housley@vi=
gilsec.com> Subject: Re: [TLS] draft-housley-evidence-extns-00.txt> CC: > >=
 David:> > That is true, an application running on top of TLS could handle =
this > feature, but then every application would have to do so.  By putting=
 > it into TLS, any application can easily be supported.  The alerts to > m=
ark the beginning and end were intended to allow applications to > generate=
 evidence for a portion of the application exchange, but > these can be sen=
t at the beginning and the at end of the TLS session > to support arbitrary=
 applications.> > Russ> > > At 09:01 PM 8/30/2006, David Hopwood wrote:> >R=
uss Housley wrote:> > > http://www.ietf.org/internet-drafts/draft-housley-e=
vidence-extns-00.txt> > >> > > I would like the TLS WG to be aware of this =
document.  Review is> > > encouraged, and comments are welcome.> >> >What i=
s the rationale for complicating TLS with this, when it seems as> >though i=
t could just as easily be supported at the application protocol> >level?> >=
> >--> >David Hopwood <david.nospam.hopwood@blueyonder.co.uk>> >> >> >> >__=
_____________________________________________> >TLS mailing list> >TLS@list=
s.ietf.org> >https://www1.ietf.org/mailman/listinfo/tls> > > ______________=
_________________________________> TLS mailing list> TLS@lists.ietf.org> ht=
tps://www1.ietf.org/mailman/listinfo/tls
_________________________________________________________________
Express yourself with gadgets on Windows Live Spaces
http://discoverspaces.live.com?source=3Dhmtag1&loc=3Dus=

--_6dee2865-a485-4768-b06e-d6bb619c0d61_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>=0A=
<head>=0A=
<style>=0A=
P=0A=
{=0A=
margin:0px;=0A=
padding:0px=0A=
}=0A=
body=0A=
{=0A=
FONT-SIZE: 10pt;=0A=
FONT-FAMILY:Tahoma=0A=
}=0A=
</style>=0A=
</head>=0A=
<body>&nbsp;<BR>
&nbsp;<BR>
A&nbsp;very, very, very&nbsp;long&nbsp;time ago, ssl-talk discussed for wee=
ks whether SSL supported, could support, or even should support evidentiary=
 services such as&nbsp;non-repudiation - i.e. whether some of its protocol =
exchanges might be used at the application level to support claims at layer=
 7, generated as a side-effect of using the <FONT>comms.</FONT> stack. We f=
ocused on applying the blurring to the problem of&nbsp;enforcing UK/US mand=
atory key escrow policies - a high-priority topic for IESG, at that time.<B=
R>
&nbsp;<BR>
For example: if one initiated a second SSL3 handshake mid-session without d=
ropping the https session context, one inherently created evidence related =
to the data exchanged between the two <FONT>SSL2/SSL3</FONT> message-layer =
handshakes. That second handshake was evidence of the data exchange pattern=
 at the https level. <BR>
&nbsp;<BR>
We even defined parallel handshakes, using the SSL3 message layer's allowan=
ce for defining custom handshake flows, that did things like mandatory key =
escrow deposit and then policy *Enforcement* (which was popular at the time=
 and perhaps this is back to popularity in 2006 IETF?) to showoff applicabi=
lity of one handshake to express control over the https session <FONT>ongoi=
ngs on the primary channel. (This</FONT> would ensure the server that the m=
andatory rules had been enforced on the consumer https channel, otherwise t=
he server would drop the https session to comply with govt policies etc). I=
 even remember writing up an proof, using inductive logic, for the mandator=
y integrity&nbsp;properties.<BR>
&nbsp;<BR>
Now, the list seems to be badly failing to distinguish between https and it=
s socket-layer security protocol support. <BR>
&nbsp;<BR>
Another way of saying that is, however - perhaps time had come to revist wh=
at we were saying in 1995 when we even then wondering about blurring the di=
stinctions, between the stack layers - as regard to evidence generation fro=
m a socket provider. Are we thus truly "failing", or are we simply changing=
 the paradigm, finally!<BR>
&nbsp;<BR>
While there was always interplay in the SSL design world between what happe=
ned in the application (the https realm known to the Netscape 2 browser hyp=
ermedia platform) and the SSL layer (behind the socket in winsock), we were=
 clear that app vs layer separation was to be clean. For example, certs cha=
ins were processed by the https-layer application process in accord with th=
e hypermedia experience of sessions focusing on session identity(s) &nbsp;a=
nd confidence policy(s) thereto, but core SSL handshakes and security conte=
xt session resumption processes were handled by the kernel/winsock provider=
 without regard to "secure interworking pattern" being sought by the applic=
ation context applying a socket provider's <FONT>enhanced </FONT>transport =
features.<BR>
<BR>&nbsp;<BR>
Conclusion. I supported using SSL handshakes as evidence-generation purpose=
s at the app layer in 1995. And, I therefore still do. It breaks all the de=
sign correctness rules, and lots of IETF dogma that motivated TLS's distinc=
t conception of itself (vs SSL3). But.. so what! Dogma can always be rewrit=
ten.<BR><BR><BR>
<HR id=3DstopSpelling>
&gt; Date: Thu, 31 Aug 2006 11:39:36 -0400<BR>&gt; To: tls@ietf.org<BR>&gt;=
 From: housley@vigilsec.com<BR>&gt; Subject: Re: [TLS] draft-housley-eviden=
ce-extns-00.txt<BR>&gt; CC: <BR>&gt; <BR>&gt; David:<BR>&gt; <BR>&gt; That&=
nbsp;is&nbsp;true,&nbsp;an&nbsp;application&nbsp;running&nbsp;on&nbsp;top&n=
bsp;of&nbsp;TLS&nbsp;could&nbsp;handle&nbsp;this&nbsp;<BR>&gt; feature,&nbs=
p;but&nbsp;then&nbsp;every&nbsp;application&nbsp;would&nbsp;have&nbsp;to&nb=
sp;do&nbsp;so.&nbsp;&nbsp;By&nbsp;putting&nbsp;<BR>&gt; it&nbsp;into&nbsp;T=
LS,&nbsp;any&nbsp;application&nbsp;can&nbsp;easily&nbsp;be&nbsp;supported.&=
nbsp;&nbsp;The&nbsp;alerts&nbsp;to&nbsp;<BR>&gt; mark&nbsp;the&nbsp;beginni=
ng&nbsp;and&nbsp;end&nbsp;were&nbsp;intended&nbsp;to&nbsp;allow&nbsp;applic=
ations&nbsp;to&nbsp;<BR>&gt; generate&nbsp;evidence&nbsp;for&nbsp;a&nbsp;po=
rtion&nbsp;of&nbsp;the&nbsp;application&nbsp;exchange,&nbsp;but&nbsp;<BR>&g=
t; these&nbsp;can&nbsp;be&nbsp;sent&nbsp;at&nbsp;the&nbsp;beginning&nbsp;an=
d&nbsp;the&nbsp;at&nbsp;end&nbsp;of&nbsp;the&nbsp;TLS&nbsp;session&nbsp;<BR=
>&gt; to&nbsp;support&nbsp;arbitrary&nbsp;applications.<BR>&gt; <BR>&gt; Ru=
ss<BR>&gt; <BR>&gt; <BR>&gt; At&nbsp;09:01&nbsp;PM&nbsp;8/30/2006,&nbsp;Dav=
id&nbsp;Hopwood&nbsp;wrote:<BR>&gt; &gt;Russ&nbsp;Housley&nbsp;wrote:<BR>&g=
t; &gt;&nbsp;&gt;&nbsp;http://www.ietf.org/internet-drafts/draft-housley-ev=
idence-extns-00.txt<BR>&gt; &gt;&nbsp;&gt;<BR>&gt; &gt;&nbsp;&gt;&nbsp;I&nb=
sp;would&nbsp;like&nbsp;the&nbsp;TLS&nbsp;WG&nbsp;to&nbsp;be&nbsp;aware&nbs=
p;of&nbsp;this&nbsp;document.&nbsp;&nbsp;Review&nbsp;is<BR>&gt; &gt;&nbsp;&=
gt;&nbsp;encouraged,&nbsp;and&nbsp;comments&nbsp;are&nbsp;welcome.<BR>&gt; =
&gt;<BR>&gt; &gt;What&nbsp;is&nbsp;the&nbsp;rationale&nbsp;for&nbsp;complic=
ating&nbsp;TLS&nbsp;with&nbsp;this,&nbsp;when&nbsp;it&nbsp;seems&nbsp;as<BR=
>&gt; &gt;though&nbsp;it&nbsp;could&nbsp;just&nbsp;as&nbsp;easily&nbsp;be&n=
bsp;supported&nbsp;at&nbsp;the&nbsp;application&nbsp;protocol<BR>&gt; &gt;l=
evel?<BR>&gt; &gt;<BR>&gt; &gt;--<BR>&gt; &gt;David&nbsp;Hopwood&nbsp;&lt;d=
avid.nospam.hopwood@blueyonder.co.uk&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt; &gt;_______________________________________________<BR>&gt; &g=
t;TLS&nbsp;mailing&nbsp;list<BR>&gt; &gt;TLS@lists.ietf.org<BR>&gt; &gt;htt=
ps://www1.ietf.org/mailman/listinfo/tls<BR>&gt; <BR>&gt; <BR>&gt; _________=
______________________________________<BR>&gt; TLS&nbsp;mailing&nbsp;list<B=
R>&gt; TLS@lists.ietf.org<BR>&gt; https://www1.ietf.org/mailman/listinfo/tl=
s<BR><BR><br /><hr />Express yourself with gadgets on Windows Live Spaces <=
a href=3D'http://discoverspaces.live.com?source=3Dhmtag1&loc=3Dus' target=
=3D'_new'>Try it!</a></body>=0A=
</html>=

--_6dee2865-a485-4768-b06e-d6bb619c0d61_--


--===============1794508213==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============1794508213==--




From tls-bounces@lists.ietf.org Fri Sep 01 13:56:41 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GJDEV-0005Ms-TS; Fri, 01 Sep 2006 13:55:11 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GJDEU-0005Mi-Om
	for tls@ietf.org; Fri, 01 Sep 2006 13:55:10 -0400
Received: from bay0-omc2-s1.bay0.hotmail.com ([65.54.246.137])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GJDER-0007Vm-Pm
	for tls@ietf.org; Fri, 01 Sep 2006 13:55:10 -0400
Received: from BAY103-W2 ([65.54.174.102]) by bay0-omc2-s1.bay0.hotmail.com
	with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 1 Sep 2006 10:55:07 -0700
X-Originating-IP: [69.109.8.134]
X-Originating-Email: [home_pw@msn.com]
Message-ID: <BAY103-W24DC779253D7594EC9CB8923C0@phx.gbl>
MIME-Version: 1.0
From: "Peter Williams" <home_pw@msn.com>
To: tls@ietf.org
Subject: RE: [TLS] draft-housley-evidence-extns-00.txt
Date: Fri, 1 Sep 2006 10:55:06 -0700
X-OriginalArrivalTime: 01 Sep 2006 17:55:07.0146 (UTC)
	FILETIME=[C28BD6A0:01C6CDEF]
X-Spam-Score: 2.6 (++)
X-Scan-Signature: f1405b5eaa25d745f8c52e3273d3af78
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1619136374=="
Errors-To: tls-bounces@lists.ietf.org

--===============1619136374==
Content-Type: multipart/alternative;
	boundary="_644439ae-ccee-49f3-b343-24c7b13b3d0e_"

--_644439ae-ccee-49f3-b343-24c7b13b3d0e_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

So, looking at recent work on adding saml authorization assertions to TLS p=
rotocols flows, and now the proposed addition of evidentiary deductions to =
TLS session/connections, we can think more widely at the architectural impl=
ications for TLS. Analytically, we can cast those implications in terms of =
(a) the original architecture, (b) EAP and WTLS variants that have come int=
o being over the last 10 years (c) web2.0 async frameworks.
=20
In the original netscape-platform's SSL architecture, SSL was a winsock pro=
vider (tho not in reality ever implemented as such - except by Microsoft fo=
r a while) - one of many sub-protocol hooks that a good application protoco=
l designer might add to the stack atop IPX, TCP/IP, ISO RTSE, or (today) ws=
-reliablemessaging.
=20
To contextualize the hooking, one defined the "s" protocols - ftps, https, =
pptps, and a hundred unregistered ones from Microsoft - e.g. frontpageS. In=
to each context, the app designer added custom semantics, being not limited=
 to https semantics. Netcape and its browser centric model of the web1.0 ha=
rdly represented the entire space of web possibilities, after all.  We all =
know of course of the evolution of EAP_TTLS, which is another example of th=
e pattern, in a different sphere that had little to do with the web. Simial=
rly, jabber has take on its own course applying TLS handshakes.
=20
Thinking back to the modern web2.0, we all know of the flow of SAML1.1 asse=
rtion between claim-aware application -  between STSs, claimants and web re=
sources, in the ws-federation pattern that extends ws-security channels for=
 distributed interworking.=20
=20
And we know of the SAML-complying DerivedTokens from ws-secureConversation =
that represent security context information and entropy properties for STS =
to which we have delegated the responsiblity for security channel maintenan=
ce for dumb-device, or escrowed, apps. So, going beyond the semantics of ht=
tps,ftps, pop3s, eap-ttls, TLS CAN INDEED AND PROPERLY SHOULD support the w=
s-federation binding for the ws-security framework.
=20
I'm not sure the way the internet-drafts are fmorulated really *well* adapt=
s TLS to the web2.0 world, for xml-signaling buses whose security contexts =
do not rely on the internet security architcture. But, its quite proper to =
think about linking the SAML1 assertions flowing end-end at the ws-trust an=
d ws-federation's http-redirection layer to those used, now, by the TLS eng=
ine in an internet-based stack complying with the internet security archite=
cture. This is parpticularly true when allowing those flows to now control =
from above how a given ws-addressed TLS layer entity should apply access co=
ntrols when interacting with layer 4/5 boundary access points - or the prot=
ocol hooked "above", in the winsock-speak.
I find the very ideas of TLS auth and evidence extensions really quite exci=
ting, particularly now we have an open security context signaling infrastru=
cture from the ws-security and ws-secureconversation worlds to also work wi=
th, as hypermedia app designers. (1) Signed assertions as xml strings, (2) =
WS-Trust signed responses, and (3) metadata flow allowing learning and know=
ledge transfer by next generation internet/winsock stacks - these are all m=
echanism we did not have available as commodity components available to you=
r average vis basic programmer, back in 1995/6. This is all quite cool!
=20
Peter.


From: home_pw@msn.comTo: tls@ietf.orgSubject: RE: [TLS] draft-housley-evide=
nce-extns-00.txtDate: Fri, 1 Sep 2006 09:12:45 -0700CC:=20


  A very, very, very long time ago, ssl-talk discussed for weeks whether SS=
L supported, could support, or even should support evidentiary services suc=
h as non-repudiation - i.e. whether some of its protocol exchanges might be=
 used at the application level to support claims at layer 7, generated as a=
 side-effect of using the comms. stack. We focused on applying the blurring=
 to the problem of enforcing UK/US mandatory key escrow policies - a high-p=
riority topic for IESG, at that time. For example: if one initiated a secon=
d SSL3 handshake mid-session without dropping the https session context, on=
e inherently created evidence related to the data exchanged between the two=
 SSL2/SSL3 message-layer handshakes. That second handshake was evidence of =
the data exchange pattern at the https level.  We even defined parallel han=
dshakes, using the SSL3 message layer's allowance for defining custom hands=
hake flows, that did things like mandatory key escrow deposit and then poli=
cy *Enforcement* (which was popular at the time and perhaps this is back to=
 popularity in 2006 IETF?) to showoff applicability of one handshake to exp=
ress control over the https session ongoings on the primary channel. (This =
would ensure the server that the mandatory rules had been enforced on the c=
onsumer https channel, otherwise the server would drop the https session to=
 comply with govt policies etc). I even remember writing up an proof, using=
 inductive logic, for the mandatory integrity properties. Now, the list see=
ms to be badly failing to distinguish between https and its socket-layer se=
curity protocol support.  Another way of saying that is, however - perhaps =
time had come to revist what we were saying in 1995 when we even then wonde=
ring about blurring the distinctions, between the stack layers - as regard =
to evidence generation from a socket provider. Are we thus truly "failing",=
 or are we simply changing the paradigm, finally! While there was always in=
terplay in the SSL design world between what happened in the application (t=
he https realm known to the Netscape 2 browser hypermedia platform) and the=
 SSL layer (behind the socket in winsock), we were clear that app vs layer =
separation was to be clean. For example, certs chains were processed by the=
 https-layer application process in accord with the hypermedia experience o=
f sessions focusing on session identity(s)  and confidence policy(s) theret=
o, but core SSL handshakes and security context session resumption processe=
s were handled by the kernel/winsock provider without regard to "secure int=
erworking pattern" being sought by the application context applying a socke=
t provider's enhanced transport features. Conclusion. I supported using SSL=
 handshakes as evidence-generation purposes at the app layer in 1995. And, =
I therefore still do. It breaks all the design correctness rules, and lots =
of IETF dogma that motivated TLS's distinct conception of itself (vs SSL3).=
 But.. so what! Dogma can always be rewritten.

> Date: Thu, 31 Aug 2006 11:39:36 -0400> To: tls@ietf.org> From: housley@vi=
gilsec.com> Subject: Re: [TLS] draft-housley-evidence-extns-00.txt> CC: > >=
 David:> > That is true, an application running on top of TLS could handle =
this > feature, but then every application would have to do so.  By putting=
 > it into TLS, any application can easily be supported.  The alerts to > m=
ark the beginning and end were intended to allow applications to > generate=
 evidence for a portion of the application exchange, but > these can be sen=
t at the beginning and the at end of the TLS session > to support arbitrary=
 applications.> > Russ> > > At 09:01 PM 8/30/2006, David Hopwood wrote:> >R=
uss Housley wrote:> > > http://www.ietf.org/internet-drafts/draft-housley-e=
vidence-extns-00.txt> > >> > > I would like the TLS WG to be aware of this =
document.  Review is> > > encouraged, and comments are welcome.> >> >What i=
s the rationale for complicating TLS with this, when it seems as> >though i=
t could just as easily be supported at the application protocol> >level?> >=
> >--> >David Hopwood <david.nospam.hopwood@blueyonder.co.uk>> >> >> >> >__=
_____________________________________________> >TLS mailing list> >TLS@list=
s.ietf.org> >https://www1.ietf.org/mailman/listinfo/tls> > > ______________=
_________________________________> TLS mailing list> TLS@lists.ietf.org> ht=
tps://www1.ietf.org/mailman/listinfo/tls

Express yourself with gadgets on Windows Live Spaces Try it!=20
_________________________________________________________________
Search from any Web page with powerful protection. Get the FREE Windows Liv=
e Toolbar Today!
http://get.live.com/toolbar/overview=

--_644439ae-ccee-49f3-b343-24c7b13b3d0e_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>=0A=
<head>=0A=
<style>=0A=
P=0A=
{=0A=
margin:0px;=0A=
padding:0px=0A=
}=0A=
body=0A=
{=0A=
FONT-SIZE: 10pt;=0A=
FONT-FAMILY:Tahoma=0A=
}=0A=
</style>=0A=
</head>=0A=
<body><BR><BR>So, looking at recent work on adding saml authorization asser=
tions to TLS protocols flows, and now the proposed addition of evidentiary =
deductions to TLS session/connections, we can think more widely at the arch=
itectural implications for TLS. Analytically, we can cast those implication=
s in terms of (a) the original architecture, (b) EAP and WTLS variants that=
 have come into being over the last 10 years (c) web2.0 async frameworks.<B=
R>
&nbsp;<BR>
In the original netscape-platform's SSL architecture, SSL was a winsock pro=
vider (tho not in reality ever implemented as such - except by Microsoft fo=
r a while) - one of many sub-protocol hooks that a good application protoco=
l designer might add to the stack atop <FONT>IPX, </FONT>TCP/IP, ISO <FONT>=
RTSE, or (today</FONT>) ws-reliablemessaging.<BR>
&nbsp;<BR>
To contextualize the hooking, one defined the "s" protocols - ftps, https, =
pptps, and a hundred unregistered ones from Microsoft - e.g. frontpageS.<FO=
NT> Into each <FONT>context, the app designer added custom semantics, being=
 not limited to https semantics. Netcape and its browser centric&nbsp;model=
 of the web1.0 hardly represented the entire space of web <FONT>possibiliti=
es, after all</FONT>. </FONT></FONT>&nbsp;We all know of course of the evol=
ution of <FONT>EAP_TTLS</FONT>, which is another example of the pattern, in=
 a different sphere that had little to do with the web. Simialrly, jabber h=
as take on its own course applying TLS handshakes.<BR>
&nbsp;<BR>
Thinking back to the modern web2.0, we all know of the flow of <FONT>SAML1.=
1</FONT> assertion&nbsp;between claim-aware application - &nbsp;between STS=
s, claimants and web resources, in the ws-federation pattern that extends w=
s-security channels for distributed interworking. <BR>
&nbsp;<BR>
And we know of the SAML-complying DerivedTokens from ws-secureConversation =
that represent security context information and entropy properties for STS =
to which we have delegated the responsiblity for security channel maintenan=
ce for dumb-device, or escrowed,&nbsp;apps. So, going beyond the semantics =
of https,ftps, pop3s, <FONT>eap-ttls</FONT>, TLS CAN INDEED AND PROPERLY SH=
OULD support the ws-federation binding for the ws-security framework.<BR>
&nbsp;<BR>
I'm not sure the way the internet-drafts are fmorulated really *well* adapt=
s TLS to the web2.0 world, for xml-signaling buses whose security contexts =
do not rely on the internet security architcture. But, its quite proper to =
think about linking the SAML1 assertions flowing end-end at the ws-trust an=
d ws-federation's http-redirection layer to those used, now, by the TLS eng=
ine in an internet-based stack complying with the internet security archite=
cture. This is parpticularly true when allowing those flows to now&nbsp;con=
trol from above&nbsp;how a given ws-addressed TLS&nbsp;layer entity should =
apply access controls when interacting with layer 4/5 boundary access point=
s - or the protocol hooked "above", in the winsock-speak.<BR><BR>
I find the very ideas of TLS auth and evidence extensions really quite exci=
ting, particularly now we have an open security context signaling infrastru=
cture from the ws-security and ws-secureconversation worlds to also work wi=
th, as hypermedia app designers. (1) Signed assertions as xml strings, (2) =
WS-Trust signed responses, and (3) metadata flow allowing learning and know=
ledge transfer by next generation internet/winsock stacks - these are all m=
echanism we did not have <FONT>available as commodity components available =
to your average vis basic programmer, back in 1995/6. This is a</FONT>ll qu=
ite cool!<BR>
&nbsp;<BR>
Peter.<BR>
<BLOCKQUOTE style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008=
080 2px solid; MARGIN-RIGHT: 0px">
<HR id=3DEC_stopSpelling>
From: home_pw@msn.com<BR>To: tls@ietf.org<BR>Subject: RE: [TLS] draft-housl=
ey-evidence-extns-00.txt<BR>Date: Fri, 1 Sep 2006 09:12:45 -0700<BR>CC: <BR=
><BR>
<META content=3D"Microsoft SafeHTML" name=3DGenerator>
<STYLE>
.ExternalClass P
{padding:0px;}
.ExternalClass
{font-size:10pt;font-family:Tahoma;}
</STYLE>
&nbsp;<BR>&nbsp;<BR>A&nbsp;very, very, very&nbsp;long&nbsp;time ago, ssl-ta=
lk discussed for weeks whether SSL supported, could support, or even should=
 support evidentiary services such as&nbsp;non-repudiation - i.e. whether s=
ome of its protocol exchanges might be used at the application level to sup=
port claims at layer 7, generated as a side-effect of using the comms. stac=
k. We focused on applying the blurring to the problem of&nbsp;enforcing UK/=
US mandatory key escrow policies - a high-priority topic for IESG, at that =
time.<BR>&nbsp;<BR>For example: if one initiated a second SSL3 handshake mi=
d-session without dropping the https session context, one inherently create=
d evidence related to the data exchanged between the two SSL2/SSL3 message-=
layer handshakes. That second handshake was evidence of the data exchange p=
attern at the https level. <BR>&nbsp;<BR>We even defined parallel handshake=
s, using the SSL3 message layer's allowance for defining custom handshake f=
lows, that did things like mandatory key escrow deposit and then policy *En=
forcement* (which was popular at the time and perhaps this is back to popul=
arity in 2006 IETF?) to showoff applicability of one handshake to express c=
ontrol over the https session ongoings on the primary channel. (This would =
ensure the server that the mandatory rules had been enforced on the consume=
r https channel, otherwise the server would drop the https session to compl=
y with govt policies etc). I even remember writing up an proof, using induc=
tive logic, for the mandatory integrity&nbsp;properties.<BR>&nbsp;<BR>Now, =
the list seems to be badly failing to distinguish between https and its soc=
ket-layer security protocol support. <BR>&nbsp;<BR>Another way of saying th=
at is, however - perhaps time had come to revist what we were saying in 199=
5 when we even then wondering about blurring the distinctions, between the =
stack layers - as regard to evidence generation from a socket provider. Are=
 we thus truly "failing", or are we simply changing the paradigm, finally!<=
BR>&nbsp;<BR>While there was always interplay in the SSL design world betwe=
en what happened in the application (the https realm known to the Netscape =
2 browser hypermedia platform) and the SSL layer (behind the socket in wins=
ock), we were clear that app vs layer separation was to be clean. For examp=
le, certs chains were processed by the https-layer application process in a=
ccord with the hypermedia experience of sessions focusing on session identi=
ty(s) &nbsp;and confidence policy(s) thereto, but core SSL handshakes and s=
ecurity context session resumption processes were handled by the kernel/win=
sock provider without regard to "secure interworking pattern" being sought =
by the application context applying a socket provider's enhanced transport =
features.<BR><BR>&nbsp;<BR>Conclusion. I supported using SSL handshakes as =
evidence-generation purposes at the app layer in 1995. And, I therefore sti=
ll do. It breaks all the design correctness rules, and lots of IETF dogma t=
hat motivated TLS's distinct conception of itself (vs SSL3). But.. so what!=
 Dogma can always be rewritten.<BR><BR><BR>
<HR id=3DEC_stopSpelling>
&gt; Date: Thu, 31 Aug 2006 11:39:36 -0400<BR>&gt; To: tls@ietf.org<BR>&gt;=
 From: housley@vigilsec.com<BR>&gt; Subject: Re: [TLS] draft-housley-eviden=
ce-extns-00.txt<BR>&gt; CC: <BR>&gt; <BR>&gt; David:<BR>&gt; <BR>&gt; That&=
nbsp;is&nbsp;true,&nbsp;an&nbsp;application&nbsp;running&nbsp;on&nbsp;top&n=
bsp;of&nbsp;TLS&nbsp;could&nbsp;handle&nbsp;this&nbsp;<BR>&gt; feature,&nbs=
p;but&nbsp;then&nbsp;every&nbsp;application&nbsp;would&nbsp;have&nbsp;to&nb=
sp;do&nbsp;so.&nbsp;&nbsp;By&nbsp;putting&nbsp;<BR>&gt; it&nbsp;into&nbsp;T=
LS,&nbsp;any&nbsp;application&nbsp;can&nbsp;easily&nbsp;be&nbsp;supported.&=
nbsp;&nbsp;The&nbsp;alerts&nbsp;to&nbsp;<BR>&gt; mark&nbsp;the&nbsp;beginni=
ng&nbsp;and&nbsp;end&nbsp;were&nbsp;intended&nbsp;to&nbsp;allow&nbsp;applic=
ations&nbsp;to&nbsp;<BR>&gt; generate&nbsp;evidence&nbsp;for&nbsp;a&nbsp;po=
rtion&nbsp;of&nbsp;the&nbsp;application&nbsp;exchange,&nbsp;but&nbsp;<BR>&g=
t; these&nbsp;can&nbsp;be&nbsp;sent&nbsp;at&nbsp;the&nbsp;beginning&nbsp;an=
d&nbsp;the&nbsp;at&nbsp;end&nbsp;of&nbsp;the&nbsp;TLS&nbsp;session&nbsp;<BR=
>&gt; to&nbsp;support&nbsp;arbitrary&nbsp;applications.<BR>&gt; <BR>&gt; Ru=
ss<BR>&gt; <BR>&gt; <BR>&gt; At&nbsp;09:01&nbsp;PM&nbsp;8/30/2006,&nbsp;Dav=
id&nbsp;Hopwood&nbsp;wrote:<BR>&gt; &gt;Russ&nbsp;Housley&nbsp;wrote:<BR>&g=
t; &gt;&nbsp;&gt;&nbsp;http://www.ietf.org/internet-drafts/draft-housley-ev=
idence-extns-00.txt<BR>&gt; &gt;&nbsp;&gt;<BR>&gt; &gt;&nbsp;&gt;&nbsp;I&nb=
sp;would&nbsp;like&nbsp;the&nbsp;TLS&nbsp;WG&nbsp;to&nbsp;be&nbsp;aware&nbs=
p;of&nbsp;this&nbsp;document.&nbsp;&nbsp;Review&nbsp;is<BR>&gt; &gt;&nbsp;&=
gt;&nbsp;encouraged,&nbsp;and&nbsp;comments&nbsp;are&nbsp;welcome.<BR>&gt; =
&gt;<BR>&gt; &gt;What&nbsp;is&nbsp;the&nbsp;rationale&nbsp;for&nbsp;complic=
ating&nbsp;TLS&nbsp;with&nbsp;this,&nbsp;when&nbsp;it&nbsp;seems&nbsp;as<BR=
>&gt; &gt;though&nbsp;it&nbsp;could&nbsp;just&nbsp;as&nbsp;easily&nbsp;be&n=
bsp;supported&nbsp;at&nbsp;the&nbsp;application&nbsp;protocol<BR>&gt; &gt;l=
evel?<BR>&gt; &gt;<BR>&gt; &gt;--<BR>&gt; &gt;David&nbsp;Hopwood&nbsp;&lt;d=
avid.nospam.hopwood@blueyonder.co.uk&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt; &gt;_______________________________________________<BR>&gt; &g=
t;TLS&nbsp;mailing&nbsp;list<BR>&gt; &gt;TLS@lists.ietf.org<BR>&gt; &gt;htt=
ps://www1.ietf.org/mailman/listinfo/tls<BR>&gt; <BR>&gt; <BR>&gt; _________=
______________________________________<BR>&gt; TLS&nbsp;mailing&nbsp;list<B=
R>&gt; TLS@lists.ietf.org<BR>&gt; https://www1.ietf.org/mailman/listinfo/tl=
s<BR><BR><BR>
<HR>
Express yourself with gadgets on Windows Live Spaces <A href=3D"http://disc=
overspaces.live.com/?source=3Dhmtag1&amp;loc=3Dus" target=3D_blank>Try it!<=
/A> </BLOCKQUOTE><br /><hr />Search from any Web page with powerful protect=
ion. Get the FREE Windows Live Toolbar Today! <a href=3D'http://get.live.co=
m/toolbar/overview' target=3D'_new'>Try it now!</a></body>=0A=
</html>=

--_644439ae-ccee-49f3-b343-24c7b13b3d0e_--


--===============1619136374==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============1619136374==--




From tls-bounces@lists.ietf.org Tue Sep 05 04:13:31 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GKW1h-00011Z-Mh; Tue, 05 Sep 2006 04:11:21 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GKW1g-00011Q-7n
	for tls@ietf.org; Tue, 05 Sep 2006 04:11:20 -0400
Received: from mgw-ext13.nokia.com ([131.228.20.172])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GKW1e-0008Vt-O2
	for tls@ietf.org; Tue, 05 Sep 2006 04:11:20 -0400
Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145])
	by mgw-ext13.nokia.com (Switch-3.1.10/Switch-3.1.7) with ESMTP id
	k858BGcq017734; Tue, 5 Sep 2006 11:11:17 +0300
Received: from esebh104.NOE.Nokia.com ([172.21.143.34]) by
	esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 5 Sep 2006 11:10:53 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 5 Sep 2006 11:10:52 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] draft-housley-evidence-extns-00.txt
Date: Tue, 5 Sep 2006 11:10:53 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2403157738@esebe105.NOE.Nokia.com>
In-Reply-To: <7.0.0.16.2.20060830105445.078b67d8@vigilsec.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] draft-housley-evidence-extns-00.txt
Thread-Index: AcbMRmHBAGzA36pGQOybKb/axBK1TgEe7jjg
From: <Pasi.Eronen@nokia.com>
To: <housley@vigilsec.com>, <tls@ietf.org>
X-OriginalArrivalTime: 05 Sep 2006 08:10:52.0905 (UTC)
	FILETIME=[CE3E2590:01C6D0C2]
X-Spam-Score: 0.2 (/)
X-Scan-Signature: fb6060cb60c0cea16e3f7219e40a0a81
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

BTW, in addition to the discussions Peter mentioned, the idea
of generating more convincing evidence of TLS conversation than
an ordinary log has been explored in some papers/drafts. In
my SSL/TLS related bibtex file I found the following; it might
be worth checking them out for additional idea:

Ibrahim Hajjeh and Ahmed Serhrouchni. Integrating a signature module
in SSL/TLS. In ICETE 2004, 1st International Conference on E-Business
and Telecommunication Networks, Setubal, Portugal, August 2004.

   Abstract: SSL/TLS is currently the most deployed security protocol
   on the Internet.  SSL/TLS provides end-to-end secure communications
   between two entities with authentication and data
   protection. However, what is missing from the protocol is a way to
   provide the non-repudiation service. In this paper, we describe a
   generic implementation of the non-repudiation service as an
   optional module in the SSL/TLS protocol. This approach provides
   both parties with evidence that the transaction has taken place and
   a clear separation with application design and development. We
   discuss the motivation for our approach and our proposed
   architecture.

Ibrahim Hajjeh, Mohamad Badra, Ahmed Serhrouchni, Jacques Demerjian,
and Mohammad Achemlal. TLS sign. Work in progress,
draft-hajjeh-tls-sign-01, October 2005.

   Abstract: TLS protocol provides authentication and data protection
   for communication between two entities. However, missing from the
   protocol is a way to perform non-repudiation service. This document
   defines extensions to the TLS protocol to allow it to perform
   non-repudiation service. It is based on [TLSSign] and it provides
   the client and the server the ability to sign by TLS, handshake and
   applications data using certificates such as X.509.

Si Tiange, Tan Xiangrong, and Dai Yiqi. Digital signature enablement
for TLS protocol.  Journal of Tsinghua University (Science and
Technology), 44(1):58-60,64, January 2004.

   Abstract: TLS (transfer layer security) is the most widely used
   security protocol on the Web. However, the original standard only
   encrypts transfered data and does not implicitly sign data. This
   paper describes an approach for modifying the TLS protocol to
   support the underlying digital signature mechanism. The proposal
   modifies the handshake protocol to negotiate the mechanism , and
   the record layer protocol which signs and verifies the application
   data. The new protocol includes a rollback mechanism to allow the
   peers to gracefully revert to an ordinary TLS protocol when
   needed. This approach is backwards compatible to allow the client
   to interoperate with an ordinary TLS server and vise
   versa. Experiments show that the new protocol provides about 10%
   increase in signature data transfers.

Best regards,
Pasi=20

> -----Original Message-----
> From: ext Russ Housley [mailto:housley@vigilsec.com]=20
> Sent: 30 August, 2006 17:57
> To: tls@ietf.org
> Subject: [TLS] draft-housley-evidence-extns-00.txt
>=20
>
http://www.ietf.org/internet-drafts/draft-housley-evidence-extns-00.txt
>=20
> I would like the TLS WG to be aware of this document.  Review is=20
> encouraged, and comments are welcome.
>=20
> I would like to make a presentation about this document at the San=20
> Diego IETF so that the TLS WG can decide if this should=20
> become a WG document.
>=20
> Thanks,
>    Russ

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



From tls-bounces@lists.ietf.org Wed Sep 06 19:47:45 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GL75K-0000fM-N9; Wed, 06 Sep 2006 19:45:34 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GL75J-0000fH-QO
	for tls@ietf.org; Wed, 06 Sep 2006 19:45:33 -0400
Received: from laser.networkresonance.com ([198.144.196.2])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GL75I-0006sc-I0
	for tls@ietf.org; Wed, 06 Sep 2006 19:45:33 -0400
Received: from networkresonance.com (raman.networkresonance.com
	[198.144.196.3])
	by laser.networkresonance.com (Postfix) with ESMTP id AC018222425
	for <tls@ietf.org>; Wed,  6 Sep 2006 16:53:25 -0700 (PDT)
To: tls@ietf.org
X-Mailer: MH-E 7.4.3; nmh 1.0.4; XEmacs 21.4 (patch 19)
Date: Wed, 06 Sep 2006 16:45:31 -0700
From: Eric Rescorla <ekr@networkresonance.com>
Message-Id: <20060906235325.AC018222425@laser.networkresonance.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 08e48e05374109708c00c6208b534009
Cc: 
Subject: [TLS] WGLC: draft-ietf-tls-psk-null-00
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

This is a Working Group Last Call for draft-ietf-tls-psk-null-00.txt.

Please send comments to the mailing list.

In particular, the chairs would like to solicit comments on whether
this document should be advanced to Proposed Standard or Informational.

-Ekr

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



From tls-bounces@lists.ietf.org Thu Sep 14 09:33:06 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GNrIv-0000bp-69; Thu, 14 Sep 2006 09:30:57 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GNrIu-0000bU-7A
	for tls@ietf.org; Thu, 14 Sep 2006 09:30:56 -0400
Received: from nat194.certicom.com ([66.48.18.194] helo=mail.ca.certicom.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GNrIs-00080G-RB
	for tls@ietf.org; Thu, 14 Sep 2006 09:30:56 -0400
Received: from spamfilter.certicom.com (localhost.localdomain [127.0.0.1])
	by mail.ca.certicom.com (Postfix) with ESMTP id 4F437100233D9;
	Thu, 14 Sep 2006 09:30:41 -0400 (EDT)
Received: from mail.ca.certicom.com ([127.0.0.1])
	by spamfilter.certicom.com (storm [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 26356-03; Thu, 14 Sep 2006 09:30:37 -0400 (EDT)
Received: from certicom1.certicom.com (domino1.certicom.com [10.0.1.24])
	by mail.ca.certicom.com (Postfix) with ESMTP id C858E100233D0;
	Thu, 14 Sep 2006 09:30:37 -0400 (EDT)
In-Reply-To: <7.0.0.16.2.20060830105445.078b67d8@vigilsec.com>
To: Russ Housley <housley@vigilsec.com>
Subject: Re: [TLS] draft-housley-evidence-extns-00.txt
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.5 November 30, 2005
Message-ID: <OF42987C8F.A7B94257-ON852571E9.00483105-852571E9.004A8FE2@certicom.com>
From: Rob Dugal <RDugal@certicom.com>
Date: Thu, 14 Sep 2006 09:29:23 -0400
X-MIMETrack: Serialize by Router on Certicom1/Certicom(Release 6.5.4|March 27,
	2005) at 09/14/2006 09:29:25 AM,
	Serialize complete at 09/14/2006 09:29:25 AM
X-Spam-Score: 0.5 (/)
X-Scan-Signature: b132cb3ed2d4be2017585bf6859e1ede
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1283728084=="
Errors-To: tls-bounces@lists.ietf.org

This is a multipart message in MIME format.
--===============1283728084==
Content-Type: multipart/alternative;
	boundary="=_alternative 004A8FE1852571E9_="

This is a multipart message in MIME format.
--=_alternative 004A8FE1852571E9_=
Content-Type: text/plain; charset="US-ASCII"

Some questions:

In your example the client initiates everything  with the evidence_start1 
alert and also sends the EvidenceRequest. Is it always the sender of the 
evidence_start1 alert that must send the EvidenceRequest? Or in your 
example could the server have also sent the  EvidenceRequest even though 
the client started the entire evidence collection?

Does the EvidenceRequest have to immediately follow the evidence_end2 
alert?  Could there be some interchange of application data before the 
EvidenceRequest ?


How does re-negotiation affect this? Can either side request 
re-negotiation within evidence_start1 & evidence_start2  ? 

Does the evidence creation suite ECDSA_P256_WITH_SHA_256 imply that the 
server certificate must have a public key on curve SEPC256R1 and the 
certificate must be signed with ECDSA and SHA-256? What if the server cert 
was using SHA-1 instead but the key was on the correct curve?

Should the client limit the set of evidence creation suites in the 
client-hello to only those suites for which it has a suitable certificate?

-----------------------------------------------
Robert Dugal
Member of Development Group
Certicom Corp.
EMAIL: rdugal@certicom.com
PHONE: (905) 501-3848
FAX  : (905) 507-4230
WEBSITE: www.certicom.com

Russ Housley <housley@vigilsec.com> wrote on 08/30/2006 10:57:10 AM:

> http://www.ietf.org/internet-drafts/draft-housley-evidence-extns-00.txt
> 
> I would like the TLS WG to be aware of this document.  Review is 
> encouraged, and comments are welcome.
> 
> I would like to make a presentation about this document at the San 
> Diego IETF so that the TLS WG can decide if this should become a WG 
document.
> 
> Thanks,
>    Russ
> 
> 
> _______________________________________________
> TLS mailing list
> TLS@lists.ietf.org
> https://www1.ietf.org/mailman/listinfo/tls

--=_alternative 004A8FE1852571E9_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Some questions:</font>
<br>
<br><font size=2 face="sans-serif">In your example the client initiates
everything &nbsp;with the evidence_start1 alert and also sends the EvidenceRequest.
Is it always the sender of the evidence_start1 alert that must send the
EvidenceRequest? Or in your example could the server have also sent the
&nbsp;EvidenceRequest even though the client started the entire evidence
collection?</font>
<br>
<br><font size=2 face="sans-serif">Does the EvidenceRequest have to immediately
follow the evidence_end2 alert? &nbsp;Could there be some interchange of
application data before the EvidenceRequest ?</font>
<br>
<br>
<br><font size=2 face="sans-serif">How does re-negotiation affect this?
Can either side request re-negotiation within evidence_start1 &amp; evidence_start2
&nbsp;? </font>
<br>
<br><font size=2 face="sans-serif">Does the evidence creation suite </font><tt><font size=3>ECDSA_P256_WITH_SHA_256</font></tt><font size=2 face="sans-serif">
imply that the server certificate must have a public key on curve SEPC256R1
and the certificate must be signed with ECDSA and SHA-256? What if the
server cert was using SHA-1 instead but the key was on the correct curve?</font>
<br>
<br><font size=2 face="sans-serif">Should the client limit the set of evidence
creation suites in the client-hello to only those suites for which it has
a suitable certificate?</font>
<br><font size=2 face="sans-serif"><br>
-----------------------------------------------<br>
Robert Dugal<br>
Member of Development Group<br>
Certicom Corp.<br>
EMAIL: rdugal@certicom.com<br>
PHONE: (905) 501-3848<br>
FAX &nbsp;: (905) 507-4230<br>
WEBSITE: www.certicom.com</font>
<br>
<br><tt><font size=2>Russ Housley &lt;housley@vigilsec.com&gt; wrote on
08/30/2006 10:57:10 AM:<br>
<br>
&gt; http://www.ietf.org/internet-drafts/draft-housley-evidence-extns-00.txt<br>
&gt; <br>
&gt; I would like the TLS WG to be aware of this document. &nbsp;Review
is <br>
&gt; encouraged, and comments are welcome.<br>
&gt; <br>
&gt; I would like to make a presentation about this document at the San
<br>
&gt; Diego IETF so that the TLS WG can decide if this should become a WG
document.<br>
&gt; <br>
&gt; Thanks,<br>
&gt; &nbsp; &nbsp;Russ<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; TLS mailing list<br>
&gt; TLS@lists.ietf.org<br>
&gt; https://www1.ietf.org/mailman/listinfo/tls<br>
</font></tt>
--=_alternative 004A8FE1852571E9_=--


--===============1283728084==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============1283728084==--




From tls-bounces@lists.ietf.org Sat Sep 16 16:04:29 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GOgMd-0005gP-TL; Sat, 16 Sep 2006 16:02:11 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GOgMc-0005fn-T9
	for tls@lists.ietf.org; Sat, 16 Sep 2006 16:02:10 -0400
Received: from smtp101.plus.mail.mud.yahoo.com ([68.142.206.234])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1GOgMb-0000Gg-Iq
	for tls@lists.ietf.org; Sat, 16 Sep 2006 16:02:10 -0400
Received: (qmail 53829 invoked from network); 16 Sep 2006 20:02:09 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=YAHOO.COM;
	h=Received:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer;
	b=fzA7+qwPgqiM4H4E0AQROHHpdYNZOvPKThZK1c9/NII78YVWC5Jy668IcWANHyH5/3l6xOrUSIvCTDXQrGoyoN+/Rk9GMa/Vufrf6Y2Zdt45EXdsV8cG1thj9auTH6CEIA+n7BPhv+0TN39lz7hrwElKR6tdFZGo/1GrQGpvGx0=
	; 
Received: from unknown (HELO ?192.168.1.2?) (reefedjib@24.18.133.25 with plain)
	by smtp101.plus.mail.mud.yahoo.com with SMTP; 16 Sep 2006 20:02:08 -0000
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Transfer-Encoding: 7bit
Message-Id: <EDAC4FF1-EAB1-40E7-9C02-12432EC6F972@YAHOO.COM>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
To: TLS-list <tls@lists.ietf.org>
From: Robert Withers <REEFEDJIB@YAHOO.COM>
Date: Sat, 16 Sep 2006 13:02:26 -0700
X-Mailer: Apple Mail (2.752.2)
X-Spam-Score: 1.3 (+)
X-Scan-Signature: 97adf591118a232206bdb5a27b217034
Subject: [TLS] key exchange with RSA Certificate based keys
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Hi!   I am new to TLS and new to the list.  I am implementing a  
client and server to the TLS 1.1 spec and I have run into an issue  
that is stumping me.  Hopefully this is the right list and someone  
can help.

I am implementing support for TLS_RSA_WITH_3DES_EDE_CBC_SHA and so  
the handshake negotiation is expected to be:

[client]
ClientHello
[server]
ServerHello
Certificate
ServerHelloDone
[client]
ClientKeyExchange
ChangeCipherSpec
Finished
[server]
ChangeCipherSpec
Finished

The RSA keys inside of the SubjectPublicKeyInfo of the certificate  
are to be used to encrypt the preMasterSecret by the client and sent  
in the ClientkeyExchange.  My question is how does the server  
unencrypt the key?   Does he have the RSA private key somewhere and  
how did he get them.

I have an RSA signed certificate and I do not have private keys.  If  
I am to generate these keys, and write the new public keys into the  
certificate before sending it, doesn't that invalidate the CA signature?

Thank you,
Robert

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



From tls-bounces@lists.ietf.org Mon Sep 18 03:59:28 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPE0H-0006D1-Hz; Mon, 18 Sep 2006 03:57:21 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPE0G-0006CV-0S
	for tls@lists.ietf.org; Mon, 18 Sep 2006 03:57:20 -0400
Received: from mgw-ext12.nokia.com ([131.228.20.171])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GPE0E-0002rk-IN
	for tls@lists.ietf.org; Mon, 18 Sep 2006 03:57:19 -0400
Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145])
	by mgw-ext12.nokia.com (Switch-3.1.10/Switch-3.1.10) with ESMTP id
	k8I7vFWM003810; Mon, 18 Sep 2006 10:57:17 +0300
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by
	esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 18 Sep 2006 10:57:15 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 18 Sep 2006 10:57:15 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] key exchange with RSA Certificate based keys
Date: Mon, 18 Sep 2006 10:57:17 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2403229910@esebe105.NOE.Nokia.com>
In-Reply-To: <EDAC4FF1-EAB1-40E7-9C02-12432EC6F972@YAHOO.COM>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] key exchange with RSA Certificate based keys
Thread-Index: AcbZy6UsEOMnrqvHTiiDctB5wuzssgBKu/MA
From: <Pasi.Eronen@nokia.com>
To: <REEFEDJIB@YAHOO.COM>, <tls@lists.ietf.org>
X-OriginalArrivalTime: 18 Sep 2006 07:57:15.0653 (UTC)
	FILETIME=[0E7E2350:01C6DAF8]
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 8b30eb7682a596edff707698f4a80f7d
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Robert Withers wrote:
>=20
> Hi!   I am new to TLS and new to the list.  I am implementing a =20
> client and server to the TLS 1.1 spec and I have run into an issue =20
> that is stumping me.  Hopefully this is the right list and someone =20
> can help.

BTW, it's good to keep in mind that while implementing TLS is not very
difficult, implementing it correctly and securely is.  Serious bugs
have been found in practically all TLS implementations.

So if you care about security, you should consider using some existing
implementation where many of the bugs have already been found and
fixed.

> The RSA keys inside of the SubjectPublicKeyInfo of the certificate =20
> are to be used to encrypt the preMasterSecret by the client and sent =20
> in the ClientkeyExchange.  My question is how does the server =20
> unencrypt the key?   Does he have the RSA private key somewhere and =20
> how did he get them.

Yes, the server needs the RSA private key corresponding to the public
key in the certificate. (If this was not the case, anyone who knows
the certificate could impersonate the server!)

The most common case would be that the server (administrator)
generated the key pair (private and public) earlier, sent the public
key to the CA in a certificate request, and got the certificate back.

> I have an RSA signed certificate and I do not have private keys.  If =20
> I am to generate these keys, and write the new public keys into the =20
> certificate before sending it, doesn't that invalidate the CA=20
> signature?

Yes, it would invalidate the signature. You need to first generate
the key pair, and then submit the public key to the CA.

Best regards,
Pasi

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



From tls-bounces@lists.ietf.org Mon Sep 18 04:15:47 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPEHa-0005vH-PT; Mon, 18 Sep 2006 04:15:14 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPEHZ-0005vC-Nc
	for tls@ietf.org; Mon, 18 Sep 2006 04:15:13 -0400
Received: from mgw-ext12.nokia.com ([131.228.20.171])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GPEHY-0006Aq-9x
	for tls@ietf.org; Mon, 18 Sep 2006 04:15:13 -0400
Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213])
	by mgw-ext12.nokia.com (Switch-3.1.10/Switch-3.1.10) with ESMTP id
	k8I8FB4c010991 for <tls@ietf.org>; Mon, 18 Sep 2006 11:15:11 +0300
Received: from esebh002.NOE.Nokia.com ([172.21.138.77]) by
	esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 18 Sep 2006 11:15:11 +0300
Received: from 4FIL09356 ([172.21.42.147]) by esebh002.NOE.Nokia.com with
	Microsoft SMTPSVC(5.0.2195.6881); Mon, 18 Sep 2006 11:15:11 +0300
From: "Pasi Eronen" <pasi.eronen@nokia.com>
To: <tls@ietf.org>
Subject: RE: [TLS] WGLC: draft-ietf-tls-psk-null-00
Date: Mon, 18 Sep 2006 11:15:11 +0300
Message-ID: <000e01c6dafa$8fb28b80$932a15ac@NOE.Nokia.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
Thread-Index: AcbSD3oUxc1xce7XQiu4V/uJMOr5awI6tI1A
In-Reply-To: <20060906235325.AC018222425@laser.networkresonance.com>
X-OriginalArrivalTime: 18 Sep 2006 08:15:11.0406 (UTC)
	FILETIME=[8FB104E0:01C6DAFA]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 798b2e660f1819ae38035ac1d8d5e3ab
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

<wg chair hat off>

I have reviewed draft-ietf-tls-psk-null-00, and I think it's in quite
good shape. I've included some minor editorial suggestions below.  
I don't have a strong opinion on the PS/Informational status; maybe
Informational since I'd expect most users would want to use
encryption.

- Title: "Suite" should be plural, since this document defines three
new cipher suites. And I'd suggest adding "(TLS)" to the end of the
title.

- Abstract: should not have any citations (ID-Checklist, 3.1.B)

- Page header: Suggest changing abbreviated title ("New Cipher Suites
for TLS-PSK") to something like "PSK Cipher Suites with NULL
Encryption for TLS".


Best regards,
Pasi 


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



From tls-bounces@lists.ietf.org Mon Sep 18 13:58:28 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPNMV-0003ys-Em; Mon, 18 Sep 2006 13:56:55 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPNMU-0003yn-9V
	for tls@lists.ietf.org; Mon, 18 Sep 2006 13:56:54 -0400
Received: from smtp108.plus.mail.mud.yahoo.com ([68.142.206.241])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1GPNMS-0003Kg-TF
	for tls@lists.ietf.org; Mon, 18 Sep 2006 13:56:54 -0400
Received: (qmail 11350 invoked from network); 18 Sep 2006 17:56:52 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=YAHOO.COM;
	h=Received:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer;
	b=xyyCSoT2Xxd0M+Vx61UlTMj741yN19vgGhzC4iF1KMWlSkeQp5EoPMq9Jo/O2GZqDIAUsLGWbBakzxMQHK+2UCLVwzaozetz250Q3i1r5JVvN8kztA1ZU+xKn2KYH8x0/7exqq9ZqLhCqqC/+BMCbqWn2A0VJbSXXjVKF3ZjVgk=
	; 
Received: from unknown (HELO ?192.168.1.2?) (reefedjib@24.18.133.25 with plain)
	by smtp108.plus.mail.mud.yahoo.com with SMTP; 18 Sep 2006 17:56:51 -0000
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F2403229910@esebe105.NOE.Nokia.com>
References: <B356D8F434D20B40A8CEDAEC305A1F2403229910@esebe105.NOE.Nokia.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <965E0270-62B2-4613-BCC6-5AA901E83044@YAHOO.COM>
Content-Transfer-Encoding: 7bit
From: Robert Withers <REEFEDJIB@YAHOO.COM>
Subject: Re: [TLS] key exchange with RSA Certificate based keys
Date: Mon, 18 Sep 2006 10:57:10 -0700
To: <Pasi.Eronen@nokia.com>
X-Mailer: Apple Mail (2.752.2)
X-Spam-Score: 1.3 (+)
X-Scan-Signature: 244a2fd369eaf00ce6820a760a3de2e8
Cc: tls@lists.ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Hi Pasi, thanks for your reply.

On Sep 18, 2006, at 12:57 AM, <Pasi.Eronen@nokia.com> wrote:

> BTW, it's good to keep in mind that while implementing TLS is not very
> difficult, implementing it correctly and securely is.  Serious bugs
> have been found in practically all TLS implementations.
>
> So if you care about security, you should consider using some existing
> implementation where many of the bugs have already been found and
> fixed.

This is a very important point.  I have had fun implementing TLS so  
far, even though I keep getting a bad record mac error for some  
mysterious reason to be discovered, when connecting to a secure  
server like cacert.  :-)   There are sure to be many holes,  
especially since I haven't built support for all of the correct Alert  
generation conditions.   It is a work in progress.

Yet, we have an interpreted environment known as Squeak.  It runs bit  
identically on Windows, Mac and *nix.  In bringing native support to  
this environment, we would avoid requiring platform specific  
configuration and it would just work.  Our implementation is  
developing well, connectivity hiccups aside, and provides a service  
to Squeak that would be difficult to obtain otherwise.  We do run  
this risk of having many serious security bugs, but like any  
implementation, sufficient use would expose them for correction.  We  
introduce this work with this in mind.


>> The RSA keys inside of the SubjectPublicKeyInfo of the certificate
>> are to be used to encrypt the preMasterSecret by the client and sent
>> in the ClientkeyExchange.  My question is how does the server
>> unencrypt the key?   Does he have the RSA private key somewhere and
>> how did he get them.
>
> Yes, the server needs the RSA private key corresponding to the public
> key in the certificate. (If this was not the case, anyone who knows
> the certificate could impersonate the server!)
>
> The most common case would be that the server (administrator)
> generated the key pair (private and public) earlier, sent the public
> key to the CA in a certificate request, and got the certificate back.

This would be why OpenSSL provides the ability to generate key pairs,  
then.  I just need to find the second half of that pair.  Do most  
implementations provide the ability to generate key pairs and then  
have the public key placed in CSR form for signing?   Perhaps we need  
to provide that capability.


>> I have an RSA signed certificate and I do not have private keys.  If
>> I am to generate these keys, and write the new public keys into the
>> certificate before sending it, doesn't that invalidate the CA
>> signature?
>
> Yes, it would invalidate the signature. You need to first generate
> the key pair, and then submit the public key to the CA.

Yes, and further I read that no defined CipherSuites support  
temporary RSA keys through the ServerKeyExchange.

many thanks,
Robert

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



From tls-bounces@lists.ietf.org Mon Sep 18 18:48:50 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPRt5-0007kk-7T; Mon, 18 Sep 2006 18:46:51 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPRt4-0007kf-8J
	for tls@ietf.org; Mon, 18 Sep 2006 18:46:50 -0400
Received: from mx1.redhat.com ([66.187.233.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GPRt2-00033q-Va
	for tls@ietf.org; Mon, 18 Sep 2006 18:46:50 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id
	k8IMkkbq022575 for <tls@ietf.org>; Mon, 18 Sep 2006 18:46:46 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id
	k8IMkdmv010327 for <tls@ietf.org>; Mon, 18 Sep 2006 18:46:40 -0400
Received: from [127.0.0.1] (dhcp-172-16-25-208.sfbay.redhat.com
	[172.16.25.208])
	by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k8IMkW0p020130
	for <tls@ietf.org>; Mon, 18 Sep 2006 18:46:35 -0400
Message-ID: <450F222D.2020706@redhat.com>
Date: Mon, 18 Sep 2006 15:48:13 -0700
From: Wan-Teh Chang <wtchang@redhat.com>
User-Agent: Thunderbird 2.0b1pre (Windows/20060915)
MIME-Version: 1.0
To: tls@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
Cc: 
Subject: [TLS] PRF in TLS 1.2
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Hi,

Could someone please post a description of what was decided
about the PRF in TLS 1.2 in the Montreal WG meeting?

The only documents I can find on this topic are:

- Slide 7 of Eric's presentation
  (http://www3.ietf.org/proceedings/06jul/slides/tls-1.pdf)

- Eric's TLS WG Summary
   http://www1.ietf.org/mail-archive/web/tls/current/msg00698.html

But I can't tell from the WG summary what was decided and whether
the proposal in Slide 7 was accepted.

I'd also like to know what new PRFs have been proposed, and who
the proponents are.

The reason I'm interested in the PRF issue is that TLS 1.0
required an official interpretation from NIST to be acceptable
for use in FIPS mode.  (See the letter from William Burr of NIST
in IG 7.1, http://csrc.nist.gov/cryptval/140-1/FIPS1402IG.pdf .
Search for "Burr" or "TLS" in that document.)  I hope we can
eliminate such FIPS compliance issues in TLS 1.2.

But it's not clear to me whether not using MD5 in the PRF would be
sufficient for the PRF to be FIPS compliant, or we'd also need
to use one of the KDFs specified in NIST SP 800-56A, Section 5.8.
(http://csrc.nist.gov/publications/nistpubs/800-56A/sp800-56A_May-3-06.pdf)

Wan-Teh Chang


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



From tls-bounces@lists.ietf.org Mon Sep 18 18:58:37 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPS3m-0003xF-Ha; Mon, 18 Sep 2006 18:57:54 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPS3l-0003x6-5G
	for tls@ietf.org; Mon, 18 Sep 2006 18:57:53 -0400
Received: from raman.networkresonance.com ([198.144.196.3])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GPS3i-0005Xm-Ps
	for tls@ietf.org; Mon, 18 Sep 2006 18:57:53 -0400
Received: by raman.networkresonance.com (Postfix, from userid 1001)
	id EED1C1E8C28; Mon, 18 Sep 2006 15:57:49 -0700 (PDT)
To: Wan-Teh Chang <wtchang@redhat.com>
Subject: Re: [TLS] PRF in TLS 1.2
References: <450F222D.2020706@redhat.com>
From: Eric Rescorla <ekr@networkresonance.com>
Date: Mon, 18 Sep 2006 15:57:49 -0700
In-Reply-To: <450F222D.2020706@redhat.com> (Wan-Teh Chang's message of "Mon,
	18 Sep 2006 15:48:13 -0700")
Message-ID: <86k6403hqq.fsf@raman.networkresonance.com>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3e15cc4fdc61d7bce84032741d11c8e5
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: EKR <ekr@networkresonance.com>
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Wan-Teh Chang <wtchang@redhat.com> writes:

> Hi,
>
> Could someone please post a description of what was decided
> about the PRF in TLS 1.2 in the Montreal WG meeting?
>
> The only documents I can find on this topic are:
>
> - Slide 7 of Eric's presentation
>   (http://www3.ietf.org/proceedings/06jul/slides/tls-1.pdf)
>
> - Eric's TLS WG Summary
>    http://www1.ietf.org/mail-archive/web/tls/current/msg00698.html
>
> But I can't tell from the WG summary what was decided and whether
> the proposal in Slide 7 was accepted.

Here's a summary of what was decided.

1. The default PRF is the TLS 1.1 PRF with a single hash algorithm
   and the entire key used as input to P_hash. 
2. All current cipher suites will use SHA-1 in TLS 1.2.
3. New cipher suites will by default use the TLS 1.1 PRF with whatever
   hash they're using for HMAC.
4. New cipher suites can define a new PRF but it must use the same 
   "API" as the TLS 1.1 PRF.

This is roughly what's in the current I-D, except that I deleted
a crucial paragraph through sloppy editing. It should read 
approximately:

	The PRF is derived from P_hash as:

	    PRF(secret, label, seed) = P_<hash>(secret, label + seed)

	Where <hash> is dependent on the cipher suite. For the
        cipher suites defined in this document it SHALL be SHA-1.
        For future cipher suites it SHALL be the hash used in
        the record HMAC unless otherwise specified in the cipher
        suite description.


> I'd also like to know what new PRFs have been proposed, and who
> the proponents are.

The new PRFs that people seem interested in are:

1. The GOST PRF (draft-chudov-cryptopro-cptls-03.txt)
2. The FIPS 800-56A KDF.

-Ekr




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



From tls-bounces@lists.ietf.org Tue Sep 19 00:26:55 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPXAN-00016D-Aj; Tue, 19 Sep 2006 00:25:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPXAM-000167-CL
	for tls@ietf.org; Tue, 19 Sep 2006 00:25:02 -0400
Received: from raman.networkresonance.com ([198.144.196.3])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GPXAJ-0006YL-Ic
	for tls@ietf.org; Tue, 19 Sep 2006 00:25:02 -0400
Received: by raman.networkresonance.com (Postfix, from userid 1001)
	id 9EA141E8C28; Mon, 18 Sep 2006 21:24:58 -0700 (PDT)
To: tls@ietf.org
Subject: Re: [TLS] WGLC: draft-ietf-tls-psk-null-00
References: <20060906235325.AC018222425@laser.networkresonance.com>
From: Eric Rescorla <ekr@networkresonance.com>
Date: Mon, 18 Sep 2006 21:24:58 -0700
In-Reply-To: <20060906235325.AC018222425@laser.networkresonance.com> (Eric
	Rescorla's message of "Wed, 06 Sep 2006 16:45:31 -0700")
Message-ID: <86fyeo32lh.fsf@raman.networkresonance.com>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 68c8cc8a64a9d0402e43b8eee9fc4199
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: EKR <ekr@networkresonance.com>
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla <ekr@networkresonance.com> writes:
> This is a Working Group Last Call for draft-ietf-tls-psk-null-00.txt.
>
> Please send comments to the mailing list.
>
> In particular, the chairs would like to solicit comments on whether
> this document should be advanced to Proposed Standard or Informational.

I realized that I neglected to set a final date. Let's say it's 
Friday Sep 22.

-Ekr

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



From tls-bounces@lists.ietf.org Tue Sep 19 02:36:48 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPZCp-0005JK-LM; Tue, 19 Sep 2006 02:35:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPZCo-0005Ew-BH
	for tls@lists.ietf.org; Tue, 19 Sep 2006 02:35:42 -0400
Received: from mgw-ext11.nokia.com ([131.228.20.170])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GPZCm-0000ra-Sr
	for tls@lists.ietf.org; Tue, 19 Sep 2006 02:35:42 -0400
Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213])
	by mgw-ext11.nokia.com (Switch-3.1.10/Switch-3.1.10) with ESMTP id
	k8J6ZWGw008850; Tue, 19 Sep 2006 09:35:37 +0300
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by
	esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 19 Sep 2006 09:35:37 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 19 Sep 2006 09:35:36 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] key exchange with RSA Certificate based keys
Date: Tue, 19 Sep 2006 09:35:39 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F240325BDD3@esebe105.NOE.Nokia.com>
In-Reply-To: <965E0270-62B2-4613-BCC6-5AA901E83044@YAHOO.COM>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] key exchange with RSA Certificate based keys
Thread-Index: AcbbTOWw7sBG+RfUQH+HXiUm9i5iZgAZ9MPA
From: <Pasi.Eronen@nokia.com>
To: <REEFEDJIB@yahoo.com>
X-OriginalArrivalTime: 19 Sep 2006 06:35:36.0892 (UTC)
	FILETIME=[D10447C0:01C6DBB5]
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 08170828343bcf1325e4a0fb4584481c
Cc: tls@lists.ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Robert Withers wrote:
>=20
> This would be why OpenSSL provides the ability to generate key
> pairs, then.  I just need to find the second half of that pair. =20
> Do most implementations provide the ability to generate key pairs=20
> and then have the public key placed in CSR form for signing? =20
> Perhaps we need to provide that capability.

Yes, I'd say most implementations include this capability, often in
some kind of command line tool (e.g. OpenSSL's "req" command, Mozilla
NSS's "certutil", Java SDK's "keytool", GNU TLS's "certtool", and so
on).

Best regards,
Pasi=20

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



From tls-bounces@lists.ietf.org Tue Sep 19 17:35:34 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPnDc-0005I2-Hv; Tue, 19 Sep 2006 17:33:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPnDb-0005Hq-47
	for tls@lists.ietf.org; Tue, 19 Sep 2006 17:33:27 -0400
Received: from smtp101.plus.mail.mud.yahoo.com ([68.142.206.234])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1GPnDZ-0004yE-PL
	for tls@lists.ietf.org; Tue, 19 Sep 2006 17:33:27 -0400
Received: (qmail 18502 invoked from network); 19 Sep 2006 21:33:25 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Received:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer;
	b=PDY0646UJAUpEHH6od6sW4lURa++OWTXtM7ENWvsI/6Hq8bc53ECqj7h9iwOEVz5ei3jMvsbHeBwchrncJf2x1bbZjlYwuuwRfMj2HhHDOR3wl2le8ACEvoZsRyXkrXmoiHdY/HC5Dl9DBl6HcrQrdlrJiU+Spj8qR6I9GKDAp0=
	; 
Received: from unknown (HELO ?192.168.1.2?) (reefedjib@24.18.133.25 with plain)
	by smtp101.plus.mail.mud.yahoo.com with SMTP; 19 Sep 2006 21:33:24 -0000
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Transfer-Encoding: 7bit
Message-Id: <9E5FED3D-7071-4E12-9062-3D2380A9AC11@yahoo.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
To: TLS-list <tls@lists.ietf.org>
From: Robert Withers <reefedjib@yahoo.com>
Date: Tue, 19 Sep 2006 14:33:45 -0700
X-Mailer: Apple Mail (2.752.2)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7aefe408d50e9c7c47615841cb314bed
Subject: [TLS] Verifying the PRF output
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Is there any sample input and output so I can check that my PRF is  
functioning correctly?   I am getting MAC errors both as the client  
and as the server, so I suspect the encryption is hokey, and that  
points to a key_block problem.

thanks for any assistance,
Robert

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



From tls-bounces@lists.ietf.org Wed Sep 20 03:50:23 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPwor-00083i-Nu; Wed, 20 Sep 2006 03:48:33 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPwoq-00083b-Bx
	for tls@lists.ietf.org; Wed, 20 Sep 2006 03:48:32 -0400
Received: from mgw-ext14.nokia.com ([131.228.20.173])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GPwon-0002mq-KQ
	for tls@lists.ietf.org; Wed, 20 Sep 2006 03:48:32 -0400
Received: from esebh107.NOE.Nokia.com (esebh107.ntc.nokia.com [172.21.143.143])
	by mgw-ext14.nokia.com (Switch-3.1.10/Switch-3.1.10) with ESMTP id
	k8K7mScv008018; Wed, 20 Sep 2006 10:48:28 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by
	esebh107.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 20 Sep 2006 10:48:28 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 20 Sep 2006 10:48:27 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] Verifying the PRF output
Date: Wed, 20 Sep 2006 10:48:27 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F240325C73E@esebe105.NOE.Nokia.com>
In-Reply-To: <9E5FED3D-7071-4E12-9062-3D2380A9AC11@yahoo.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] Verifying the PRF output
Thread-Index: AcbcND6srHl0eix0RaiE3G5eE5kX7gAVCKwg
From: <Pasi.Eronen@nokia.com>
To: <reefedjib@yahoo.com>, <tls@lists.ietf.org>
X-OriginalArrivalTime: 20 Sep 2006 07:48:27.0898 (UTC)
	FILETIME=[28C09DA0:01C6DC89]
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 08170828343bcf1325e4a0fb4584481c
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Robert Withers wrote:
>=20
> Is there any sample input and output so I can check that my PRF is =20
> functioning correctly?   I am getting MAC errors both as the client =20
> and as the server, so I suspect the encryption is hokey, and that =20
> points to a key_block problem.

I once had a similar problem, and this is what I did: I downloaded
OpenSSL source code, and added some debugging printf's to ssl/s3_enc.c
(ssl3_generate_master_secret and ssl3_generate_key_block functions),
and then tested my implementation against the openssl s_client/s_server
command line tools.

Best regards,
Pasi

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



From tls-bounces@lists.ietf.org Wed Sep 20 06:19:56 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GPz9h-0000TU-DU; Wed, 20 Sep 2006 06:18:13 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GPz9f-0000TP-Pl
	for tls@lists.ietf.org; Wed, 20 Sep 2006 06:18:11 -0400
Received: from michael.checkpoint.com ([194.29.32.68])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GPz9e-0006Qt-4U
	for tls@lists.ietf.org; Wed, 20 Sep 2006 06:18:11 -0400
Received: from ysheffer.ad.checkpoint.com (localhost [127.0.0.1])
	by michael.checkpoint.com (8.12.10+Sun/8.12.10) with ESMTP id
	k8KAHwKQ027897
	for <tls@lists.ietf.org>; Wed, 20 Sep 2006 13:17:58 +0300 (IDT)
Message-Id: <200609201017.k8KAHwKQ027897@michael.checkpoint.com>
Date: Wed, 20 Sep 2006 13:17:57 +0300
From: Yaron Sheffer <yaronf@checkpoint.com>
To: tls@lists.ietf.org
MIME-Version: 1.0
X-Mailer: Sun Outlook Connector 7.1.228.0
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f884eb1d4ec5a230688d7edc526ea665
Subject: [TLS] TLS Inner Application Extension
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0216479039=="
Errors-To: tls-bounces@lists.ietf.org

--===============0216479039==
Content-type: MULTIPART/ALTERNATIVE; BOUNDARY="6096137-868-1158747478=:496"

--6096137-868-1158747478=:496
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: QUOTED-PRINTABLE

Hi,

=20

After some (cursory) research, I only found a few short discussions of draf=
t-funk-tls-inner-application-extension. So here are a few questions, and so=
rry if this horse has been beat to death already. Sorry for the horse, too.

=20

Has there been discussion of accepting this as a WG draft? Can someone plea=
se summarize or point me to the summary for that?

=20

Were there in the past any alternative proposals for integrating EAP into T=
LS? To clarify, EAP/TTLS and keen don't count. I am talking of using EAP to=
 authenticate a TLS tunnel.

=20

>From an architectural point of view, this proposal is different enough from=
 the use of EAP in IKEv2 to raise a few questions. In IKEv2, only EAP is us=
ed between client and gateway. The gateway then uses RADIUS+EAP to the AAA =
server. Diameter can of course replace RADIUS here. In the current draft, R=
ADIUS is effectively extended into the client. Which means that the client =
is expected to deal with the whole fun of RADIUS attributes, maybe a dozen =
or more in 3GPP environments. But anyway, lots and lots of semantics. And i=
f the client can already do EAP (perhaps for IKEv2 or for 802.1X) that's ni=
ce but insufficient.

=20

Moreover, the gateway would need to inspect the AVPs, so that keys that are=
 not meant to go on the wire are not forwarded to the client. So the gatewa=
y, instead of having reduced complexity because RADIUS AVP functionality is=
 moved to the client, still needs to understand these attributes.

=20

Thanks for any clarifications!

=20

            Yaron


--6096137-868-1158747478=:496
Content-type: TEXT/HTML; CHARSET=US-ASCII
Content-transfer-encoding: QUOTED-PRINTABLE

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
=09{font-family:Wingdings;
=09panose-1:5 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0in;
=09margin-bottom:.0001pt;
=09font-size:12.0pt;
=09font-family:"Times New Roman";}
a:link, span.MsoHyperlink
=09{color:blue;
=09text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
=09{color:purple;
=09text-decoration:underline;}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09font-family:Arial;
=09color:windowtext;}
@page Section1
=09{size:8.5in 11.0in;
=09margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
=09{page:Section1;}
 /* List Definitions */
 @list l0
=09{mso-list-id:338116320;
=09mso-list-type:hybrid;
=09mso-list-template-ids:-799760486 -668164378 67698691 67698693 67698689 6=
7698691 67698693 67698689 67698691 67698693;}
@list l0:level1
=09{mso-level-start-at:0;
=09mso-level-number-format:bullet;
=09mso-level-text:-;
=09mso-level-tab-stop:.5in;
=09mso-level-number-position:left;
=09text-indent:-.25in;
=09font-family:Arial;
=09mso-fareast-font-family:"Times New Roman";}
ol
=09{margin-bottom:0in;}
ul
=09{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>After some (cursory) research, I only found a few short
discussions of draft-funk-tls-inner-application-extension. So here are a fe=
w
questions, and sorry if this horse has been beat to death already. Sorry fo=
r
the horse, too.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Has there been discussion of accepting this as a WG draf=
t?
Can someone please summarize or point me to the summary for that?<o:p></o:p=
></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Were there in the past any alternative proposals for int=
egrating
EAP into TLS? To clarify, EAP/TTLS and keen don't count. I am talking of us=
ing
EAP to authenticate a TLS tunnel.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>From an architectural point of view, this proposal is
different enough from the use of EAP in IKEv2 to raise a few questions. In
IKEv2, only EAP is used between client and gateway. The gateway then uses
RADIUS+EAP to the AAA server. Diameter can of course replace RADIUS here. I=
n
the current draft, RADIUS is effectively extended into the client. Which me=
ans that
the client is expected to deal with the whole fun of RADIUS attributes, may=
be a
dozen or more in 3GPP environments. But anyway, lots and lots of semantics.=
 And
if the client can already do EAP (perhaps for IKEv2 or for 802.1X) that's n=
ice
but insufficient.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Moreover, the gateway would need to inspect the AVPs, so
that keys that are not meant to go on the wire are not forwarded to the cli=
ent.
So the gateway, instead of having reduced complexity because RADIUS AVP fun=
ctionality
is moved to the client, still needs to understand these attributes.<o:p></o=
:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Thanks for any clarifications!<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; Yaron<o:p></o:p></span></font></p>

</div>

</body>

</html>

--6096137-868-1158747478=:496--


--===============0216479039==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0216479039==--




From tls-bounces@lists.ietf.org Wed Sep 20 12:34:16 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GQ4zH-0006wL-Eh; Wed, 20 Sep 2006 12:31:51 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GQ4zG-0006wF-Gg
	for tls@lists.ietf.org; Wed, 20 Sep 2006 12:31:50 -0400
Received: from smtp107.plus.mail.mud.yahoo.com ([68.142.206.240])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1GQ4zF-00085S-6B
	for tls@lists.ietf.org; Wed, 20 Sep 2006 12:31:50 -0400
Received: (qmail 88271 invoked from network); 20 Sep 2006 16:31:43 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Received:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer;
	b=hBfFH8d5SNpnvCk6NNI4geHXkgWxFukChOLSZ4q87JjF3DsiNNdqLCRYZy5h65ldyU8/TQpzeQQIIAlX8ZOBNXKqJ3t5G/uQJUWB5lnrDj7f2SYdvPt4jDmfwPx6w9JubZJjFPfK8bvj+4ki7hkLiLWtm6EOV28y824bmX6gf4o=
	; 
Received: from unknown (HELO ?192.168.1.2?) (reefedjib@24.18.133.25 with plain)
	by smtp107.plus.mail.mud.yahoo.com with SMTP; 20 Sep 2006 16:31:43 -0000
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F240325C73E@esebe105.NOE.Nokia.com>
References: <B356D8F434D20B40A8CEDAEC305A1F240325C73E@esebe105.NOE.Nokia.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <45E90BE6-C257-4E36-AEA0-4D7E5BD43E39@yahoo.com>
Content-Transfer-Encoding: 7bit
From: Robert Withers <reefedjib@yahoo.com>
Subject: Re: [TLS] Verifying the PRF output
Date: Wed, 20 Sep 2006 09:32:04 -0700
To: <Pasi.Eronen@nokia.com>
X-Mailer: Apple Mail (2.752.2)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9182cfff02fae4f1b6e9349e01d62f32
Cc: tls@lists.ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I was thinking this would be what I would need to do.  Thanks for the  
tips on where the pertinent functions are.

cheers,
Robert

On Sep 20, 2006, at 12:48 AM, <Pasi.Eronen@nokia.com> wrote:

> Robert Withers wrote:
>>
>> Is there any sample input and output so I can check that my PRF is
>> functioning correctly?   I am getting MAC errors both as the client
>> and as the server, so I suspect the encryption is hokey, and that
>> points to a key_block problem.
>
> I once had a similar problem, and this is what I did: I downloaded
> OpenSSL source code, and added some debugging printf's to ssl/s3_enc.c
> (ssl3_generate_master_secret and ssl3_generate_key_block functions),
> and then tested my implementation against the openssl s_client/ 
> s_server
> command line tools.
>
> Best regards,
> Pasi


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



From tls-bounces@lists.ietf.org Thu Sep 21 10:58:32 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GQPyU-0005hh-2b; Thu, 21 Sep 2006 10:56:26 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GQPyS-0005hb-Lj
	for tls@lists.ietf.org; Thu, 21 Sep 2006 10:56:24 -0400
Received: from lizzard.sbs.de ([194.138.37.39])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GQPyL-0005il-Pj
	for tls@lists.ietf.org; Thu, 21 Sep 2006 10:56:24 -0400
Received: from mail2.sbs.de (localhost [127.0.0.1])
	by lizzard.sbs.de (8.12.6/8.12.6) with ESMTP id k8LEu44q024590;
	Thu, 21 Sep 2006 16:56:05 +0200
Received: from fthw9xpa.ww002.siemens.net (fthw9xpa.ww002.siemens.net
	[157.163.133.222])
	by mail2.sbs.de (8.12.6/8.12.6) with ESMTP id k8LEu2NR014493;
	Thu, 21 Sep 2006 16:56:04 +0200
Received: from MCHP7IEA.ww002.siemens.net ([139.25.131.145]) by
	fthw9xpa.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 21 Sep 2006 16:56:03 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: AW: [TLS] TLS Inner Application Extension
Date: Thu, 21 Sep 2006 16:55:35 +0200
Message-ID: <A5D2BD54850CCA4AA3B93227205D8A30898D59@MCHP7IEA.ww002.siemens.net>
In-Reply-To: <200609201017.k8KAHwKQ027897@michael.checkpoint.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] TLS Inner Application Extension
Thread-Index: AcbcntwYRXckDxnTQTKfm3xxdC06SQA65RQg
From: "Tschofenig, Hannes" <hannes.tschofenig@siemens.com>
To: "Yaron Sheffer" <yaronf@checkpoint.com>, <tls@lists.ietf.org>
X-OriginalArrivalTime: 21 Sep 2006 14:56:03.0765 (UTC)
	FILETIME=[0F40FE50:01C6DD8E]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 10d2fdecab7a7fa796e06e001d026c91
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2006683938=="
Errors-To: tls-bounces@lists.ietf.org

This is a multi-part message in MIME format.

--===============2006683938==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6DD8D.FE38CCF8"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6DD8D.FE38CCF8
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Yaron,=20
=20
thanks for your interest in the document.
=20
RADIUS does not run all the way to the TLS client with the mentioned
proposal. A subset of the draft authors had the idea that it would be
good to reuse the RADIUS attribute format and to keep the draft generic
to support more than just EAP (including SAML etc.).=20
=20
I personally feel more confident with a restricted scope of only using
EAP.=20
The feedback we received support this idea.=20
=20
Ciao
Hannes
=20
PS: There is an open source implementation of the draft available.=20

________________________________

	Von: Yaron Sheffer [mailto:yaronf@checkpoint.com]=20
	Gesendet: Mittwoch, 20. September 2006 06:18
	An: tls@lists.ietf.org
	Betreff: [TLS] TLS Inner Application Extension
=09
=09

	Hi,

	=20

	After some (cursory) research, I only found a few short
discussions of draft-funk-tls-inner-application-extension. So here are a
few questions, and sorry if this horse has been beat to death already.
Sorry for the horse, too.

	=20

	Has there been discussion of accepting this as a WG draft? Can
someone please summarize or point me to the summary for that?

	=20

	Were there in the past any alternative proposals for integrating
EAP into TLS? To clarify, EAP/TTLS and keen don't count. I am talking of
using EAP to authenticate a TLS tunnel.

	=20

	From an architectural point of view, this proposal is different
enough from the use of EAP in IKEv2 to raise a few questions. In IKEv2,
only EAP is used between client and gateway. The gateway then uses
RADIUS+EAP to the AAA server. Diameter can of course replace RADIUS
here. In the current draft, RADIUS is effectively extended into the
client. Which means that the client is expected to deal with the whole
fun of RADIUS attributes, maybe a dozen or more in 3GPP environments.
But anyway, lots and lots of semantics. And if the client can already do
EAP (perhaps for IKEv2 or for 802.1X) that's nice but insufficient.

	=20

	Moreover, the gateway would need to inspect the AVPs, so that
keys that are not meant to go on the wire are not forwarded to the
client. So the gateway, instead of having reduced complexity because
RADIUS AVP functionality is moved to the client, still needs to
understand these attributes.

	=20

	Thanks for any clarifications!

	=20

	            Yaron


------_=_NextPart_001_01C6DD8D.FE38CCF8
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20
"urn:schemas-microsoft-com:vml" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR>
<STYLE>@font-face {
	font-family: Wingdings;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
	page: Section1
}
OL {
	MARGIN-BOTTOM: 0in
}
UL {
	MARGIN-BOTTOM: 0in
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D828083014-21092006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Hi Yaron, </FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D828083014-21092006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D828083014-21092006></SPAN><FONT face=3DArial><FONT=20
color=3D#0000ff><FONT =
size=3D2>thanks&nbsp;for&nbsp;your&nbsp;interest<SPAN=20
class=3D828083014-21092006> in the =
document.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D828083014-21092006>RADIUS does not run all the way to the TLS =
client with=20
the mentioned proposal. A subset of the draft authors had the idea that =
it would=20
be good to reuse the RADIUS attribute format and to keep the draft =
generic to=20
support more than just EAP (including SAML=20
etc.).&nbsp;</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D828083014-21092006></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D828083014-21092006>I personally feel more confident with&nbsp;a =
restricted=20
scope of only using EAP. </SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D828083014-21092006>The feedback we received support this idea.=20
</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D828083014-21092006></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D828083014-21092006>Ciao</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D828083014-21092006>Hannes</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D828083014-21092006><FONT face=3DArial color=3D#0000ff =
size=3D2>PS:=20
There is an open source implementation of the draft available.=20
</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Dde dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>Von:</B> Yaron Sheffer=20
  [mailto:yaronf@checkpoint.com] <BR><B>Gesendet:</B> Mittwoch, 20. =
September=20
  2006 06:18<BR><B>An:</B> tls@lists.ietf.org<BR><B>Betreff:</B> [TLS] =
TLS Inner=20
  Application Extension<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Hi,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">After some (cursory) =
research, I=20
  only found a few short discussions of=20
  draft-funk-tls-inner-application-extension. So here are a few =
questions, and=20
  sorry if this horse has been beat to death already. Sorry for the =
horse,=20
  too.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Has there been =
discussion of=20
  accepting this as a WG draft? Can someone please summarize or point me =
to the=20
  summary for that?<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Were there in the past =
any=20
  alternative proposals for integrating EAP into TLS? To clarify, =
EAP/TTLS and=20
  keen don't count. I am talking of using EAP to authenticate a TLS=20
  tunnel.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">From an architectural =
point of=20
  view, this proposal is different enough from the use of EAP in IKEv2 =
to raise=20
  a few questions. In IKEv2, only EAP is used between client and =
gateway. The=20
  gateway then uses RADIUS+EAP to the AAA server. Diameter can of course =
replace=20
  RADIUS here. In the current draft, RADIUS is effectively extended into =
the=20
  client. Which means that the client is expected to deal with the whole =
fun of=20
  RADIUS attributes, maybe a dozen or more in 3GPP environments. But =
anyway,=20
  lots and lots of semantics. And if the client can already do EAP =
(perhaps for=20
  IKEv2 or for 802.1X) that's nice but=20
insufficient.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Moreover, the gateway =
would need=20
  to inspect the AVPs, so that keys that are not meant to go on the wire =
are not=20
  forwarded to the client. So the gateway, instead of having reduced =
complexity=20
  because RADIUS AVP functionality is moved to the client, still needs =
to=20
  understand these attributes.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks for any=20
  clarifications!<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
  Yaron<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C6DD8D.FE38CCF8--


--===============2006683938==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============2006683938==--




From tls-bounces@lists.ietf.org Sat Sep 23 12:03:07 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GR9we-0004rt-DS; Sat, 23 Sep 2006 12:01:36 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GR9wd-0004nk-AY
	for tls@lists.ietf.org; Sat, 23 Sep 2006 12:01:35 -0400
Received: from smtp104.plus.mail.mud.yahoo.com ([68.142.206.237])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1GR9wc-00056M-0U
	for tls@lists.ietf.org; Sat, 23 Sep 2006 12:01:35 -0400
Received: (qmail 17964 invoked from network); 23 Sep 2006 16:01:31 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Received:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer;
	b=oEScUfBfcKR2qqqlOCNLEXfTZRDWd4suyHkboE0nINxlypyUbxGqP4mLcZJBH8elMnc3IEzj8IPV5MFyE25WYZYpUKGq6V9e3LymsQcmejJRuaFubaI8t696Yd0xidsIbFW0OQ7ChPqn2iHbwa08FvnQpuiDr8TXw4qI79mdQzE=
	; 
Received: from unknown (HELO ?192.168.1.2?) (reefedjib@24.18.133.25 with plain)
	by smtp104.plus.mail.mud.yahoo.com with SMTP; 23 Sep 2006 16:01:31 -0000
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Transfer-Encoding: 7bit
Message-Id: <0AF47F5C-C4EF-4C50-B3BB-B9231073006A@yahoo.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
To: TLS-list <tls@lists.ietf.org>
From: Robert Withers <reefedjib@yahoo.com>
Date: Sat, 23 Sep 2006 09:01:28 -0700
X-Mailer: Apple Mail (2.752.2)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7bac9cb154eb5790ae3b2913587a40de
Subject: [TLS] Use of SHA-0 versus SHA-1 in SSL v3.0 and TLS v1.0 and TLS
	v1.1
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I am confused about some of the terminology in the specifications.   
For instance, in the TLS v1.0 spec, in some places it specifies SHA-1  
and in others it merely says SHA.   This is especially true of the  
SSL v3.0 spec.  Something (I don't recall what) turned me on to the  
possibility that some of the SHA references may actually be for  
SHA-0.  Is there anything to this?

thank you,
Robert


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



From tls-bounces@lists.ietf.org Sat Sep 23 17:15:18 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GREoO-0008T7-W2; Sat, 23 Sep 2006 17:13:24 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GREoN-0008T2-Q5
	for tls@ietf.org; Sat, 23 Sep 2006 17:13:23 -0400
Received: from smtp-out4.blueyonder.co.uk ([195.188.213.7])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GREoM-0007Zp-Ha
	for tls@ietf.org; Sat, 23 Sep 2006 17:13:23 -0400
Received: from [172.23.170.136] (helo=anti-virus01-07)
	by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52)
	id 1GREoJ-0005vc-Qa for tls@ietf.org; Sat, 23 Sep 2006 22:13:19 +0100
Received: from 82-42-16-20.cable.ubr01.knor.blueyonder.co.uk ([82.42.16.20]
	helo=[127.0.0.1])
	by asmtp-out1.blueyonder.co.uk with esmtp (Exim 4.52)
	id 1GRElR-0004fU-BH for tls@ietf.org; Sat, 23 Sep 2006 22:10:21 +0100
Message-ID: <4515A2BB.3070003@blueyonder.co.uk>
Date: Sat, 23 Sep 2006 22:10:19 +0100
From: David Hopwood <david.nospam.hopwood@blueyonder.co.uk>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] Use of SHA-0 versus SHA-1 in SSL v3.0 and TLS v1.0 and
	TLS	v1.1
References: <0AF47F5C-C4EF-4C50-B3BB-B9231073006A@yahoo.com>
In-Reply-To: <0AF47F5C-C4EF-4C50-B3BB-B9231073006A@yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 798b2e660f1819ae38035ac1d8d5e3ab
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: david.nospam.hopwood@blueyonder.co.uk
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Robert Withers wrote:
> I am confused about some of the terminology in the specifications.   For
> instance, in the TLS v1.0 spec, in some places it specifies SHA-1  and
> in others it merely says SHA.   This is especially true of the  SSL v3.0
> spec.  Something (I don't recall what) turned me on to the  possibility
> that some of the SHA references may actually be for  SHA-0.  Is there
> anything to this?

No, none of the SHA references are to SHA-0. The glossary is already clear
about this:

   SHA
       The Secure Hash Algorithm is defined in FIPS PUB 180-1. It
       produces a 20-byte output. Note that all references to SHA
       actually use the modified SHA-1 algorithm. [SHA]

(in the TLS 1.2 draft, the reference is to FIPS PUB 180-2.)

-- 
David Hopwood <david.nospam.hopwood@blueyonder.co.uk>



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



From tls-bounces@lists.ietf.org Tue Sep 26 16:51:53 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSJra-0001TS-Kl; Tue, 26 Sep 2006 16:49:10 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSJrZ-0001TN-Ut
	for tls@ietf.org; Tue, 26 Sep 2006 16:49:09 -0400
Received: from mx1.redhat.com ([66.187.233.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSJrY-00024P-Ml
	for tls@ietf.org; Tue, 26 Sep 2006 16:49:09 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id
	k8QKn6gC010386 for <tls@ietf.org>; Tue, 26 Sep 2006 16:49:06 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id
	k8QKn5uh014909 for <tls@ietf.org>; Tue, 26 Sep 2006 16:49:06 -0400
Received: from [127.0.0.1] (dhcp-172-16-25-208.sfbay.redhat.com
	[172.16.25.208])
	by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k8QKn3vA025259
	for <tls@ietf.org>; Tue, 26 Sep 2006 16:49:04 -0400
Message-ID: <4519923E.5000705@redhat.com>
Date: Tue, 26 Sep 2006 13:49:02 -0700
From: Wan-Teh Chang <wtchang@redhat.com>
User-Agent: Thunderbird 2.0b1pre (Windows/20060922)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] PRF in TLS 1.2
References: <450F222D.2020706@redhat.com>
	<86k6403hqq.fsf@raman.networkresonance.com>
In-Reply-To: <86k6403hqq.fsf@raman.networkresonance.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 4adaf050708fb13be3316a9eee889caa
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:
>
> Here's a summary of what was decided.
> 
> 1. The default PRF is the TLS 1.1 PRF with a single hash algorithm
>    and the entire key used as input to P_hash.

What's the rationale for defining the default TLS 1.2 PRF
to be similar to the TLS 1.1 PRF?

To allow developers to reuse as much of their TLS 1.0/1.1
implementation as possible?

"If it ain't broke, don't fix it"?

> 2. All current cipher suites will use SHA-1 in TLS 1.2.

Will using SHA-1 only result in a weaker PRF than the TLS 1.1 PRF,
which uses both MD5 and SHA-1?

> 3. New cipher suites will by default use the TLS 1.1 PRF with whatever
>    hash they're using for HMAC.
> 4. New cipher suites can define a new PRF but it must use the same 
>    "API" as the TLS 1.1 PRF.

Is it required that the PRF use label and seed only in the form
of their concatenation label + seed?

> This is roughly what's in the current I-D, except that I deleted
> a crucial paragraph through sloppy editing. It should read 
> approximately:
> 
> 	The PRF is derived from P_hash as:
> 
> 	    PRF(secret, label, seed) = P_<hash>(secret, label + seed)
> 
> 	Where <hash> is dependent on the cipher suite. For the
>         cipher suites defined in this document it SHALL be SHA-1.
>         For future cipher suites it SHALL be the hash used in
>         the record HMAC unless otherwise specified in the cipher
>         suite description.

Thanks.  When do you plan to publish a new version of the I-D?

Wan-Teh


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



From tls-bounces@lists.ietf.org Tue Sep 26 17:49:37 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSKnD-0000GG-Er; Tue, 26 Sep 2006 17:48:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSKnC-0000GA-6j
	for tls@ietf.org; Tue, 26 Sep 2006 17:48:42 -0400
Received: from raman.networkresonance.com ([198.144.196.3])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSKnA-0004OZ-RB
	for tls@ietf.org; Tue, 26 Sep 2006 17:48:42 -0400
Received: by raman.networkresonance.com (Postfix, from userid 1001)
	id D74031E8C5D; Tue, 26 Sep 2006 14:48:37 -0700 (PDT)
To: Wan-Teh Chang <wtchang@redhat.com>
Subject: Re: [TLS] PRF in TLS 1.2
References: <450F222D.2020706@redhat.com>
	<86k6403hqq.fsf@raman.networkresonance.com>
	<4519923E.5000705@redhat.com>
From: Eric Rescorla <ekr@networkresonance.com>
Date: Tue, 26 Sep 2006 14:48:37 -0700
In-Reply-To: <4519923E.5000705@redhat.com> (Wan-Teh Chang's message of "Tue,
	26 Sep 2006 13:49:02 -0700")
Message-ID: <86wt7qxpsa.fsf@raman.networkresonance.com>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f607d15ccc2bc4eaf3ade8ffa8af02a0
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: EKR <ekr@networkresonance.com>
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Wan-Teh Chang <wtchang@redhat.com> writes:

> Eric Rescorla wrote:
>>
>> Here's a summary of what was decided.
>> 1. The default PRF is the TLS 1.1 PRF with a single hash algorithm
>>    and the entire key used as input to P_hash.
>
> What's the rationale for defining the default TLS 1.2 PRF
> to be similar to the TLS 1.1 PRF?
>
> To allow developers to reuse as much of their TLS 1.0/1.1
> implementation as possible?
>
> "If it ain't broke, don't fix it"?

I would phrase it as "make the most minimal change possible"


>> 2. All current cipher suites will use SHA-1 in TLS 1.2.
>
> Will using SHA-1 only result in a weaker PRF than the TLS 1.1 PRF,
> which uses both MD5 and SHA-1?

This would be a good question to direct at Dan Simon or Hugo Krawczyk.
My intuition is that because the secret is split between the two
hashes in the current PRF, this PRF would be arguably stronger
than the current PRF if MD5 is badly compromised. In any case,
this is a general question of whether we want two hashes
rather than a detailed one abt construction.


>> 3. New cipher suites will by default use the TLS 1.1 PRF with whatever
>>    hash they're using for HMAC.
>> 4. New cipher suites can define a new PRF but it must use the same
>> "API" as the TLS 1.1 PRF.
>
> Is it required that the PRF use label and seed only in the form
> of their concatenation label + seed?

No, I don't think so


>> This is roughly what's in the current I-D, except that I deleted
>> a crucial paragraph through sloppy editing. It should read
>> approximately:
>> 	The PRF is derived from P_hash as:
>> 	    PRF(secret, label, seed) = P_<hash>(secret, label + seed)
>> 	Where <hash> is dependent on the cipher suite. For the
>>         cipher suites defined in this document it SHALL be SHA-1.
>>         For future cipher suites it SHALL be the hash used in
>>         the record HMAC unless otherwise specified in the cipher
>>         suite description.
>
> Thanks.  When do you plan to publish a new version of the I-D?

Definitely before San Diego. Other than that, as soon as I get
some time...

-Ekr

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



From tls-bounces@lists.ietf.org Tue Sep 26 19:21:24 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSMDj-0002mM-Us; Tue, 26 Sep 2006 19:20:11 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSMDh-0002dn-QY
	for tls@ietf.org; Tue, 26 Sep 2006 19:20:09 -0400
Received: from mga03.intel.com ([143.182.124.21])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSMDM-0000MD-89
	for tls@ietf.org; Tue, 26 Sep 2006 19:20:09 -0400
Received: from azsmga001.ch.intel.com ([10.2.17.19])
	by mga03.intel.com with ESMTP; 26 Sep 2006 16:19:47 -0700
Received: from fmsmsx331.fm.intel.com (HELO fmsmsx331.amr.corp.intel.com)
	([132.233.42.156])
	by azsmga001.ch.intel.com with ESMTP; 26 Sep 2006 16:19:47 -0700
X-ExtLoop1: 1
X-IronPort-AV: i="4.09,221,1157353200"; 
	d="scan'208"; a="123394877:sNHT17296083"
Received: from fmsmsx312.amr.corp.intel.com ([132.233.42.227]) by
	fmsmsx331.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 26 Sep 2006 16:19:46 -0700
Received: from hdsmsx412.amr.corp.intel.com ([10.127.2.72]) by
	fmsmsx312.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 26 Sep 2006 16:19:46 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] PRF in TLS 1.2
Date: Tue, 26 Sep 2006 19:19:27 -0400
Message-ID: <279DDDAFA85EC74C9300A0598E704056B444B9@hdsmsx412.amr.corp.intel.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] PRF in TLS 1.2
thread-index: Acbhtd2Z+GHta+/RR2S0aoedv0JelAAC+GvA
From: "Blumenthal, Uri" <uri.blumenthal@intel.com>
To: <tls@ietf.org>
X-OriginalArrivalTime: 26 Sep 2006 23:19:46.0803 (UTC)
	FILETIME=[41A75C30:01C6E1C2]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9182cfff02fae4f1b6e9349e01d62f32
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>> "If it ain't broke, don't fix it"?
>
>I would phrase it as "make the most minimal change possible"

:-)

>> Will using SHA-1 only result in a weaker PRF than the TLS 1.1 PRF,
>> which uses both MD5 and SHA-1?
>
>This would be a good question to direct at Dan Simon or Hugo Krawczyk.
>My intuition is that because the secret is split between the two
>hashes in the current PRF, this PRF would be arguably stronger
>than the current PRF if MD5 is badly compromised. In any case,
>this is a general question of whether we want two hashes
>rather than a detailed one abt construction.

A PRF based on one decent hash will be stronger.
Better than PRF based on two (especially including one that's broken).

>> Is it required that the PRF use label and seed only in the form
>> of their concatenation label + seed?
>
>No, I don't think so

It wouldn't be a good idea to force PRF into such use pattern.

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



From tls-bounces@lists.ietf.org Wed Sep 27 00:47:27 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSRIg-0007DI-Ft; Wed, 27 Sep 2006 00:45:38 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSRIf-0007CP-C3
	for tls@ietf.org; Wed, 27 Sep 2006 00:45:37 -0400
Received: from wx-out-0506.google.com ([66.249.82.234])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSR8R-0000Tn-Ho
	for tls@ietf.org; Wed, 27 Sep 2006 00:35:04 -0400
Received: by wx-out-0506.google.com with SMTP id t4so81196wxc
	for <tls@ietf.org>; Tue, 26 Sep 2006 21:35:03 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=tIte7FubpB8CvIpXksEmY6wFGZ8j4NTyLMSZoY2Q3ch8TPEif4Igii/jnSsgd09Bx0pLalMdLFhYus7CTw+6DzK5+uonLX/mbh8eZOlXyWVjqwVNSrlVV1vU/qo5iC24Tnm0UTAtAz/FXXWZNk38I59EESgEeusyRzK7Kx7TKgc=
Received: by 10.70.91.11 with SMTP id o11mr593297wxb;
	Tue, 26 Sep 2006 21:35:03 -0700 (PDT)
Received: by 10.70.11.2 with HTTP; Tue, 26 Sep 2006 21:35:03 -0700 (PDT)
Message-ID: <6b9359640609262135q2e60d85dxafedfbfdea4d7232@mail.gmail.com>
Date: Tue, 26 Sep 2006 21:35:03 -0700
From: "Kyle Hamilton" <aerowolf@gmail.com>
To: "Blumenthal, Uri" <uri.blumenthal@intel.com>
Subject: Re: [TLS] PRF in TLS 1.2
In-Reply-To: <279DDDAFA85EC74C9300A0598E704056B444B9@hdsmsx412.amr.corp.intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <279DDDAFA85EC74C9300A0598E704056B444B9@hdsmsx412.amr.corp.intel.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 082a9cbf4d599f360ac7f815372a6a15
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

My thought is that even if one of the hash algorithms is badly broken,
the fact that more than one hash is being used means that a 'hedge'
exists against that possibility.

MD5 may be able to be broken.  SHA1 may be able to be broken.
However, their outputs both rely on the original input for their
value, such that 1 bit of entropy in the input leads basically to 1
bit of entropy in the output.

As well, I haven't heard of anyone being able to create a bitstring
that will go through both hashes to form an identical bit pattern from
both of them.  So, even if MD5 is broken (such that a valid message
can be created for message injection/session hijack), the fact that
another cipher suite is also in use arguably provides at least as much
security as using that cipher suite alone, and hypothetically more.
(I cannot attest to theory.)  Especially if the outputs are XORed
together -- if SHA1 cannot be predicted but MD5 can, there's still the
entire output space of 160 bits to go through.  If SHA1 can be
predicted but MD5 cannot, then there's still 128 bits of output space
to go through.  (Believing that (SHA1 & MD5) has the same amount of
entropy as (sizeof(SHA1) + sizeof(MD5)) is a fallacy; it has the
amount of entropy that the largest unpredictable one gives.)

-Kyle H

On 9/26/06, Blumenthal, Uri <uri.blumenthal@intel.com> wrote:
> >> "If it ain't broke, don't fix it"?
> >
> >I would phrase it as "make the most minimal change possible"
>
> :-)
>
> >> Will using SHA-1 only result in a weaker PRF than the TLS 1.1 PRF,
> >> which uses both MD5 and SHA-1?
> >
> >This would be a good question to direct at Dan Simon or Hugo Krawczyk.
> >My intuition is that because the secret is split between the two
> >hashes in the current PRF, this PRF would be arguably stronger
> >than the current PRF if MD5 is badly compromised. In any case,
> >this is a general question of whether we want two hashes
> >rather than a detailed one abt construction.
>
> A PRF based on one decent hash will be stronger.
> Better than PRF based on two (especially including one that's broken).
>
> >> Is it required that the PRF use label and seed only in the form
> >> of their concatenation label + seed?
> >
> >No, I don't think so
>
> It wouldn't be a good idea to force PRF into such use pattern.
>
> _______________________________________________
> TLS mailing list
> TLS@lists.ietf.org
> https://www1.ietf.org/mailman/listinfo/tls
>


-- 

-Kyle H

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



From tls-bounces@lists.ietf.org Wed Sep 27 03:34:57 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSTvC-0006kw-AO; Wed, 27 Sep 2006 03:33:34 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSTvA-0006ee-81
	for tls@ietf.org; Wed, 27 Sep 2006 03:33:32 -0400
Received: from mailhost.auckland.ac.nz ([130.216.190.13]
	helo=harpo.itss.auckland.ac.nz)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSTv8-0000kt-Jz
	for tls@ietf.org; Wed, 27 Sep 2006 03:33:32 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by harpo.itss.auckland.ac.nz (Postfix) with ESMTP id 2AF1F3500E;
	Wed, 27 Sep 2006 19:33:28 +1200 (NZST)
Received: from harpo.itss.auckland.ac.nz ([127.0.0.1])
	by localhost (smtpc.itss.auckland.ac.nz [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id 15024-20; Wed, 27 Sep 2006 19:33:28 +1200 (NZST)
Received: from iris.cs.auckland.ac.nz (iris.cs.auckland.ac.nz [130.216.33.152])
	by harpo.itss.auckland.ac.nz (Postfix) with ESMTP id 7E9D634B81;
	Wed, 27 Sep 2006 19:33:27 +1200 (NZST)
Received: from medusa01.cs.auckland.ac.nz (medusa01.cs.auckland.ac.nz
	[130.216.34.33]) by iris.cs.auckland.ac.nz (Postfix) with ESMTP
	id 745C7377F4; Wed, 27 Sep 2006 19:33:27 +1200 (NZST)
Received: from pgut001 by medusa01.cs.auckland.ac.nz with local (Exim 3.36 #1
	(Debian)) id 1GSTvB-0003Uh-00; Wed, 27 Sep 2006 19:33:33 +1200
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: aerowolf@gmail.com, uri.blumenthal@intel.com
Subject: Re: [TLS] PRF in TLS 1.2
In-Reply-To: <6b9359640609262135q2e60d85dxafedfbfdea4d7232@mail.gmail.com>
Message-Id: <E1GSTvB-0003Uh-00@medusa01.cs.auckland.ac.nz>
Date: Wed, 27 Sep 2006 19:33:33 +1200
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
X-Spam-Score: 0.5 (/)
X-Scan-Signature: 39bd8f8cbb76cae18b7e23f7cf6b2b9f
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

"Kyle Hamilton" <aerowolf@gmail.com> writes:

>My thought is that even if one of the hash algorithms is badly broken,
>the fact that more than one hash is being used means that a 'hedge'
>exists against that possibility.
>
>MD5 may be able to be broken.  SHA1 may be able to be broken.
>However, their outputs both rely on the original input for their
>value, such that 1 bit of entropy in the input leads basically to 1
>bit of entropy in the output.
>
>As well, I haven't heard of anyone being able to create a bitstring
>that will go through both hashes to form an identical bit pattern from
>both of them.  So, even if MD5 is broken (such that a valid message
>can be created for message injection/session hijack), the fact that
>another cipher suite is also in use arguably provides at least as much
>security as using that cipher suite alone, and hypothetically more.
>(I cannot attest to theory.)  Especially if the outputs are XORed
>together -- if SHA1 cannot be predicted but MD5 can, there's still the
>entire output space of 160 bits to go through.  If SHA1 can be
>predicted but MD5 cannot, then there's still 128 bits of output space
>to go through.  (Believing that (SHA1 & MD5) has the same amount of
>entropy as (sizeof(SHA1) + sizeof(MD5)) is a fallacy; it has the
>amount of entropy that the largest unpredictable one gives.)

I agree with everything in the above text.  This is a completely
unnecessary change, it gratuitously breaks compatibility with the
existing PRF, it provides no extra security (that anyone knows of), and
by eliminating the current belt-and-suspenders design, it may even reduce
the overall security.  If new research appears showing that (a) there's
a problem in the current design and (b) a new, demonstrably more secure
design, then let's switch.  But changing the design simply because we
haven't changed anything else for awhile and we need to meet some 
quota for new text in the next draft (or whatever's motivating the
current change) is not only pointless, it's counterproductive.

Peter.

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



From tls-bounces@lists.ietf.org Wed Sep 27 08:39:52 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSYfV-0000im-5C; Wed, 27 Sep 2006 08:37:41 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSYfU-0000ih-10
	for tls@ietf.org; Wed, 27 Sep 2006 08:37:40 -0400
Received: from smtp-out4.blueyonder.co.uk ([195.188.213.7])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSYfS-00068x-K3
	for tls@ietf.org; Wed, 27 Sep 2006 08:37:40 -0400
Received: from [172.23.170.144] (helo=anti-virus03-07)
	by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52)
	id 1GSYfP-0003LS-Ra for tls@ietf.org; Wed, 27 Sep 2006 13:37:35 +0100
Received: from 82-42-16-20.cable.ubr01.knor.blueyonder.co.uk ([82.42.16.20]
	helo=[127.0.0.1])
	by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52)
	id 1GSY4O-00085d-7W for tls@ietf.org; Wed, 27 Sep 2006 12:59:20 +0100
Message-ID: <451A678D.7000505@blueyonder.co.uk>
Date: Wed, 27 Sep 2006 12:59:09 +0100
From: David Hopwood <david.nospam.hopwood@blueyonder.co.uk>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] PRF in TLS 1.2
References: <E1GSTvB-0003Uh-00@medusa01.cs.auckland.ac.nz>
In-Reply-To: <E1GSTvB-0003Uh-00@medusa01.cs.auckland.ac.nz>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0a7aa2e6e558383d84476dc338324fab
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: david.nospam.hopwood@blueyonder.co.uk
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Peter Gutmann wrote:
> "Kyle Hamilton" <aerowolf@gmail.com> writes:
> 
>>My thought is that even if one of the hash algorithms is badly broken,
>>the fact that more than one hash is being used means that a 'hedge'
>>exists against that possibility.
>>
>>MD5 may be able to be broken.  SHA1 may be able to be broken.
>>However, their outputs both rely on the original input

(half the original input, but that's enough.)

>>for their
>>value, such that 1 bit of entropy in the input leads basically to 1
>>bit of entropy in the output.
>>
>>As well, I haven't heard of anyone being able to create a bitstring
>>that will go through both hashes to form an identical bit pattern from
>>both of them.  So, even if MD5 is broken (such that a valid message
>>can be created for message injection/session hijack), the fact that
>>another cipher suite is also in use arguably provides at least as much
>>security as using that cipher suite alone, and hypothetically more.
>>(I cannot attest to theory.)  Especially if the outputs are XORed
>>together -- if SHA1 cannot be predicted but MD5 can, there's still the
>>entire output space of 160 bits to go through.  If SHA1 can be
>>predicted but MD5 cannot, then there's still 128 bits of output space
>>to go through.  (Believing that (SHA1 & MD5) has the same amount of
>>entropy as (sizeof(SHA1) + sizeof(MD5)) is a fallacy; it has the
>>amount of entropy that the largest unpredictable one gives.)
> 
> I agree with everything in the above text.  This is a completely
> unnecessary change, it gratuitously breaks compatibility with the
> existing PRF, it provides no extra security (that anyone knows of), and
> by eliminating the current belt-and-suspenders design, it may even reduce
> the overall security.

I also agree. Note that for the foreseeable future, because implementations
would support versions with both new and old PRFs, the attacker has a choice
which one to try and break. So even if, for the sake of argument, there were
a security problem with the old PRF, changing it still would not increase
security; it can only potentially decrease it.

(Note that if you can break the PRF, you can also break any protection
against version rollback -- not that that protection was particularly robust
to start with.)

> If new research appears showing that (a) there's
> a problem in the current design and (b) a new, demonstrably more secure
> design, then let's switch.  But changing the design simply because we
> haven't changed anything else for awhile and we need to meet some 
> quota for new text in the next draft (or whatever's motivating the
> current change) is not only pointless, it's counterproductive.

Hear, hear.

-- 
David Hopwood <david.nospam.hopwood@blueyonder.co.uk>



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



From tls-bounces@lists.ietf.org Wed Sep 27 08:51:08 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSYro-00073Z-Du; Wed, 27 Sep 2006 08:50:24 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSYrn-00073R-8Z
	for tls@ietf.org; Wed, 27 Sep 2006 08:50:23 -0400
Received: from mga03.intel.com ([143.182.124.21])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSYrl-0000c3-PL
	for tls@ietf.org; Wed, 27 Sep 2006 08:50:23 -0400
Received: from azsmga001.ch.intel.com ([10.2.17.19])
	by mga03.intel.com with ESMTP; 27 Sep 2006 05:50:18 -0700
Received: from fmsmsx332.fm.intel.com (HELO fmsmsx332.amr.corp.intel.com)
	([132.233.42.148])
	by azsmga001.ch.intel.com with ESMTP; 27 Sep 2006 05:50:18 -0700
X-ExtLoop1: 1
X-IronPort-AV: i="4.09,224,1157353200"; 
	d="scan'208"; a="123681145:sNHT19434436"
Received: from fmsmsx312.amr.corp.intel.com ([132.233.42.227]) by
	fmsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 27 Sep 2006 05:50:17 -0700
Received: from hdsmsx412.amr.corp.intel.com ([10.127.2.72]) by
	fmsmsx312.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 27 Sep 2006 05:50:17 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] PRF in TLS 1.2
Date: Wed, 27 Sep 2006 08:49:56 -0400
Message-ID: <279DDDAFA85EC74C9300A0598E704056B445A0@hdsmsx412.amr.corp.intel.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] PRF in TLS 1.2
thread-index: Acbh7k9SnpAABw1zQaCGNX5lMJLcKAAQw87A
From: "Blumenthal, Uri" <uri.blumenthal@intel.com>
To: "Kyle Hamilton" <aerowolf@gmail.com>
X-OriginalArrivalTime: 27 Sep 2006 12:50:17.0472 (UTC)
	FILETIME=[7BCA9000:01C6E233]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a2c12dacc0736f14d6b540e805505a86
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>My thought is that even if one of the hash algorithms is badly broken,
>the fact that more than one hash is being used means that a 'hedge'
>exists against that possibility.

That was the original thought and the reason PRF is what it is now.

>MD5 may be able to be broken.  SHA1 may be able to be broken.

Yes.

>However, their outputs both rely on the original input for their
>value, such that 1 bit of entropy in the input leads basically to 1
>bit of entropy in the output.

Oh no! This is a huge and unproven conjecture, which most likely is
false!  "Engineers" began using hash fnctions pretending their output
was pseudorandom. One notable cryptographic school (Soviet) never
participated in that madness: their hash is based on a real block
cipher.

>So, even if MD5 is broken (such that a valid message
>can be created for message injection/session hijack), the fact that
>another cipher suite is also in use arguably provides at least as much
>security as using that cipher suite alone, and hypothetically more.

Your logic would work only if those were CIPHERS employed in sequence
(super-encryption), so strippng off the weaker layer still leaves one to
contend with the stronger one. AND - this is a big and - if the two
ciphers' keying is TOTALLY independent.

If they're keyed from the same source - then stripping off the weak
layer may tell me something about the key patterns of the strong layer,
thus simplifying my job of breaking the strong layer too (which would
not be achievable without the clues furnished by the weak layer).


>(I cannot attest to theory.) =20

See above.


>Especially if the outputs are XORed
>together -- if SHA1 cannot be predicted but MD5 can, there's still the
>entire output space of 160 bits to go through.  If SHA1 can be
>predicted but MD5 cannot, then there's still 128 bits of output space
>to go through.  (Believing that (SHA1 & MD5) has the same amount of
>entropy as (sizeof(SHA1) + sizeof(MD5)) is a fallacy; it has the
>amount of entropy that the largest unpredictable one gives.)

But they are not keyed independently!

Information revealed by the hash could be used to reduce the search
field for the other. Especially if both hash functions have exposed some
chinks in their armour. Maybe yes maybe no - but is it worth taking the
risk?

On 9/26/06, Blumenthal, Uri <uri.blumenthal@intel.com> wrote:
> >> "If it ain't broke, don't fix it"?
> >
> >I would phrase it as "make the most minimal change possible"
>
> :-)
>
> >> Will using SHA-1 only result in a weaker PRF than the TLS 1.1 PRF,
> >> which uses both MD5 and SHA-1?
> >
> >This would be a good question to direct at Dan Simon or Hugo
Krawczyk.
> >My intuition is that because the secret is split between the two
> >hashes in the current PRF, this PRF would be arguably stronger
> >than the current PRF if MD5 is badly compromised. In any case,
> >this is a general question of whether we want two hashes
> >rather than a detailed one abt construction.
>
> A PRF based on one decent hash will be stronger.
> Better than PRF based on two (especially including one that's broken).
>
> >> Is it required that the PRF use label and seed only in the form
> >> of their concatenation label + seed?
> >
> >No, I don't think so
>
> It wouldn't be a good idea to force PRF into such use pattern.
>
> _______________________________________________
> TLS mailing list
> TLS@lists.ietf.org
> https://www1.ietf.org/mailman/listinfo/tls
>


--=20

-Kyle H

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



From tls-bounces@lists.ietf.org Wed Sep 27 10:04:01 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSZzt-0004VI-Cy; Wed, 27 Sep 2006 10:02:49 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSZzs-0004VC-Ta
	for tls@ietf.org; Wed, 27 Sep 2006 10:02:48 -0400
Received: from mx1.redhat.com ([66.187.233.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSZzr-0004jv-LM
	for tls@ietf.org; Wed, 27 Sep 2006 10:02:48 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id
	k8RE2jMX029577 for <tls@ietf.org>; Wed, 27 Sep 2006 10:02:45 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id
	k8RE2i5X004833 for <tls@ietf.org>; Wed, 27 Sep 2006 10:02:44 -0400
Received: from [127.0.0.1] (vpn-51-24.sfbay.redhat.com [10.14.51.24] (may be
	forged))
	by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k8RE2bvA007808
	for <tls@ietf.org>; Wed, 27 Sep 2006 10:02:43 -0400
Message-ID: <451A8480.7020008@redhat.com>
Date: Wed, 27 Sep 2006 07:02:40 -0700
From: Wan-Teh Chang <wtchang@redhat.com>
User-Agent: Thunderbird 2.0b1pre (Windows/20060923)
MIME-Version: 1.0
To: tls@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2409bba43e9c8d580670fda8b695204a
Cc: 
Subject: [TLS] Buffering handshake messages for verify_data in the TLS 1.2
	I-D
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I have a question about verify_data in the current TLS 1.2 I-D
(draft-ietf-tls-rfc4346-bis-01.txt).

        struct {
            opaque verify_data[12];
        } Finished;

        verify_data
            PRF(master_secret, finished_label, MD5(handshake_messages) +
            SHA-1(handshake_messages)) [0..11];

I understand that verify_data is incorrectly specified -- we're
going to feed in the handshake messages directly.  But this
forces a TLS implementation to save the handshake messages until
the master secret has been computed.  In TLS 1.0/1.1, we can feed
in the handshake messages to MD5 and SHA-1 immediately and only
need to keep the "contexts" for the running MD5 and SHA-1 hash
operations around.  I didn't compared the memory usage of the two
schemes, but it's more programming work to buffer the handshake
messages until the master secret is available.

(In the NSS crypto library, the MD5 operation context is 88 bytes
and SHA-1 operation context is 160 or 248 bytes.)

Wan-Teh



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



From tls-bounces@lists.ietf.org Wed Sep 27 10:31:26 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSaQv-0002u9-JL; Wed, 27 Sep 2006 10:30:45 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSaQt-0002tn-QH
	for tls@ietf.org; Wed, 27 Sep 2006 10:30:43 -0400
Received: from mx1.redhat.com ([66.187.233.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSaQs-0000pi-Hl
	for tls@ietf.org; Wed, 27 Sep 2006 10:30:43 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id
	k8REUeYC009593 for <tls@ietf.org>; Wed, 27 Sep 2006 10:30:40 -0400
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id
	k8REUdvu015586 for <tls@ietf.org>; Wed, 27 Sep 2006 10:30:39 -0400
Received: from [127.0.0.1] (vpn-51-24.sfbay.redhat.com [10.14.51.24] (may be
	forged))
	by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k8REUavA009533
	for <tls@ietf.org>; Wed, 27 Sep 2006 10:30:38 -0400
Message-ID: <451A8B0F.2010303@redhat.com>
Date: Wed, 27 Sep 2006 07:30:39 -0700
From: Wan-Teh Chang <wtchang@redhat.com>
User-Agent: Thunderbird 2.0b1pre (Windows/20060923)
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] PRF in TLS 1.2
References: <450F222D.2020706@redhat.com>
	<86k6403hqq.fsf@raman.networkresonance.com>
In-Reply-To: <86k6403hqq.fsf@raman.networkresonance.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9466e0365fc95844abaf7c3f15a05c7d
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:
>
> The new PRFs that people seem interested in are:
> 
> 1. The GOST PRF (draft-chudov-cryptopro-cptls-03.txt)

The GOST PRF, PRF_GOSTR3411, is defined in RFC 4357 as

   PRF_GOSTR3411(secret,label,seed) = P_GOSTR3411 (secret,label|seed)

   where '|' stands for concatenation.

It is actually an instance of the default TLS 1.2 PRF,
with <hash> = the GOST R 34.11-94 hash function.  This
isn't a coincidence, is it?

> 2. The FIPS 800-56A KDF.

Appendix A, Item 8 of NIST SP 800-56A says this KDF
comes from ANS X9.42 and X9.63, but NIST made some minor
(and perhaps subtle) changes (e.g., the order of the counter
and secret is reversed).  I don't know if this KDF is
used in any other standard or protocol.

Perhaps we should ask NIST if P_SHA-1, P_SHA-256, and
P_SHA-384 are allowed in TLS in FIPS mode.

Wan-Teh


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



From tls-bounces@lists.ietf.org Wed Sep 27 11:44:31 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSbZE-0001dl-HO; Wed, 27 Sep 2006 11:43:24 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSbZC-0001bp-QQ
	for tls@ietf.org; Wed, 27 Sep 2006 11:43:22 -0400
Received: from mga03.intel.com ([143.182.124.21])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSbZA-0003nh-K5
	for tls@ietf.org; Wed, 27 Sep 2006 11:43:22 -0400
Received: from azsmga001.ch.intel.com ([10.2.17.19])
	by mga03.intel.com with ESMTP; 27 Sep 2006 08:43:17 -0700
Received: from fmsmsx334.amr.corp.intel.com ([132.233.42.1])
	by azsmga001.ch.intel.com with ESMTP; 27 Sep 2006 08:43:09 -0700
X-ExtLoop1: 1
X-IronPort-AV: i="4.09,225,1157353200"; 
	d="txt'?scan'208"; a="123756483:sNHT3130933148"
Received: from fmsmsx312.amr.corp.intel.com ([132.233.42.227]) by
	fmsmsx334.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 27 Sep 2006 08:42:57 -0700
Received: from hdsmsx412.amr.corp.intel.com ([10.127.2.72]) by
	fmsmsx312.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 27 Sep 2006 08:42:56 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C6E24B.999F3796"
Date: Wed, 27 Sep 2006 11:42:35 -0400
Message-ID: <279DDDAFA85EC74C9300A0598E704056B4477E@hdsmsx412.amr.corp.intel.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: [IANA #12633] General Request for Assignments (TLS parameters) 
thread-index: Acbbd/Ef4tFzGK2rTqKHNceVMUu02AAEI9wwAAtpHpABf5gywAANVMswABfeWuA=
From: "Blumenthal, Uri" <uri.blumenthal@intel.com>
To: <Pasi.Eronen@nokia.com>
X-OriginalArrivalTime: 27 Sep 2006 15:42:56.0666 (UTC)
	FILETIME=[9A5A1FA0:01C6E24B]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9c7d7a899dc8f3389bf7ace6f0ad8e29
Cc: tls@ietf.org
Subject: [TLS] RE: [IANA #12633] General Request for Assignments (TLS
	parameters) 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6E24B.999F3796
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Pasi,

Here's the updated version of the draft. I've addressed those few
comments that were mentioned on the list.

Regarding Informational vs. PS status - I strongly believe that since
we're adding suites that are not vendor-specific, it should be on the
standards track - because of its generic applicability (whenever for
whatever reason one cannot use encryption).

Thanks,
Uri

-----Original Message-----
From: Pasi.Eronen@nokia.com [mailto:Pasi.Eronen@nokia.com]=20
Sent: Wednesday, September 27, 2006 12:04 AM
To: Blumenthal, Uri; ekr@networkresonance.com
Subject: RE: [IANA #12633] General Request for Assignments (TLS
parameters)=20

Uri,

The mail can be found from the archive:
http://www1.ietf.org/mail-archive/web/tls/current/msg00754.html

Best regards,
Pasi=20

> -----Original Message-----
> From: ext Blumenthal, Uri [mailto:uri.blumenthal@intel.com]=20
> Sent: 27 September, 2006 00:43
> To: Eronen Pasi (Nokia-NRC/Helsinki); ekr@networkresonance.com
> Subject: RE: [IANA #12633] General Request for Assignments=20
> (TLS parameters)=20
>=20
> Gentlemen,
>=20
> The Last Call is over, correct?    :-)
>=20
> Pasi, you sent me a few nits - but I cannot find that email. :-(
> Could you please re-send them to me, so I can apply the edits?
>=20
> Thank you!
>=20
> Regards,
> Uri=20
>=20
> -----Original Message-----
> From: Pasi.Eronen@nokia.com [mailto:Pasi.Eronen@nokia.com]=20
> Sent: Tuesday, September 19, 2006 5:59 AM
> To: Blumenthal, Uri; ekr@networkresonance.com
> Cc: jari.arkko@piuha.net
> Subject: RE: [IANA #12633] General Request for Assignments (TLS
> parameters)=20
>=20
> Uri,
>=20
> The document is advancing, but there're still several steps=20
> to go until it's approved:
>=20
> - Working Group last call ends (on Friday).
> - Authors prepare new I-D version to handle WGLC comments, and
>   discuss with WG chairs that it really reflects WG consensus.
> - Document shepherd (one of the WG chairs) prepares a "document=20
>   write-up" and sends it do AD (probably Russ Housley; I don't=20
>   know why IANA thought it's Jari).
> - AD reads the document and provides comments.
> - (Optionally) AD asks authors to prepare a new I-D version to=20
>   handle the comments (alternatively, the comments can be=20
>   considered at the same time as IETF last call comments).
> - AD starts IETF last call, lasting two weeks. During this time,=20
>   the document gets reviewed by SecDir, GEN-ART, and others.
> - Depending on the comments, AD may ask the authors to prepare
>   a new I-D version to handle them.
> - Document goes to IESG evaluation, which usually takes about
>   two weeks.
> - Depending on the comments, AD may ask the authors to prepare
>   yet another new I-D version.
> - IESG declares the document approved.
>=20
> Only at this point the document has some official status (until
> this, it's just a random "work in progress"), and it gets sent=20
> to IANA who assign the numbers.=20
>=20
> (And yes, this does take some time. TLS-PSK took 2.5 years from
> first individual internet-draft to RFC.)
>=20
> Best regards,
> Pasi
>=20
> > -----Original Message-----
> > From: ext Blumenthal, Uri [mailto:uri.blumenthal@intel.com]=20
> > Sent: 19 September, 2006 04:15
> > To: Eronen Pasi (Nokia-NRC/Helsinki); Eric Rescorla
> > Cc: Jari Arkko
> > Subject: FW: [IANA #12633] General Request for Assignments=20
> > (TLS parameters)=20
> >=20
> > =20
> > Folks,
> >=20
> > Could you please tell me whether the draft is in the Last=20
> Call yet? I
> > thought that after presenting the protocol suite(s) it was=20
> > agreed by the
> > WG, WG chairpeople and the audience that this document will=20
> advance on
> > the standards track (and there were comments like "we=20
> > should've done it
> > the first time")...
> >=20
> > Yours in confusion,
> > Uri
> >=20
> > -----Original Message-----
> > From: Michelle Cotton via RT [mailto:iana-prot-param@icann.org]=20
> > Sent: Monday, September 18, 2006 7:13 PM
> > To: Blumenthal, Uri
> > Subject: [IANA #12633] General Request for Assignments (TLS=20
> > parameters)=20
> >=20
> > Dear Uri,
> >=20
> > This registration procedures for the parameters you
> > are requesting is Standards Action. Please see:
> > http://www.iana.org/assignments/tls-parameters as well as RFC4346
> >=20
> > We see that you mention an Internet-Draft. After your
> > I-D is approved for publication as an RFC, the IANA will
> > register the parameter you are requesting.
> >=20
> > Copied on this message is Jari Arkko who is the Shepherding=20
> > AD for this=20
> > document according to the tracker should you have questions=20
> about the
> > status=20
> > of this draft.
> >=20
> > We are administratively closing this request without
> > prejudice at this time. =20
> >=20
> > Please let us know if you have any questions.  If you=20
> respond to this
> > ticket=20
> > it will re-open.
> >=20
> > Thank you,
> >=20
> >=20
> > Michelle Cotton
> > Internet Assigned Numbers Authority (IANA)
> >=20
> > On Thu Aug 03 09:21:57 2006, uri.blumenthal@intel.com wrote:
> > > Contact Name :
> > > Uri Blumenthal
> > >=20
> > > Contact Email :
> > > uri.blumenthal@intel.com
> > >=20
> > > Type of Assignment :
> > > Assign numbers for new cipher suites approved by TLS=20
> Working Group.
> > >=20
> > > Registry :
> > > TLS Cipher Suite Registry (RFC 4346)
> > >=20
> > > Description :
> > > New draft approved by TLS WG defines new cipher suites.=20
> They need to
> > > be registered.
> > >=20
> > > People are breathing down my neck, so if I could ask you to=20
> > accelerate
> > > this one please? Thank you!
> > >=20
> > > Additional Info :
> > > draft-ietf-tls-psk-null-00.txt
> > >=20
> > > We propose to allocate from 0x00,0x5D-5F
> > >=20
> >=20
>=20

------_=_NextPart_001_01C6E24B.999F3796
Content-Type: text/plain;
	name="draft-ietf-tls-psk-null-01.txt"
Content-Transfer-Encoding: base64
Content-Description: draft-ietf-tls-psk-null-01.txt
Content-Disposition: attachment;
	filename="draft-ietf-tls-psk-null-01.txt"

VExTIFdvcmtpbmcgR3JvdXAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IFUuIEJsdW1lbnRoYWwgCkludGVybmV0IERyYWZ0ICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICBQLiBHb2VsIApFeHBpcmVzOiBNYXJjaCAyMDA3ICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBJbnRlbCBDb3Jwb3JhdGlvbiAKICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBTZXB0ZW1iZXIgMjcs
IDIwMDYgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogCiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICBQcmUtU2hhcmVkIEtleSBDaXBo
ZXIgU3VpdGVzIHdpdGggTlVMTCBFbmNyeXB0aW9uIGZvciAKICAgICAgICAgICAgICAgICAgICAg
IFRyYW5zcG9ydCBMYXllciBTZWN1cml0eSAoVExTKSAKCgogICAgICAgICAgICAgICAgICAgICAg
ZHJhZnQtaWV0Zi10bHMtcHNrLW51bGwtMDEudHh0IAoKClN0YXR1cyBvZiB0aGlzIE1lbW8gCgog
ICBCeSBzdWJtaXR0aW5nIHRoaXMgSW50ZXJuZXQtRHJhZnQsIGVhY2ggYXV0aG9yIHJlcHJlc2Vu
dHMgdGhhdCAgICAgICAKICAgYW55IGFwcGxpY2FibGUgcGF0ZW50IG9yIG90aGVyIElQUiBjbGFp
bXMgb2Ygd2hpY2ggaGUgb3Igc2hlIGlzICAgICAgIAogICBhd2FyZSBoYXZlIGJlZW4gb3Igd2ls
bCBiZSBkaXNjbG9zZWQsIGFuZCBhbnkgb2Ygd2hpY2ggaGUgb3Igc2hlICAgICAgIAogICBiZWNv
bWVzIGF3YXJlIHdpbGwgYmUgZGlzY2xvc2VkLCBpbiBhY2NvcmRhbmNlIHdpdGggU2VjdGlvbiA2
IG9mICAgICAgIAogICBCQ1AgNzkuIAoKICAgSW50ZXJuZXQtRHJhZnRzIGFyZSB3b3JraW5nIGRv
Y3VtZW50cyBvZiB0aGUgSW50ZXJuZXQgRW5naW5lZXJpbmcgCiAgIFRhc2sgRm9yY2UgKElFVEYp
LCBpdHMgYXJlYXMsIGFuZCBpdHMgd29ya2luZyBncm91cHMuICBOb3RlIHRoYXQgCiAgIG90aGVy
IGdyb3VwcyBtYXkgYWxzbyBkaXN0cmlidXRlIHdvcmtpbmcgZG9jdW1lbnRzIGFzIEludGVybmV0
LQogICBEcmFmdHMuIAoKICAgSW50ZXJuZXQtRHJhZnRzIGFyZSBkcmFmdCBkb2N1bWVudHMgdmFs
aWQgZm9yIGEgbWF4aW11bSBvZiBzaXggbW9udGhzIAogICBhbmQgbWF5IGJlIHVwZGF0ZWQsIHJl
cGxhY2VkLCBvciBvYnNvbGV0ZWQgYnkgb3RoZXIgZG9jdW1lbnRzIGF0IGFueSAKICAgdGltZS4g
IEl0IGlzIGluYXBwcm9wcmlhdGUgdG8gdXNlIEludGVybmV0LURyYWZ0cyBhcyByZWZlcmVuY2Ug
CiAgIG1hdGVyaWFsIG9yIHRvIGNpdGUgdGhlbSBvdGhlciB0aGFuIGFzICJ3b3JrIGluIHByb2dy
ZXNzLiIgCgogICBUaGUgbGlzdCBvZiBjdXJyZW50IEludGVybmV0LURyYWZ0cyBjYW4gYmUgYWNj
ZXNzZWQgYXQgCiAgICAgICAgaHR0cDovL3d3dy5pZXRmLm9yZy9pZXRmLzFpZC1hYnN0cmFjdHMu
dHh0IAoKICAgVGhlIGxpc3Qgb2YgSW50ZXJuZXQtRHJhZnQgU2hhZG93IERpcmVjdG9yaWVzIGNh
biBiZSBhY2Nlc3NlZCBhdCAKICAgICAgICBodHRwOi8vd3d3LmlldGYub3JnL3NoYWRvdy5odG1s
IAoKICAgVGhpcyBJbnRlcm5ldC1EcmFmdCB3aWxsIGV4cGlyZSBvbiBKYW51YXJ5IDI3LCAyMDA3
LiAKCkFic3RyYWN0IAoKICAgVGhpcyBkb2N1bWVudCBzcGVjaWZpZXMgYXV0aGVudGljYXRpb24t
b25seSBjaXBoZXIgc3VpdGVzIGZvciB0aGUgCiAgIFByZS1TaGFyZWQgS2V5IGJhc2VkIFRyYW5z
cG9ydCBMYXllciBTZWN1cml0eSAoVExTKSBwcm90b2NvbCB0byAKICAgc3VwcG9ydCBudWxsIGVu
Y3J5cHRpb24uIFRoZXNlIGNpcGhlciBzdWl0ZXMgYXJlIHVzZWZ1bCBmb3IgY291bnRyaWVzIAog
ICBhbmQgcGxhY2VzIHdpdGggY3J5cHRvZ3JhcGh5LXJlbGF0ZWQgcmVzdHJpY3Rpb25zLiAgCgoK
IAogCiAKQmx1bWVudGhhbCAmIEdvZWwgICAgICAgRXhwaXJlcyBNYXJjaCAyNywgMjAwNyAgICAg
ICAgICAgICAgICAgW1BhZ2UgMV0gCgwKSW50ZXJuZXQtRHJhZnQgICBQU0sgTlVMTC1lbmNyeXB0
aW9uIENpcGhlciBTdWl0ZXMgZm9yIFRMUyAgICBTZXB0ZW1iZXIgCjIwMDYgCiAgICAKCkNvbnZl
bnRpb25zIHVzZWQgaW4gdGhpcyBkb2N1bWVudCAKCiAgIFRoZSBrZXkgd29yZHMgIk1VU1QiLCAi
TVVTVCBOT1QiLCAiUkVRVUlSRUQiLCAiU0hBTEwiLCAiU0hBTEwgTk9UIiwgCiAgICJTSE9VTEQi
LCAiU0hPVUxEIE5PVCIsICJSRUNPTU1FTkRFRCIsICJNQVkiLCBhbmQgIk9QVElPTkFMIiBpbiB0
aGlzIAogICBkb2N1bWVudCBhcmUgdG8gYmUgaW50ZXJwcmV0ZWQgYXMgZGVzY3JpYmVkIGluIFtS
RkMyMTE5XS4gCgpUYWJsZSBvZiBDb250ZW50cyAKCiAgICAKICAgMS4gSW50cm9kdWN0aW9uLi4u
Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uMiAKICAgMi4g
Q2lwaGVyIFVzYWdlLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4u
Li4uLi4uMiAKICAgMy4gU2VjdXJpdHkgQ29uc2lkZXJhdGlvbnMuLi4uLi4uLi4uLi4uLi4uLi4u
Li4uLi4uLi4uLi4uLi4uLi4uLi4uMyAKICAgNC4gSUFOQSBDb25zaWRlcmF0aW9ucy4uLi4uLi4u
Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uMyAKICAgNS4gQWNrbm93bGVkZ21l
bnRzLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uMyAKICAg
Ni4gUmVmZXJlbmNlcy4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4u
Li4uLi4uLi4uNCAKICAgICAgNi4xLiBOb3JtYXRpdmUgUmVmZXJlbmNlcy4uLi4uLi4uLi4uLi4u
Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uNCAKICAgQXV0aG9yJ3MgQWRkcmVzc2VzLi4uLi4uLi4u
Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uNCAKICAgSW50ZWxsZWN0dWFs
IFByb3BlcnR5IFN0YXRlbWVudC4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uNCAK
ICAgRGlzY2xhaW1lciBvZiBWYWxpZGl0eS4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4u
Li4uLi4uLi4uLi4uNSAKICAgQ29weXJpZ2h0IFN0YXRlbWVudC4uLi4uLi4uLi4uLi4uLi4uLi4u
Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uNSAKICAgQWNrbm93bGVkZ21lbnQuLi4uLi4uLi4u
Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uNSAKICAgIAoxLiBJbnRy
b2R1Y3Rpb24gCgogICBUaGUgUkZDIGZvciBQcmUtU2hhcmVkIEtleSBiYXNlZCBUTFMgW1RMUy1Q
U0tdIHNwZWNpZmllcyBjaXBoZXIgCiAgIHN1aXRlcyBmb3Igc3VwcG9ydGluZyBUTFMgdXNpbmcg
cHJlLXNoYXJlZCBzeW1tZXRyaWMga2V5cy4gSG93ZXZlciAKICAgYWxsIHRoZSBjaXBoZXIgc3Vp
dGVzIGRlZmluZWQgaW4gW1RMUy1QU0tdIHJlcXVpcmUgZW5jcnlwdGlvbi4gVGhlcmUgCiAgIGlz
IGEgbmVlZCBmb3IgY2lwaGVyIHN1aXRlcyB0aGF0IHN1cHBvcnQgbm8gZW5jcnlwdGlvbi4gVGhp
cyBpcyAKICAgcmVxdWlyZWQgZm9yIGltcGxlbWVudGF0aW9ucyB0byBtZWV0IGltcG9ydCByZXN0
cmljdGlvbnMgaW4gc29tZSAKICAgY291bnRyaWVzLiBFdmVuIHRob3VnaCBubyBlbmNyeXB0aW9u
IGlzIHVzZWQsIHRoZXNlIGNpcGhlciBzdWl0ZXMgCiAgIHN1cHBvcnQgYXV0aGVudGljYXRpb24g
b2YgdGhlIGNsaWVudCBhbmQgc2VydmVyIHRvIGVhY2ggb3RoZXIsIGFuZCAKICAgbWVzc2FnZSBp
bnRlZ3JpdHkuIFRoaXMgZG9jdW1lbnQgYXVnbWVudHMgW1RMUy1QU0tdIGJ5IGFkZGluZyB0aHJl
ZSAKICAgbW9yZSBjaXBoZXIgc3VpdGVzIChQU0ssIERIRSwgUlNBKSB3aXRoIGF1dGhlbnRpY2F0
aW9uIGFuZCBpbnRlZ3JpdHkgCiAgIG9ubHkgLSBubyBlbmNyeXB0aW9uLiAKCiAgICAKCjIuIENp
cGhlciBVc2FnZSAKCiAgIFRoZSBuZXcgY2lwaGVyIHN1aXRlcyBwcm9wb3NlZCBoZXJlIGlzIHZl
cnkgc2ltaWxhciB0byBjaXBoZXIgc3VpdGVzIAogICBkZWZpbmVkIGluIFtUTFMtUFNLXSwgZXhj
ZXB0IHRoYXQgdGhleSBkZWZpbmUgbnVsbCBlbmNyeXB0aW9uLiAKCiAgIFRoZSBjaXBoZXIgc3Vp
dGVzIGRlZmluZWQgaGVyZSB1c2UgdGhlIGZvbGxvd2luZyBvcHRpb25zIGZvciBrZXkgCiAgIGV4
Y2hhbmdlIGFuZCBoYXNoIHBhcnQgb2YgdGhlIHByb3RvY29sOiAKCiAKIApCbHVtZW50aGFsICYg
R29lbCAgICAgICBFeHBpcmVzIE1hcmNoIDI3LCAyMDA3ICAgICAgICAgICAgICAgICBbUGFnZSAy
XSAKDApJbnRlcm5ldC1EcmFmdCAgIFBTSyBOVUxMLWVuY3J5cHRpb24gQ2lwaGVyIFN1aXRlcyBm
b3IgVExTICAgIFNlcHRlbWJlciAKMjAwNiAKICAgIAoKICAgIAoKICAgQ2lwaGVyU3VpdGUgICAg
ICAgICAgICAgICAgICAgICBLZXkgRXhjaGFuZ2UgICBDaXBoZXIgICAgICBIYXNoIAoKICAgVExT
X1BTS19XSVRIX05VTExfU0hBICAgICAgICAgICBQU0sgICAgICAgICAgICBOVUxMICAgICAgICBT
SEEgCiAgIFRMU19ESEVfUFNLX1dJVEhfTlVMTF9TSEEgICAgICAgREhFX1BTSyAgICAgICAgTlVM
TCAgICAgICAgU0hBIAogICBUTFNfUlNBX1BTS19XSVRIX05VTExfU0hBICAgICAgIFJTQV9QU0sg
ICAgICAgIE5VTEwgICAgICAgIFNIQSAKICAgIAogICBGb3IgdGhlIG1lYW5pbmcgb2YgdGhlIHRl
cm1zIFBTSyBwbGVhc2UgcmVmZXIgdG8gc2VjdGlvbiAxIGluIFtUTFMtCiAgIFBTS10uIEZvciB0
aGUgbWVhbmluZyBvZiB0aGUgdGVybXMgREhFIGFuZCBSU0EgcGxlYXNlIHJlZmVyIHRvIAogICBz
ZWN0aW9uIDcuNC4yIGluIFtUTFNdLiAKCjMuIFNlY3VyaXR5IENvbnNpZGVyYXRpb25zIAoKICAg
QXMgd2l0aCBhbGwgc2NoZW1lcyBpbnZvbHZpbmcgc2hhcmVkIGtleXMsIHNwZWNpYWwgY2FyZSBz
aG91bGQgYmUgCiAgIHRha2VuIHRvIHByb3RlY3QgdGhlIHNoYXJlZCB2YWx1ZXMgYW5kIHRvIGxp
bWl0IHRoZWlyIGV4cG9zdXJlIG92ZXIgCiAgIHRpbWUuIEFzIHRoaXMgZG9jdW1lbnQgYXVnbWVu
dHMgW1RMUy1QU0tdLCBldmVyeXRoaW5nIHN0YXRlZCBpbiBpdHMgCiAgIFNlY3VyaXR5IENvbnNp
ZGVyYXRpb24gc2VjdGlvbiBhcHBsaWVzIGhlcmUuIEluIGFkZGl0aW9uLCBhcyBjaXBoZXIgCiAg
IHN1aXRlcyBkZWZpbmVkIGhlcmUgZG8gbm90IHN1cHBvcnQgY29uZmlkZW50aWFsaXR5IC0gY2Fy
ZSBzaG91bGQgYmUgCiAgIHRha2VuIG5vdCB0byBzZW5kIGNvbmZpZGVudGlhbCBpbmZvcm1hdGlv
biAoc3VjaCBhcyBwYXNzd29yZHMpIG92ZXIgCiAgIFRMUy1QU0sgY29ubmVjdGlvbiB3aXRoIG5v
IGVuY3J5cHRpb24uIAoKNC4gSUFOQSBDb25zaWRlcmF0aW9ucyAKCiAgIFRoaXMgZG9jdW1lbnQg
ZGVmaW5lcyB0aHJlZSBuZXcgY2lwaGVyIHN1aXRlcywgd2hvc2UgdmFsdWVzIGFyZSB0byBiZSAK
ICAgYXNzaWduZWQgZnJvbSB0aGUgVExTIENpcGhlciBTdWl0ZSByZWdpc3RyeSBkZWZpbmVkIGlu
IFtUTFNdLiAKCiAgIENpcGhlclN1aXRlICAgVExTX1BTS19XSVRIX05VTExfU0hBICAgICAgPSB7
IDB4MDAsIDB4VEJEMSB9OyAKICAgQ2lwaGVyU3VpdGUgICBUTFNfREhFX1BTS19XSVRIX05VTExf
U0hBICA9IHsgMHgwMCwgMHhUQkQyIH07IAogICBDaXBoZXJTdWl0ZSAgIFRMU19SU0FfUFNLX1dJ
VEhfTlVMTF9TSEEgID0geyAweDAwLCAweFRCRDMgfTsgCiAgICAKNS4gQWNrbm93bGVkZ21lbnRz
IAoKICAgVGhlIGNpcGhlciBzdWl0ZXMgZGVmaW5lZCBpbiB0aGlzIGRvY3VtZW50IGFyZSBhbiBh
dWdtZW50YXRpb24gdG8gYW5kIAogICBiYXNlZCBvbiBbVExTLVBTS10uIAoKCgoKCgogCiAKQmx1
bWVudGhhbCAmIEdvZWwgICAgICAgRXhwaXJlcyBNYXJjaCAyNywgMjAwNyAgICAgICAgICAgICAg
ICAgW1BhZ2UgM10gCgwKSW50ZXJuZXQtRHJhZnQgICBQU0sgTlVMTC1lbmNyeXB0aW9uIENpcGhl
ciBTdWl0ZXMgZm9yIFRMUyAgICBTZXB0ZW1iZXIgCjIwMDYgCiAgICAKCjYuIFJlZmVyZW5jZXMg
Cgo2LjEuIE5vcm1hdGl2ZSBSZWZlcmVuY2VzIAoKICAgW1JGQzIxMTldIEJyYWRuZXIsIFMuLCAi
S2V5IHdvcmRzIGZvciB1c2UgaW4gUkZDcyB0byBJbmRpY2F0ZSAKICAgICAgICAgICAgIFJlcXVp
cmVtZW50IExldmVscyIsIEJDUCAxNCwgUkZDIDIxMTksIE1hcmNoIDE5OTcuIAoKICAgW1RMU10g
ICAgIERpZXJrcywgVC4gYW5kIFJlc2NvcmxhLCBFLiwgIlRoZSBUTFMgUHJvdG9jb2wgVmVyc2lv
biAKICAgICAgICAgICAgIDEuMSIsIFJGQyA0MzQ2LCBBcHJpbCAyMDA2LiAKCiAgIFtUTFMtUFNL
XSBFcm9uZW4sIFAuLCBUc2Nob2ZlbmlnLCBILiwgIlByZS1TaGFyZWQgS2V5IENpcGhlclN1aXRl
cyAKICAgICAgICAgICAgIGZvciBUcmFuc3BvcnQgTGF5ZXIgU2VjdXJpdHkgKFRMUykiLCBSRkMg
NDI3OSwgRGVjZW1iZXIgCiAgICAgICAgICAgICAyMDA1LiAKCiAgICAKCkF1dGhvcidzIEFkZHJl
c3NlcyAKCiAgIFVyaSBCbHVtZW50aGFsIAogICBJbnRlbCBDb3Jwb3JhdGlvbiAKICAgMTUxNSBT
dGF0ZSBSb3V0ZSAxMCwgIAogICBQWTItMSAxMC00IAogICBQYXJzaXBwYW55LCBOSiAwNzA1NCAK
ICAgVVNBIAogICAgICAgCiAgIEVtYWlsOiBVcmkuQmx1bWVudGhhbEBpbnRlbC5jb20gCiAgICAK
CiAgIFB1cnVzaG90dGFtIEdvZWwgCiAgIEludGVsIENvcnBvcmF0aW9uIAogICAyMTExIE4uRS4g
MjUgQXZlLiAKICAgSkYzLTQxNCAKICAgSGlsbHNib3JvLCBPUiA5NzEyNCAKICAgVVNBIAogICAg
ICAgCiAgIEVtYWlsOiBQdXJ1c2hvdHRhbS5Hb2VsQGludGVsLmNvbSAKICAgIAoKSW50ZWxsZWN0
dWFsIFByb3BlcnR5IFN0YXRlbWVudCAKCiAgIFRoZSBJRVRGIHRha2VzIG5vIHBvc2l0aW9uIHJl
Z2FyZGluZyB0aGUgdmFsaWRpdHkgb3Igc2NvcGUgb2YgYW55IAogICBJbnRlbGxlY3R1YWwgUHJv
cGVydHkgUmlnaHRzIG9yIG90aGVyIHJpZ2h0cyB0aGF0IG1pZ2h0IGJlIGNsYWltZWQgdG8gCiAg
IHBlcnRhaW4gdG8gdGhlIGltcGxlbWVudGF0aW9uIG9yIHVzZSBvZiB0aGUgdGVjaG5vbG9neSBk
ZXNjcmliZWQgaW4gCiAgIHRoaXMgZG9jdW1lbnQgb3IgdGhlIGV4dGVudCB0byB3aGljaCBhbnkg
bGljZW5zZSB1bmRlciBzdWNoIHJpZ2h0cyAKICAgbWlnaHQgb3IgbWlnaHQgbm90IGJlIGF2YWls
YWJsZTsgbm9yIGRvZXMgaXQgcmVwcmVzZW50IHRoYXQgaXQgaGFzIAogCiAKQmx1bWVudGhhbCAm
IEdvZWwgICAgICAgRXhwaXJlcyBNYXJjaCAyNywgMjAwNyAgICAgICAgICAgICAgICAgW1BhZ2Ug
NF0gCgwKSW50ZXJuZXQtRHJhZnQgICBQU0sgTlVMTC1lbmNyeXB0aW9uIENpcGhlciBTdWl0ZXMg
Zm9yIFRMUyAgICBTZXB0ZW1iZXIgCjIwMDYgCiAgICAKCiAgIG1hZGUgYW55IGluZGVwZW5kZW50
IGVmZm9ydCB0byBpZGVudGlmeSBhbnkgc3VjaCByaWdodHMuICBJbmZvcm1hdGlvbiAKICAgb24g
dGhlIHByb2NlZHVyZXMgd2l0aCByZXNwZWN0IHRvIHJpZ2h0cyBpbiBSRkMgZG9jdW1lbnRzIGNh
biBiZSAKICAgZm91bmQgaW4gQkNQIDc4IGFuZCBCQ1AgNzkuIAoKICAgQ29waWVzIG9mIElQUiBk
aXNjbG9zdXJlcyBtYWRlIHRvIHRoZSBJRVRGIFNlY3JldGFyaWF0IGFuZCBhbnkgCiAgIGFzc3Vy
YW5jZXMgb2YgbGljZW5zZXMgdG8gYmUgbWFkZSBhdmFpbGFibGUsIG9yIHRoZSByZXN1bHQgb2Yg
YW4gCiAgIGF0dGVtcHQgbWFkZSB0byBvYnRhaW4gYSBnZW5lcmFsIGxpY2Vuc2Ugb3IgcGVybWlz
c2lvbiBmb3IgdGhlIHVzZSBvZiAKICAgc3VjaCBwcm9wcmlldGFyeSByaWdodHMgYnkgaW1wbGVt
ZW50ZXJzIG9yIHVzZXJzIG9mIHRoaXMgCiAgIHNwZWNpZmljYXRpb24gY2FuIGJlIG9idGFpbmVk
IGZyb20gdGhlIElFVEYgb24tbGluZSBJUFIgcmVwb3NpdG9yeSBhdCAKICAgaHR0cDovL3d3dy5p
ZXRmLm9yZy9pcHIuIAoKICAgVGhlIElFVEYgaW52aXRlcyBhbnkgaW50ZXJlc3RlZCBwYXJ0eSB0
byBicmluZyB0byBpdHMgYXR0ZW50aW9uIGFueSAKICAgY29weXJpZ2h0cywgcGF0ZW50cyBvciBw
YXRlbnQgYXBwbGljYXRpb25zLCBvciBvdGhlciBwcm9wcmlldGFyeSAKICAgcmlnaHRzIHRoYXQg
bWF5IGNvdmVyIHRlY2hub2xvZ3kgdGhhdCBtYXkgYmUgcmVxdWlyZWQgdG8gaW1wbGVtZW50IAog
ICB0aGlzIHN0YW5kYXJkLiAgUGxlYXNlIGFkZHJlc3MgdGhlIGluZm9ybWF0aW9uIHRvIHRoZSBJ
RVRGIGF0IAogICBpZXRmLWlwckBpZXRmLm9yZy4gCgpEaXNjbGFpbWVyIG9mIFZhbGlkaXR5IAoK
ICAgVGhpcyBkb2N1bWVudCBhbmQgdGhlIGluZm9ybWF0aW9uIGNvbnRhaW5lZCBoZXJlaW4gYXJl
IHByb3ZpZGVkIG9uIGFuIAogICAiQVMgSVMiIGJhc2lzIGFuZCBUSEUgQ09OVFJJQlVUT1IsIFRI
RSBPUkdBTklaQVRJT04gSEUvU0hFIFJFUFJFU0VOVFMgCiAgIE9SIElTIFNQT05TT1JFRCBCWSAo
SUYgQU5ZKSwgVEhFIElOVEVSTkVUIFNPQ0lFVFkgQU5EIFRIRSBJTlRFUk5FVCAKICAgRU5HSU5F
RVJJTkcgVEFTSyBGT1JDRSBESVNDTEFJTSBBTEwgV0FSUkFOVElFUywgRVhQUkVTUyBPUiBJTVBM
SUVELCAKICAgSU5DTFVESU5HIEJVVCBOT1QgTElNSVRFRCBUTyBBTlkgV0FSUkFOVFkgVEhBVCBU
SEUgVVNFIE9GIFRIRSAKICAgSU5GT1JNQVRJT04gSEVSRUlOIFdJTEwgTk9UIElORlJJTkdFIEFO
WSBSSUdIVFMgT1IgQU5ZIElNUExJRUQgCiAgIFdBUlJBTlRJRVMgT0YgTUVSQ0hBTlRBQklMSVRZ
IE9SIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFLiAKCkNvcHlyaWdodCBTdGF0ZW1l
bnQgCgogICBDb3B5cmlnaHQgKEMpIFRoZSBJbnRlcm5ldCBTb2NpZXR5ICgyMDA2KS4gCgogICBU
aGlzIGRvY3VtZW50IGlzIHN1YmplY3QgdG8gdGhlIHJpZ2h0cywgbGljZW5zZXMgYW5kIHJlc3Ry
aWN0aW9ucyAKICAgY29udGFpbmVkIGluIEJDUCA3OCwgYW5kIGV4Y2VwdCBhcyBzZXQgZm9ydGgg
dGhlcmVpbiwgdGhlIGF1dGhvcnMgCiAgIHJldGFpbiBhbGwgdGhlaXIgcmlnaHRzLiAKCkFja25v
d2xlZGdtZW50IAoKICAgRnVuZGluZyBmb3IgdGhlIFJGQyBFZGl0b3IgZnVuY3Rpb24gaXMgY3Vy
cmVudGx5IHByb3ZpZGVkIGJ5IHRoZSAKICAgSW50ZXJuZXQgU29jaWV0eS4gCgoKCgoKCiAKIApC
bHVtZW50aGFsICYgR29lbCAgICAgICBFeHBpcmVzIE1hcmNoIDI3LCAyMDA3ICAgICAgICAgICAg
ICAgICBbUGFnZSA1XSAKDAo=

------_=_NextPart_001_01C6E24B.999F3796
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

------_=_NextPart_001_01C6E24B.999F3796--




From tls-bounces@lists.ietf.org Thu Sep 28 11:31:16 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSxp2-0001Iw-OW; Thu, 28 Sep 2006 11:29:12 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSxnj-0000Df-N1
	for tls@ietf.org; Thu, 28 Sep 2006 11:27:51 -0400
Received: from mgw-ext12.nokia.com ([131.228.20.171])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSxfi-00014B-EI
	for tls@ietf.org; Thu, 28 Sep 2006 11:19:35 -0400
Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213])
	by mgw-ext12.nokia.com (Switch-3.1.10/Switch-3.1.10) with ESMTP id
	k8SFJSXc027795; Thu, 28 Sep 2006 18:19:28 +0300
Received: from esebh002.NOE.Nokia.com ([172.21.138.77]) by
	esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 18:19:28 +0300
Received: from 4FIL09356 ([172.21.42.147]) by esebh002.NOE.Nokia.com with
	Microsoft SMTPSVC(5.0.2195.6881); Thu, 28 Sep 2006 18:19:28 +0300
From: "Pasi Eronen" <pasi.eronen@nokia.com>
To: "'ext Peter Gutmann'" <pgut001@cs.auckland.ac.nz>, <tls@ietf.org>
Subject: RE: [TLS] PRF in TLS 1.2
Date: Thu, 28 Sep 2006 18:19:29 +0300
Message-ID: <003e01c6e311$7e379980$932a15ac@NOE.Nokia.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
Thread-Index: AcbiCBSJF0LpMPzRRbi8UyHikQR24QBBSCbw
In-Reply-To: <E1GSTvB-0003Uh-00@medusa01.cs.auckland.ac.nz>
X-OriginalArrivalTime: 28 Sep 2006 15:19:28.0244 (UTC)
	FILETIME=[7D47BB40:01C6E311]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2409bba43e9c8d580670fda8b695204a
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Peter Gutmann wrote:
> This is a completely unnecessary change, it gratuitously breaks
> compatibility with the existing PRF, it provides no extra security
> (that anyone knows of), and by eliminating the current
> belt-and-suspenders design, it may even reduce the overall security.
> If new research appears showing that (a) there's a problem in the
> current design and (b) a new, demonstrably more secure design, then
> let's switch.  But changing the design simply because we haven't
> changed anything else for awhile and we need to meet some quota for
> new text in the next draft (or whatever's motivating the current
> change) is not only pointless, it's counterproductive.

Our WG charter explicitly warns about "gratuitous changes", and
I guess you're worried that this is such a change? But I'd like 
to understand better your dislike of Eric's proposal...

Would you prefer that the default PRF (for ciphersuites that
don't specify anything else, including all current ciphersuites)
would be the current TLS 1.0/1.1 PRF? 

But still allow new cipher suites to define other PRFs, as long 
as they use the same "API" (arbitrary-length secret, label and 
seed in, sufficiently-long byte string out)?

Best regards,
Pasi


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



From tls-bounces@lists.ietf.org Thu Sep 28 11:48:11 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSy6j-0004w6-8o; Thu, 28 Sep 2006 11:47:29 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSy5s-0003qm-BA
	for tls@ietf.org; Thu, 28 Sep 2006 11:46:36 -0400
Received: from mgw-ext14.nokia.com ([131.228.20.173])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSy03-0004Vb-A8
	for tls@ietf.org; Thu, 28 Sep 2006 11:40:36 -0400
Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213])
	by mgw-ext14.nokia.com (Switch-3.1.10/Switch-3.1.10) with ESMTP id
	k8SFeXpV015010; Thu, 28 Sep 2006 18:40:34 +0300
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by
	esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 18:40:33 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 18:40:33 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] PRF in TLS 1.2
Date: Thu, 28 Sep 2006 18:40:34 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F240332367A@esebe105.NOE.Nokia.com>
In-Reply-To: <451A678D.7000505@blueyonder.co.uk>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] PRF in TLS 1.2
Thread-Index: AcbiMoNlf7S2sf4OTx+A8lnUy04AtwA4UHOA
From: <Pasi.Eronen@nokia.com>
To: <david.hopwood@blueyonder.co.uk>, <tls@ietf.org>
X-OriginalArrivalTime: 28 Sep 2006 15:40:33.0796 (UTC)
	FILETIME=[6F9BA440:01C6E314]
X-Spam-Score: 0.2 (/)
X-Scan-Signature: ea4ac80f790299f943f0a53be7e1a21a
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

David Hopwood wrote:
> I also agree. Note that for the foreseeable future, because
> implementations would support versions with both new and old PRFs,
> the attacker has a choice which one to try and break. So even if,
> for the sake of argument, there were a security problem with the old
> PRF, changing it still would not increase security; it can only
> potentially decrease it.

This is a problem in many transitions; however, our WG charter
explicitly lists removing dependency on MD5 and SHA-1 as our primary
goal. So, at least it must be somehow possible to configure two TLS 1.2
endpoints in a mode that doesn't use MD5 or SHA-1 at all.

This is not a configuration you'd want to use for your web browser=20
or server in 2006 (or even 2010 probably), but hopefully eventually.=20
We are starting to get rid of SSL2 and 40-bit ciphersuites, after all.

There are quite many ways of how we could achieve that functionality
in TLS 1.2 though; how would you modify Eric's proposal to avoid
the problems you mention?

> (Note that if you can break the PRF, you can also break any
> protection against version rollback -- not that that protection was
> particularly robust to start with.)

Wouldn't breaking the rollback protection require breaking the PRF
essentially in real-time?=20

Best regards,
Pasi=20

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



From tls-bounces@lists.ietf.org Thu Sep 28 11:56:03 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSyER-0001pg-0J; Thu, 28 Sep 2006 11:55:27 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSyEQ-0001pM-4m
	for tls@ietf.org; Thu, 28 Sep 2006 11:55:26 -0400
Received: from raman.networkresonance.com ([198.144.196.3])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSyEO-0007At-Pv
	for tls@ietf.org; Thu, 28 Sep 2006 11:55:26 -0400
Received: by raman.networkresonance.com (Postfix, from userid 1001)
	id E0A801E8C5D; Thu, 28 Sep 2006 08:55:23 -0700 (PDT)
To: "Kyle Hamilton" <aerowolf@gmail.com>
Subject: Re: [TLS] PRF in TLS 1.2
References: <279DDDAFA85EC74C9300A0598E704056B444B9@hdsmsx412.amr.corp.intel.com>
	<6b9359640609262135q2e60d85dxafedfbfdea4d7232@mail.gmail.com>
From: Eric Rescorla <ekr@networkresonance.com>
Date: Thu, 28 Sep 2006 08:55:23 -0700
In-Reply-To: <6b9359640609262135q2e60d85dxafedfbfdea4d7232@mail.gmail.com>
	(Kyle Hamilton's message of "Tue, 26 Sep 2006 21:35:03 -0700")
Message-ID: <863bac3s0k.fsf@raman.networkresonance.com>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: EKR <ekr@networkresonance.com>
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

"Kyle Hamilton" <aerowolf@gmail.com> writes:
> My thought is that even if one of the hash algorithms is badly broken,
> the fact that more than one hash is being used means that a 'hedge'
> exists against that possibility.

Sure, that was absolutely the original rationale.


> MD5 may be able to be broken.  SHA1 may be able to be broken.

But this is where it goes off track. Because of the close relationship
between MD5 and SHA-1 and the empirical correlation between attacks on
SHA-1, which appear to also imply attacks on MD5, it's not at all
clear that MD5 provides any redundancy at all here, and arguably makes
things worse than with SHA-1 alone. In particular, the fact that the
secret is split between MD5 and SHA-1 rather than fed into both of
them is a source of a potential problem. As a thought experiment,
consider a TLS PRF variant in which we replace MD5 with the identity
function. At this point the PRF reduces to SHA-1 with half of the
input space. This issue is made even more complicated by the fact
that for the DH cipher suites the input space isn't unstructured
and the PRF is used to whiten it.


In any case, there are several issues here:

1. Should we change the default TLS PRF to use some algorithm(s)
   other than MD5/SHA-1? If so, what should be the structure of
   that PRF? This is motivated by concerns about the continuing 
   security of MD5 and SHA-1.

2. Should we be able to substitute hash functions in the TLS PRF?
   This is motivated by concerns about our ability to assess the
   security of any digest as a fixed part of the protocol.

3. Should we have negotiable PRFs? This is motivated primarily by
   the desire to support GOST and the NIST 800-56A KDF.

The current draft embodies (and the WG discussion in Montreal) 
seemed to be mostly positive on all three of these changes.
Which of these are you objecting to?

-Ekr

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



From tls-bounces@lists.ietf.org Thu Sep 28 12:01:51 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSyJq-0003tv-Nf; Thu, 28 Sep 2006 12:01:02 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSyJp-0003tn-5c
	for tls@ietf.org; Thu, 28 Sep 2006 12:01:01 -0400
Received: from smtp-out2.blueyonder.co.uk ([195.188.213.5])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSyJn-0007hW-Sf
	for tls@ietf.org; Thu, 28 Sep 2006 12:01:01 -0400
Received: from [172.23.170.137] (helo=anti-virus01-08)
	by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52)
	id 1GSyJn-0000hG-4R for tls@ietf.org; Thu, 28 Sep 2006 17:00:59 +0100
Received: from 82-42-16-20.cable.ubr01.knor.blueyonder.co.uk ([82.42.16.20]
	helo=[127.0.0.1])
	by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52)
	id 1GSyJm-0000oz-D6 for tls@ietf.org; Thu, 28 Sep 2006 17:00:58 +0100
Message-ID: <451BF1AF.1040405@blueyonder.co.uk>
Date: Thu, 28 Sep 2006 17:00:47 +0100
From: David Hopwood <david.nospam.hopwood@blueyonder.co.uk>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] PRF in TLS 1.2
References: <003e01c6e311$7e379980$932a15ac@NOE.Nokia.com>
In-Reply-To: <003e01c6e311$7e379980$932a15ac@NOE.Nokia.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7baded97d9887f7a0c7e8a33c2e3ea1b
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: david.nospam.hopwood@blueyonder.co.uk
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Pasi Eronen wrote:
> Peter Gutmann wrote:
> 
>>This is a completely unnecessary change, it gratuitously breaks
>>compatibility with the existing PRF, it provides no extra security
>>(that anyone knows of), and by eliminating the current
>>belt-and-suspenders design, it may even reduce the overall security.
>>If new research appears showing that (a) there's a problem in the
>>current design and (b) a new, demonstrably more secure design, then
>>let's switch.  But changing the design simply because we haven't
>>changed anything else for awhile and we need to meet some quota for
>>new text in the next draft (or whatever's motivating the current
>>change) is not only pointless, it's counterproductive.
> 
> Our WG charter explicitly warns about "gratuitous changes", and
> I guess you're worried that this is such a change? But I'd like 
> to understand better your dislike of Eric's proposal...
> 
> Would you prefer that the default PRF (for ciphersuites that
> don't specify anything else, including all current ciphersuites)
> would be the current TLS 1.0/1.1 PRF? 
> 
> But still allow new cipher suites to define other PRFs, as long 
> as they use the same "API" (arbitrary-length secret, label and 
> seed in, sufficiently-long byte string out)?

I don't see what the motivation is for changing the PRF at all.

Sure, it's an inelegant construction, but that's not important.

If you have multiple PRFs, you would have to prove that *all* the
PRFs are secure in order for ciphersuite negotation to be secure, so
security can't be the motivation.

So what is the motivation?

-- 
David Hopwood <david.nospam.hopwood@blueyonder.co.uk>



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



From tls-bounces@lists.ietf.org Thu Sep 28 12:04:22 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSyMN-00069g-68; Thu, 28 Sep 2006 12:03:39 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSyML-000684-KI
	for tls@ietf.org; Thu, 28 Sep 2006 12:03:37 -0400
Received: from smtp-out2.blueyonder.co.uk ([195.188.213.5])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSyMJ-00082V-6l
	for tls@ietf.org; Thu, 28 Sep 2006 12:03:37 -0400
Received: from [172.23.170.139] (helo=anti-virus01-10)
	by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52)
	id 1GSyMI-0001Ua-QJ for tls@ietf.org; Thu, 28 Sep 2006 17:03:34 +0100
Received: from 82-42-16-20.cable.ubr01.knor.blueyonder.co.uk ([82.42.16.20]
	helo=[127.0.0.1])
	by asmtp-out5.blueyonder.co.uk with esmtp (Exim 4.52)
	id 1GSyMH-0005uS-SV for tls@ietf.org; Thu, 28 Sep 2006 17:03:33 +0100
Message-ID: <451BF24A.8070908@blueyonder.co.uk>
Date: Thu, 28 Sep 2006 17:03:22 +0100
From: David Hopwood <david.nospam.hopwood@blueyonder.co.uk>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] PRF in TLS 1.2
References: <279DDDAFA85EC74C9300A0598E704056B444B9@hdsmsx412.amr.corp.intel.com>	<6b9359640609262135q2e60d85dxafedfbfdea4d7232@mail.gmail.com>
	<863bac3s0k.fsf@raman.networkresonance.com>
In-Reply-To: <863bac3s0k.fsf@raman.networkresonance.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2409bba43e9c8d580670fda8b695204a
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: david.nospam.hopwood@blueyonder.co.uk
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:
> "Kyle Hamilton" <aerowolf@gmail.com> writes:
> 
>>My thought is that even if one of the hash algorithms is badly broken,
>>the fact that more than one hash is being used means that a 'hedge'
>>exists against that possibility.
> 
> Sure, that was absolutely the original rationale.
> 
>>MD5 may be able to be broken.  SHA1 may be able to be broken.
> 
> But this is where it goes off track. Because of the close relationship
> between MD5 and SHA-1 and the empirical correlation between attacks on
> SHA-1, which appear to also imply attacks on MD5, it's not at all
> clear that MD5 provides any redundancy at all here, and arguably makes
> things worse than with SHA-1 alone. In particular, the fact that the
> secret is split between MD5 and SHA-1 rather than fed into both of
> them is a source of a potential problem.

No it isn't, because each half of the secret by itself has sufficient
entropy, as far as we understand the security arguments for all of the
currently defined ciphersuites.

-- 
David Hopwood <david.nospam.hopwood@blueyonder.co.uk>



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



From tls-bounces@lists.ietf.org Thu Sep 28 12:14:09 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSyVt-0006ZX-O2; Thu, 28 Sep 2006 12:13:29 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSyVs-0006Y5-G9
	for tls@ietf.org; Thu, 28 Sep 2006 12:13:28 -0400
Received: from raman.networkresonance.com ([198.144.196.3])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSyVr-0000iu-7C
	for tls@ietf.org; Thu, 28 Sep 2006 12:13:28 -0400
Received: by raman.networkresonance.com (Postfix, from userid 1001)
	id D02DF1E8C5D; Thu, 28 Sep 2006 09:13:26 -0700 (PDT)
To: david.nospam.hopwood@blueyonder.co.uk
Subject: Re: [TLS] PRF in TLS 1.2
References: <279DDDAFA85EC74C9300A0598E704056B444B9@hdsmsx412.amr.corp.intel.com>
	<6b9359640609262135q2e60d85dxafedfbfdea4d7232@mail.gmail.com>
	<863bac3s0k.fsf@raman.networkresonance.com>
	<451BF24A.8070908@blueyonder.co.uk>
From: Eric Rescorla <ekr@networkresonance.com>
Date: Thu, 28 Sep 2006 09:13:26 -0700
In-Reply-To: <451BF24A.8070908@blueyonder.co.uk> (David Hopwood's message of
	"Thu, 28 Sep 2006 17:03:22 +0100")
Message-ID: <86ven82cm1.fsf@raman.networkresonance.com>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7bac9cb154eb5790ae3b2913587a40de
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: EKR <ekr@networkresonance.com>
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

David Hopwood <david.nospam.hopwood@blueyonder.co.uk> writes:
> No it isn't, because each half of the secret by itself has sufficient
> entropy, as far as we understand the security arguments for all of the
> currently defined ciphersuites.

I haven't seen a convincing argument for this when the PMS is
a Diffie-Hellman ZZ.

-Ekr


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



From tls-bounces@lists.ietf.org Thu Sep 28 12:26:54 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSyiL-0005kq-Cg; Thu, 28 Sep 2006 12:26:21 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSyiK-0005kl-FA
	for tls@ietf.org; Thu, 28 Sep 2006 12:26:20 -0400
Received: from raman.networkresonance.com ([198.144.196.3])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSyiJ-0001dU-5O
	for tls@ietf.org; Thu, 28 Sep 2006 12:26:20 -0400
Received: by raman.networkresonance.com (Postfix, from userid 1001)
	id 9330D1E8C61; Thu, 28 Sep 2006 09:26:18 -0700 (PDT)
To: david.nospam.hopwood@blueyonder.co.uk
Subject: Re: [TLS] PRF in TLS 1.2
References: <003e01c6e311$7e379980$932a15ac@NOE.Nokia.com>
	<451BF1AF.1040405@blueyonder.co.uk>
From: Eric Rescorla <ekr@networkresonance.com>
Date: Thu, 28 Sep 2006 09:26:18 -0700
In-Reply-To: <451BF1AF.1040405@blueyonder.co.uk> (David Hopwood's message of
	"Thu, 28 Sep 2006 17:00:47 +0100")
Message-ID: <86wt7o0xg5.fsf@raman.networkresonance.com>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 69a74e02bbee44ab4f8eafdbcedd94a1
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: EKR <ekr@networkresonance.com>
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

David Hopwood <david.nospam.hopwood@blueyonder.co.uk> writes:
> If you have multiple PRFs, you would have to prove that *all* the
> PRFs are secure in order for ciphersuite negotation to be secure, so
> security can't be the motivation.
>
> So what is the motivation?

Your argument rather oversimplifies the situation.

1. In order to have secure negotiation, all the PRFs that both
   sides support have to be secure against a specific kind of
   active attack.

2. There are concerns about the future security of PRFs based
   on MD5 and SHA-1 against a variety of future attacks, which
   may or may not enable attacking the PRF in real time.

3. If such attacks do emerge and the only PRF we have is 
   the current one, then you're looking at a multi-year
   standardization and deployment cycle to fix the problem.

4. If such attacks do emerge and TLS 1.2 already has an 
   adjustable PRF with support for (e.g., SHA-256), then 
   the cut-over to a secure mode is a simple matter of 
   telling people to turn off SHA-1 and MD5 at which point
   they will be able to negotiate cipher suites securely.

So, I don't agree with you that the "security can't be the
motivation".

-Ekr

   






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



From tls-bounces@lists.ietf.org Thu Sep 28 12:48:26 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSz2L-0002Of-01; Thu, 28 Sep 2006 12:47:01 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSz2I-0002Oa-Tz
	for tls@ietf.org; Thu, 28 Sep 2006 12:46:58 -0400
Received: from mga01.intel.com ([192.55.52.88])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSz2F-0004fB-IS
	for tls@ietf.org; Thu, 28 Sep 2006 12:46:58 -0400
Received: from fmsmga001.fm.intel.com ([10.253.24.23])
	by mga01.intel.com with ESMTP; 28 Sep 2006 09:46:54 -0700
Received: from fmsmsx332.fm.intel.com (HELO fmsmsx332.amr.corp.intel.com)
	([132.233.42.148])
	by fmsmga001.fm.intel.com with ESMTP; 28 Sep 2006 09:46:54 -0700
X-ExtLoop1: 1
X-IronPort-AV: i="4.09,231,1157353200"; 
	d="scan'208"; a="138898129:sNHT22279873"
Received: from fmsmsx311.amr.corp.intel.com ([132.233.42.214]) by
	fmsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 09:46:50 -0700
Received: from hdsmsx412.amr.corp.intel.com ([10.127.2.72]) by
	fmsmsx311.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 09:46:50 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] PRF in TLS 1.2
Date: Thu, 28 Sep 2006 12:46:43 -0400
Message-ID: <279DDDAFA85EC74C9300A0598E704056B44E37@hdsmsx412.amr.corp.intel.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] PRF in TLS 1.2
thread-index: AcbjGRlPxWJfOgt1QxqjEeYPd28Y0wAA5CBw
From: "Blumenthal, Uri" <uri.blumenthal@intel.com>
To: "EKR" <ekr@networkresonance.com>, "david.nospam.hopwood@blueyonder.co.uk"
	<david.hopwood@blueyonder.co.uk>
X-OriginalArrivalTime: 28 Sep 2006 16:46:50.0316 (UTC)
	FILETIME=[B1CC70C0:01C6E31D]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d17f825e43c9aed4fd65b7edddddec89
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>> No it isn't, because each half of the secret by itself has sufficient
>> entropy, as far as we understand the security arguments for all of
the
>> currently defined ciphersuites.
>
>I haven't seen a convincing argument for this when the PMS
>is a Diffie-Hellman ZZ.

There can be no convincing argument, because that statement isn't true!

It would be true for DH over Elliptic Curve.

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



From tls-bounces@lists.ietf.org Thu Sep 28 13:37:53 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSzok-0007Ep-LG; Thu, 28 Sep 2006 13:37:02 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSzoj-0007Ek-Iy
	for tls@ietf.org; Thu, 28 Sep 2006 13:37:01 -0400
Received: from smtp-out3.blueyonder.co.uk ([195.188.213.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSzoe-0001bK-9Z
	for tls@ietf.org; Thu, 28 Sep 2006 13:37:01 -0400
Received: from [172.23.170.139] (helo=anti-virus01-10)
	by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52)
	id 1GSzob-00040f-Fj for tls@ietf.org; Thu, 28 Sep 2006 18:36:53 +0100
Received: from 82-42-16-20.cable.ubr01.knor.blueyonder.co.uk ([82.42.16.20]
	helo=[127.0.0.1])
	by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52)
	id 1GSzoU-0003kX-MI for tls@ietf.org; Thu, 28 Sep 2006 18:36:46 +0100
Message-ID: <451C0823.1010305@blueyonder.co.uk>
Date: Thu, 28 Sep 2006 18:36:35 +0100
From: David Hopwood <david.nospam.hopwood@blueyonder.co.uk>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] PRF in TLS 1.2
References: <279DDDAFA85EC74C9300A0598E704056B44E37@hdsmsx412.amr.corp.intel.com>
In-Reply-To: <279DDDAFA85EC74C9300A0598E704056B44E37@hdsmsx412.amr.corp.intel.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7655788c23eb79e336f5f8ba8bce7906
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: david.nospam.hopwood@blueyonder.co.uk
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Blumenthal, Uri wrote:
>>>No it isn't, because each half of the secret by itself has sufficient
>>>entropy, as far as we understand the security arguments for all of
>>>the currently defined ciphersuites.
>>
>>I haven't seen a convincing argument for this when the PMS
>>is a Diffie-Hellman ZZ.
> 
> There can be no convincing argument, because that statement isn't true!

It is true, under the Decisional DH assumption (see the first paper I cited
in my other reply). What makes you say that it isn't?

> It would be true for DH over Elliptic Curve.

The most recent results I know of for ECDH are given in
<http://eprint.iacr.org/2005/324>; if anything the conclusions are
slightly weaker than for DH.

-- 
David Hopwood <david.nospam.hopwood@blueyonder.co.uk>



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



From tls-bounces@lists.ietf.org Thu Sep 28 13:38:05 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSzpA-0007Kc-Ud; Thu, 28 Sep 2006 13:37:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSzp9-0007KW-Au
	for tls@ietf.org; Thu, 28 Sep 2006 13:37:27 -0400
Received: from smtp-out3.blueyonder.co.uk ([195.188.213.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSzp5-0001cc-TE
	for tls@ietf.org; Thu, 28 Sep 2006 13:37:27 -0400
Received: from [172.23.170.144] (helo=anti-virus03-07)
	by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52)
	id 1GSzp5-0004I6-Ge for tls@ietf.org; Thu, 28 Sep 2006 18:37:23 +0100
Received: from 82-42-16-20.cable.ubr01.knor.blueyonder.co.uk ([82.42.16.20]
	helo=[127.0.0.1])
	by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52)
	id 1GSzb1-0006L4-Km for tls@ietf.org; Thu, 28 Sep 2006 18:22:51 +0100
Message-ID: <451C04E0.3010508@blueyonder.co.uk>
Date: Thu, 28 Sep 2006 18:22:40 +0100
From: David Hopwood <david.nospam.hopwood@blueyonder.co.uk>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tls@ietf.org
Subject: Re: [TLS] PRF in TLS 1.2
References: <279DDDAFA85EC74C9300A0598E704056B444B9@hdsmsx412.amr.corp.intel.com>	<6b9359640609262135q2e60d85dxafedfbfdea4d7232@mail.gmail.com>	<863bac3s0k.fsf@raman.networkresonance.com>	<451BF24A.8070908@blueyonder.co.uk>
	<86ven82cm1.fsf@raman.networkresonance.com>
In-Reply-To: <86ven82cm1.fsf@raman.networkresonance.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 769a46790fb42fbb0b0cc700c82f7081
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: david.nospam.hopwood@blueyonder.co.uk
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

Eric Rescorla wrote:
> David Hopwood <david.nospam.hopwood@blueyonder.co.uk> writes:
>=20
>>No it isn't, because each half of the secret by itself has sufficient
>>entropy, as far as we understand the security arguments for all of the
>>currently defined ciphersuites.
>=20
> I haven't seen a convincing argument for this when the PMS is
> a Diffie-Hellman ZZ.

<http://www.di.ens.fr/~pointche/Documents/Papers/2006_icalp.pdf>

  In this paper we introduce very simple deterministic randomness
  extractors for Diffie-Hellman distributions. More specifically we
  show that the k most significant bits or the k least significant bits
  of a random element in a subgroup of Z*_p are indistinguishable from
  a random bit-string of the same length. This allows us to show that
  under the Decisional Diffie-Hellman assumption we can deterministically=

  derive a uniformly random bit-string from a Diffie-Hellman exchange in
  the standard model. Then, we show that it can be used in key exchange
  or encryption scheme to avoid the leftover hash lemma and universal
  hash functions.

This also seems relevant, although I haven't read it:

<http://www.springerlink.com/content/f042yn47t16cxq59/>

  We generalize and extend results obtained by Boneh and Venkatesan
  in 1996 and by Gonz=E1lez Vasco and Shparlinski in 2000 on the hardness=

  of computing bits of the Diffie-Hellman key, given the public values.
  Specifically, while these results could only exclude (essentially)
  error-free predictions, we here exclude any non-negligible advantage,
  though for larger fractions of the bits. We can also demonstrate a
  trade-off between the tolerated error rate and the number of
  unpredictable bits.
  Moreover, by changing computational model, we show that even a very
  small proportion of the most significant bits of the Diffie-Hellman
  secret key cannot be retrieved from the public information by means
  of a Las Vegas type algorithm, unless the corresponding scheme is
  weak itself.

--=20
David Hopwood <david.nospam.hopwood@blueyonder.co.uk>




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



From tls-bounces@lists.ietf.org Thu Sep 28 13:46:38 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GSzxG-0004l8-Cj; Thu, 28 Sep 2006 13:45:50 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GSzxE-0004iz-Bx
	for tls@ietf.org; Thu, 28 Sep 2006 13:45:48 -0400
Received: from wx-out-0506.google.com ([66.249.82.226])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GSzxD-0002NY-4z
	for tls@ietf.org; Thu, 28 Sep 2006 13:45:48 -0400
Received: by wx-out-0506.google.com with SMTP id t4so421663wxc
	for <tls@ietf.org>; Thu, 28 Sep 2006 10:45:46 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=p9/ScjVnHvM3VXywUq5eektCvdb5hr5ZDKdCJpzaA8+N/ak/lTbqpgi0vb4X0uNluUmcQ6oL9EuRBhWIX0qbQuNIZNxtjpML9S3lOeqpbHaQNmU5WT61geS6f1Ym0MiUOJIScyTTja5DZ3qmRUUXJ9c5D3WpwF0W5XnDnhZGn9w=
Received: by 10.70.72.11 with SMTP id u11mr695572wxa;
	Thu, 28 Sep 2006 10:45:46 -0700 (PDT)
Received: by 10.70.11.2 with HTTP; Thu, 28 Sep 2006 10:45:46 -0700 (PDT)
Message-ID: <6b9359640609281045v32bc0646ld64c710fb72c1388@mail.gmail.com>
Date: Thu, 28 Sep 2006 10:45:46 -0700
From: "Kyle Hamilton" <aerowolf@gmail.com>
To: EKR <ekr@networkresonance.com>
Subject: Re: [TLS] PRF in TLS 1.2
In-Reply-To: <86wt7o0xg5.fsf@raman.networkresonance.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <003e01c6e311$7e379980$932a15ac@NOE.Nokia.com>
	<451BF1AF.1040405@blueyonder.co.uk>
	<86wt7o0xg5.fsf@raman.networkresonance.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0ddefe323dd869ab027dbfff7eff0465
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

I do agree, by the way, with the need to make other PRFs available.  I
was merely referencing the "default" PRF.  For
backwards-compatibility, I would like to see the current secret-split
to MD5 and SHA1 work, until support is withdrawn in TLS1.3 or TLS2.0.

For forwards compatibility, I would like to see multiple PRFs be a
negotiatable option (meaning, right now we have MD5+SHA1; I'd like to
see the ability to negotiate SHA256+GOST, as an example), as an option
which may be mandated later.  There's also the semantics of multiple
PRFs to be taken into account... "half of the data goes to one, half
to the other" appears to be a fairly dangerous paradigm.  This leaves
us with two choices... TLS1.1 semantics, or "feed all data in to both
PRFs" semantics.

Thanks for your time.

-Kyle H

On 9/28/06, Eric Rescorla <ekr@networkresonance.com> wrote:
> David Hopwood <david.nospam.hopwood@blueyonder.co.uk> writes:
> > If you have multiple PRFs, you would have to prove that *all* the
> > PRFs are secure in order for ciphersuite negotation to be secure, so
> > security can't be the motivation.
> >
> > So what is the motivation?
>
> Your argument rather oversimplifies the situation.
>
> 1. In order to have secure negotiation, all the PRFs that both
>   sides support have to be secure against a specific kind of
>   active attack.
>
> 2. There are concerns about the future security of PRFs based
>   on MD5 and SHA-1 against a variety of future attacks, which
>   may or may not enable attacking the PRF in real time.
>
> 3. If such attacks do emerge and the only PRF we have is
>   the current one, then you're looking at a multi-year
>   standardization and deployment cycle to fix the problem.
>
> 4. If such attacks do emerge and TLS 1.2 already has an
>   adjustable PRF with support for (e.g., SHA-256), then
>   the cut-over to a secure mode is a simple matter of
>   telling people to turn off SHA-1 and MD5 at which point
>   they will be able to negotiate cipher suites securely.
>
> So, I don't agree with you that the "security can't be the
> motivation".
>
> -Ekr

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



From tls-bounces@lists.ietf.org Thu Sep 28 17:17:24 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GT3Ea-0007At-3C; Thu, 28 Sep 2006 17:15:56 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GT3AC-0005wG-NR
	for tls@ietf.org; Thu, 28 Sep 2006 17:11:24 -0400
Received: from nat194.certicom.com ([66.48.18.194] helo=mail.ca.certicom.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GT2xc-0007wX-JN
	for tls@ietf.org; Thu, 28 Sep 2006 16:58:25 -0400
Received: from spamfilter.certicom.com (localhost.localdomain [127.0.0.1])
	by mail.ca.certicom.com (Postfix) with ESMTP id 5E7FE100233CD;
	Thu, 28 Sep 2006 16:58:21 -0400 (EDT)
Received: from mail.ca.certicom.com ([127.0.0.1])
	by spamfilter.certicom.com (storm [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 08381-90; Thu, 28 Sep 2006 16:58:17 -0400 (EDT)
Received: from certicom1.certicom.com (domino1.certicom.com [10.0.1.24])
	by mail.ca.certicom.com (Postfix) with ESMTP id 37F44100233C6;
	Thu, 28 Sep 2006 16:58:17 -0400 (EDT)
In-Reply-To: <451C04E0.3010508@blueyonder.co.uk>
To: david.nospam.hopwood@blueyonder.co.uk
Subject: Re: [TLS] PRF in TLS 1.2
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.5 November 30, 2005
Message-ID: <OF5FF2E9CF.95D2B3BD-ON852571F7.0072B4D6-852571F7.00739318@certicom.com>
From: Daniel Brown <DBrown@certicom.com>
Date: Thu, 28 Sep 2006 16:56:54 -0400
X-MIMETrack: Serialize by Router on Certicom1/Certicom(Release 7.0.1|January
	17, 2006) at 09/28/2006 04:56:56 PM,
	Serialize complete at 09/28/2006 04:56:56 PM
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 944ecb6e61f753561f559a497458fb4f
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1461679864=="
Errors-To: tls-bounces@lists.ietf.org

This is a multipart message in MIME format.
--===============1461679864==
Content-Type: multipart/alternative;
	boundary="=_alternative 00739313852571F7_="

This is a multipart message in MIME format.
--=_alternative 00739313852571F7_=
Content-Type: text/plain; charset="US-ASCII"

David Hopwood <david.nospam.hopwood@blueyonder.co.uk> wrote on 09/28/2006 
01:22:40 PM:

> Eric Rescorla wrote:
> > David Hopwood <david.nospam.hopwood@blueyonder.co.uk> writes:
> > 
> >>No it isn't, because each half of the secret by itself has sufficient
> >>entropy, as far as we understand the security arguments for all of the
> >>currently defined ciphersuites.
> > 
> > I haven't seen a convincing argument for this when the PMS is
> > a Diffie-Hellman ZZ.
> 
> <http://www.di.ens.fr/~pointche/Documents/Papers/2006_icalp.pdf>
> 
>   In this paper we introduce very simple deterministic randomness
>   extractors for Diffie-Hellman distributions. More specifically we
>   show that the k most significant bits or the k least significant bits
>   of a random element in a subgroup of Z*_p are indistinguishable from
>   a random bit-string of the same length. This allows us to show that
>   under the Decisional Diffie-Hellman assumption we can 
deterministically
>   derive a uniformly random bit-string from a Diffie-Hellman exchange in
>   the standard model. Then, we show that it can be used in key exchange
>   or encryption scheme to avoid the leftover hash lemma and universal
>   hash functions.
> 

As for pseudorandomness: for the upper bits your paper says that p has to 
be sufficiently close to a power of two.  Is this a requirement for TLS 
1.2?

As for entropy: If p is a 1024 prime, and g has order less than 512 bits 
long, then its likely that there exists a function that f that such that 
f(MSB(g^z)) = LSB(g^z).  (Please ignore if TLS 1.2 requires g to have 
order 1023 bits long.)  In other words, one half has zero entropy relative 
to the other.  In all likelihood, it is computationally infeasible to find 
such a function.  In other words, each half has computational entropy 
independent of the other.  I don't know if this computational assumption 
(about the hardness of computing f(.)) follows from any standard 
assumptions, such as hardness of the decisional DH problem.

- Dan Brown


--=_alternative 00739313852571F7_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=2>David Hopwood &lt;david.nospam.hopwood@blueyonder.co.uk&gt;
wrote on 09/28/2006 01:22:40 PM:<br>
<br>
&gt; Eric Rescorla wrote:<br>
&gt; &gt; David Hopwood &lt;david.nospam.hopwood@blueyonder.co.uk&gt; writes:<br>
&gt; &gt; <br>
&gt; &gt;&gt;No it isn't, because each half of the secret by itself has
sufficient<br>
&gt; &gt;&gt;entropy, as far as we understand the security arguments for
all of the<br>
&gt; &gt;&gt;currently defined ciphersuites.<br>
&gt; &gt; <br>
&gt; &gt; I haven't seen a convincing argument for this when the PMS is<br>
&gt; &gt; a Diffie-Hellman ZZ.<br>
&gt; <br>
&gt; &lt;http://www.di.ens.fr/~pointche/Documents/Papers/2006_icalp.pdf&gt;<br>
&gt; <br>
&gt; &nbsp; In this paper we introduce very simple deterministic randomness<br>
&gt; &nbsp; extractors for Diffie-Hellman distributions. More specifically
we<br>
&gt; &nbsp; show that the k most significant bits or the k least significant
bits<br>
&gt; &nbsp; of a random element in a subgroup of Z*_p are indistinguishable
from<br>
&gt; &nbsp; a random bit-string of the same length. This allows us to show
that<br>
&gt; &nbsp; under the Decisional Diffie-Hellman assumption we can deterministically<br>
&gt; &nbsp; derive a uniformly random bit-string from a Diffie-Hellman
exchange in<br>
&gt; &nbsp; the standard model. Then, we show that it can be used in key
exchange<br>
&gt; &nbsp; or encryption scheme to avoid the leftover hash lemma and universal<br>
&gt; &nbsp; hash functions.<br>
&gt; <br>
</font></tt>
<br><tt><font size=2>As for pseudorandomness: for the upper bits your paper
says that p has to be sufficiently close to a power of two. &nbsp;Is this
a requirement for TLS 1.2?</font></tt>
<br>
<br><tt><font size=2>As for entropy: If p is a 1024 prime, and g has order
less than 512 bits long, then its likely that there exists a function that
f that such that f(MSB(g^z)) = LSB(g^z). &nbsp;(Please ignore if TLS 1.2
requires g to have order 1023 bits long.) &nbsp;In other words, one half
has zero entropy relative to the other. &nbsp;In all likelihood, it is
computationally infeasible to find such a function. &nbsp;In other words,
each half has computational entropy independent of the other. &nbsp;I don't
know if this computational assumption (about the hardness of computing
f(.)) follows from any standard assumptions, such as hardness of the decisional
DH problem.</font></tt>
<br>
<br><tt><font size=2>- Dan Brown</font></tt>
<br>
<br>
--=_alternative 00739313852571F7_=--


--===============1461679864==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============1461679864==--




From tls-bounces@lists.ietf.org Thu Sep 28 19:28:56 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GT5Ha-00031j-0a; Thu, 28 Sep 2006 19:27:10 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GT5HY-00031e-W5
	for tls@ietf.org; Thu, 28 Sep 2006 19:27:08 -0400
Received: from mga02.intel.com ([134.134.136.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GT5HU-0001Rd-Gp
	for tls@ietf.org; Thu, 28 Sep 2006 19:27:08 -0400
Received: from orsmga001.jf.intel.com ([10.7.209.18])
	by mga02.intel.com with ESMTP; 28 Sep 2006 16:27:03 -0700
Received: from fmsmsx334.amr.corp.intel.com ([132.233.42.1])
	by orsmga001.jf.intel.com with ESMTP; 28 Sep 2006 16:27:01 -0700
X-ExtLoop1: 1
X-IronPort-AV: i="4.09,231,1157353200"; 
	d="scan'208"; a="137910436:sNHT301513870"
Received: from fmsmsx311.amr.corp.intel.com ([132.233.42.214]) by
	fmsmsx334.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 16:26:59 -0700
Received: from hdsmsx412.amr.corp.intel.com ([10.127.2.72]) by
	fmsmsx311.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 16:26:59 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] PRF in TLS 1.2
Date: Thu, 28 Sep 2006 19:26:53 -0400
Message-ID: <279DDDAFA85EC74C9300A0598E704056B45169@hdsmsx412.amr.corp.intel.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] PRF in TLS 1.2
thread-index: AcbjJN186NXnoVecSSieruv/tvZRugAMDiZA
From: "Blumenthal, Uri" <uri.blumenthal@intel.com>
To: <tls@ietf.org>
X-OriginalArrivalTime: 28 Sep 2006 23:26:59.0015 (UTC)
	FILETIME=[98192D70:01C6E355]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2409bba43e9c8d580670fda8b695204a
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

>>>>No it isn't, because each half of the secret by itself has
sufficient
>>>>entropy, as far as we understand the security arguments for all of
>>>>the currently defined ciphersuites.
>>>
>>>I haven't seen a convincing argument for this when the PMS
>>is a Diffie-Hellman ZZ.
>>=20
>> There can be no convincing argument, because that statement isn't
true!
>
>It is true, under the Decisional DH assumption (see the first paper I
cited
>in my other reply). What makes you say that it isn't?

Because traditional DH is not Decisional but Computational. Except that
it appears that DH over Elliptic Curve over "proper" field is indeed
Decisional. See the caveat below.

>> It would be true for DH over Elliptic Curve.
>
>The most recent results I know of for ECDH are given in
><http://eprint.iacr.org/2005/324>; if anything the conclusions
>are slightly weaker than for DH.

That guy is talking about quadratic extensions. There are indeed "weak"
curves - however those standardized by NIST are OK.

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



From tls-bounces@lists.ietf.org Thu Sep 28 19:31:28 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GT5L6-0007KI-Ja; Thu, 28 Sep 2006 19:30:48 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GT5L5-0007JN-PB
	for tls@ietf.org; Thu, 28 Sep 2006 19:30:47 -0400
Received: from mga03.intel.com ([143.182.124.21])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GT5L4-0002C8-0S
	for tls@ietf.org; Thu, 28 Sep 2006 19:30:47 -0400
Received: from azsmga001.ch.intel.com ([10.2.17.19])
	by mga03.intel.com with ESMTP; 28 Sep 2006 16:30:45 -0700
Received: from fmsmsx333.amr.corp.intel.com ([132.233.42.2])
	by azsmga001.ch.intel.com with ESMTP; 28 Sep 2006 16:30:45 -0700
X-ExtLoop1: 1
X-IronPort-AV: i="4.09,231,1157353200"; 
	d="scan'208"; a="124527282:sNHT29292662"
Received: from fmsmsx311.amr.corp.intel.com ([132.233.42.214]) by
	fmsmsx333.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 16:30:44 -0700
Received: from hdsmsx412.amr.corp.intel.com ([10.127.2.72]) by
	fmsmsx311.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 28 Sep 2006 16:30:43 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] PRF in TLS 1.2
Date: Thu, 28 Sep 2006 19:30:40 -0400
Message-ID: <279DDDAFA85EC74C9300A0598E704056B4516B@hdsmsx412.amr.corp.intel.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] PRF in TLS 1.2
thread-index: AcbjJOQnA7NxGTFcRp6d5rG/JMFAFgAMNAqQ
From: "Blumenthal, Uri" <uri.blumenthal@intel.com>
To: <tls@ietf.org>
X-OriginalArrivalTime: 28 Sep 2006 23:30:44.0219 (UTC)
	FILETIME=[1E5494B0:01C6E356]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 08170828343bcf1325e4a0fb4584481c
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

><http://www.di.ens.fr/~pointche/Documents/Papers/2006_icalp.pdf>

I'm getting "server not found".

> In this paper we introduce very simple deterministic randomness
> extractors for Diffie-Hellman distributions. More specifically we
> show that the k most significant bits or the k least significant bits
> of a random element in a subgroup of Z*_p are indistinguishable from
> a random bit-string of the same length. This allows us to show that
> under the Decisional Diffie-Hellman assumption we can..........
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
No need to continue - as this assumption has been challenged, and for
practical purposes rejected. That is why TLS, IPsec etc. build such an
elaborate KDF instead of just parceling DH-computed key and running
various PRF from those parts.

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



From tls-bounces@lists.ietf.org Fri Sep 29 03:54:10 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTDAQ-0006To-FO; Fri, 29 Sep 2006 03:52:18 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GTDAO-0006TW-Qs
	for tls@ietf.org; Fri, 29 Sep 2006 03:52:16 -0400
Received: from moutng.kundenserver.de ([212.227.126.186])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GTD5G-0006El-Tj
	for tls@ietf.org; Fri, 29 Sep 2006 03:47:00 -0400
Received: from [80.142.179.93] (helo=tau.invalid)
	by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis),
	id 0ML25U-1GTD5D0BXu-0007m6; Fri, 29 Sep 2006 09:46:55 +0200
Received: by tau.invalid (Postfix, from userid 1000)
	id 9C6824E44; Fri, 29 Sep 2006 09:46:53 +0200 (CEST)
Date: Fri, 29 Sep 2006 09:46:53 +0200
From: Bodo Moeller <bmoeller@acm.org>
To: Daniel Brown <DBrown@certicom.com>
Subject: Re: [TLS] PRF in TLS 1.2
Message-ID: <20060929074653.GA31022@tau.invalid>
References: <451C04E0.3010508@blueyonder.co.uk>
	<OF5FF2E9CF.95D2B3BD-ON852571F7.0072B4D6-852571F7.00739318@certicom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <OF5FF2E9CF.95D2B3BD-ON852571F7.0072B4D6-852571F7.00739318@certicom.com>
User-Agent: Mutt/1.5.9i
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	login:2100a517a32aea841b51dac1f7c5a318
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 52f7a77164458f8c7b36b66787c853da
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On Thu, Sep 28, 2006 at 04:56:54PM -0400, Daniel Brown wrote:
> David Hopwood <david.nospam.hopwood@blueyonder.co.uk> wrote on 09/28/2006 
>> Eric Rescorla wrote:
>>> David Hopwood <david.nospam.hopwood@blueyonder.co.uk> writes:

>>>> No it isn't, because each half of the secret by itself has sufficient
>>>> entropy, as far as we understand the security arguments for all of the
>>>> currently defined ciphersuites.

>>> I haven't seen a convincing argument for this when the PMS is
>>> a Diffie-Hellman ZZ.

>> <http://www.di.ens.fr/~pointche/Documents/Papers/2006_icalp.pdf>
>> 
>>   In this paper we introduce very simple deterministic randomness
>>   extractors for Diffie-Hellman distributions. More specifically we
>>   show that the k most significant bits or the k least significant bits
>>   of a random element in a subgroup of Z*_p are indistinguishable from
>>   a random bit-string of the same length. This allows us to show that
>>   under the Decisional Diffie-Hellman assumption we can deterministically
>>   derive a uniformly random bit-string from a Diffie-Hellman exchange in
>>   the standard model. Then, we show that it can be used in key exchange
>>   or encryption scheme to avoid the leftover hash lemma and universal
>>   hash functions.

> As for pseudorandomness: for the upper bits your paper says that p has to 
> be sufficiently close to a power of two.  Is this a requirement for TLS 
> 1.2?

No.  More problematic is the requirement of this paper that the
subgroup order be >> sqrt(p), which means the paper cannot be applied
to Schnorr/DSA-style groups (order-q subgroup of (Z/pZ)* where
q is on the order of 2^(2k), where k is the intended "security
level", and where the bitlength of p is much larger).  For TLS,
the DH group could be anything -- we might have a Schnorr/DSA-style
group, or a group (Z/pZ)* where p is a safe prime (p = 2q + 1,
q prime).

However, while the Fouque/Pointcheval/Stern/Zimmer paper has rather
strong requirements, it needs these to arrive at an extraordinarily
strong conclusion: Under appropriate conditions (which unfortunately
are not mentioned in the abstract ...), there is not even a need to
use any hash function since the appropriate substrings of the binary
representation of the DH result can directly be used as keys.  This is
much stronger a consequence than would be needed for our purposes.


> As for entropy: If p is a 1024 prime, and g has order less than 512 bits 
> long, then its likely that there exists a function that f that such that 
> f(MSB(g^z)) = LSB(g^z).  (Please ignore if TLS 1.2 requires g to have 
> order 1023 bits long.)  In other words, one half has zero entropy relative 
> to the other.  In all likelihood, it is computationally infeasible to find 
> such a function.  In other words, each half has computational entropy 
> independent of the other.  I don't know if this computational assumption 
> (about the hardness of computing f(.)) follows from any standard 
> assumptions, such as hardness of the decisional DH problem.

This looks quite good, and we don't even need a strict result here
either.  Even assuming that one half of the DH result *could* be
computed from the other, we don't have any problem in practice since
we never reveal any half of the DH result: the PRF result is obtained
by XORing a hash result based on one half with a hash result based on
the other half, so unless there is any kind of weird interdependence
between the separate hash functions, we have nothing to fear.


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



From tls-bounces@lists.ietf.org Fri Sep 29 04:05:23 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTDMN-0005SM-RC; Fri, 29 Sep 2006 04:04:39 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GTDMM-0005Qw-R9
	for tls@ietf.org; Fri, 29 Sep 2006 04:04:38 -0400
Received: from moutng.kundenserver.de ([212.227.126.188])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GTDML-0001Vh-D1
	for tls@ietf.org; Fri, 29 Sep 2006 04:04:38 -0400
Received: from [80.142.179.93] (helo=tau.invalid)
	by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis),
	id 0MKwtQ-1GTDMK17S8-0003Mf; Fri, 29 Sep 2006 10:04:36 +0200
Received: by tau.invalid (Postfix, from userid 1000)
	id 3BF594E44; Fri, 29 Sep 2006 10:04:35 +0200 (CEST)
Date: Fri, 29 Sep 2006 10:04:35 +0200
From: Bodo Moeller <bmoeller@acm.org>
To: "Blumenthal, Uri" <uri.blumenthal@intel.com>
Subject: Re: [TLS] PRF in TLS 1.2
Message-ID: <20060929080435.GB31022@tau.invalid>
References: <279DDDAFA85EC74C9300A0598E704056B4516B@hdsmsx412.amr.corp.intel.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <279DDDAFA85EC74C9300A0598E704056B4516B@hdsmsx412.amr.corp.intel.com>
User-Agent: Mutt/1.5.9i
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	login:2100a517a32aea841b51dac1f7c5a318
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On Thu, Sep 28, 2006 at 07:30:40PM -0400, Blumenthal, Uri wrote:

>> <http://www.di.ens.fr/~pointche/Documents/Papers/2006_icalp.pdf>

> I'm getting "server not found".

You should try again, the URL is correct, you must have encountered a
temporary problem.


>> In this paper we introduce very simple deterministic randomness
>> extractors for Diffie-Hellman distributions. More specifically we
>> show that the k most significant bits or the k least significant bits
>> of a random element in a subgroup of Z*_p are indistinguishable from
>> a random bit-string of the same length. This allows us to show that
>> under the Decisional Diffie-Hellman assumption we can..........
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> No need to continue - as this assumption has been challenged, and for
> practical purposes rejected. That is why TLS, IPsec etc. build such an
> elaborate KDF instead of just parceling DH-computed key and running
> various PRF from those parts.

I wouldn't consider the DDH "rejected", but anyway, this does not
matter.  What the paper proves is that, under certain conditions that
the abstract is silent about but which can be found in the paper, the
k LSB bits or even the k MSB bits of a Diffie-Hellman distribution
have a small statistical distance from the uniform distribution.
"Diffie-Hellman distribution" here merely means a uniform random
element of the subgroup that you're working with.  This is a very
strong result, and the DDH assumption only has to be invoked to
conclude that this means you can *directly* use those LSBs or MSBs as
a key exchange result without having to worry about a KDF.

(One of the conditions for the case of MSB bits in the paper is that
the modulus p needs to be close to a power of 2.  It is obvious that
you need this condition to get a result as strong as this: If the MSBs
of p are 11000000..., say, then the MSB of uniformly random integers
between 0 and p would be 0 with probability 2/3 and 1 with probability
1/3.  This doesn't mean that such parameters are problematic in
practice if you use a hash instead of simple truncation, though.)



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



From tls-bounces@lists.ietf.org Fri Sep 29 05:43:18 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTEsK-0007Bi-Qy; Fri, 29 Sep 2006 05:41:44 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GTEsJ-0007B5-Hf
	for tls@ietf.org; Fri, 29 Sep 2006 05:41:43 -0400
Received: from mgw-ext11.nokia.com ([131.228.20.170])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GTEsI-0005zq-1Y
	for tls@ietf.org; Fri, 29 Sep 2006 05:41:43 -0400
Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213])
	by mgw-ext11.nokia.com (Switch-3.1.10/Switch-3.1.10) with ESMTP id
	k8T9eNOV015022; Fri, 29 Sep 2006 12:40:23 +0300
Received: from esebh104.NOE.Nokia.com ([172.21.143.34]) by
	esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 29 Sep 2006 12:40:23 +0300
Received: from esebe105.NOE.Nokia.com ([172.21.143.53]) by
	esebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 29 Sep 2006 12:40:23 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [TLS] PRF in TLS 1.2
Date: Fri, 29 Sep 2006 12:40:22 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2403323A97@esebe105.NOE.Nokia.com>
In-Reply-To: <451BF1AF.1040405@blueyonder.co.uk>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [TLS] PRF in TLS 1.2
Thread-Index: AcbjF4gTTt106G/ETB2pumCmZDSX4wAkvmww
From: <Pasi.Eronen@nokia.com>
To: <david.hopwood@blueyonder.co.uk>, <tls@ietf.org>
X-OriginalArrivalTime: 29 Sep 2006 09:40:23.0593 (UTC)
	FILETIME=[49561990:01C6E3AB]
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 7655788c23eb79e336f5f8ba8bce7906
Cc: 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

David Hopwood wrote:
> I don't see what the motivation is for changing the PRF at all.
>=20
> Sure, it's an inelegant construction, but that's not important.

Is your concern about just changing the "default" PRF, or are
you also opposed to introducing new PRFs for new ciphersuites?

(The latter seems to be implied by our WG charter.)

> If you have multiple PRFs, you would have to prove that *all* the
> PRFs are secure in order for ciphersuite negotation to be secure, so
> security can't be the motivation.
>=20
> So what is the motivation?

Not *all* PRFs; only those ones that are enabled. The hope is that
some day, we can switch off the current MD5/SHA1 PRF, just like
we're now disabling SSL2 (and in some limited environments, not=20
general web browsing, you could do that pretty soon).

Best regards,
Pasi

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



From tls-bounces@lists.ietf.org Fri Sep 29 08:50:28 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTHnb-0004jK-Tt; Fri, 29 Sep 2006 08:49:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GTHna-0004h3-Jf
	for tls@ietf.org; Fri, 29 Sep 2006 08:49:02 -0400
Received: from wx-out-0506.google.com ([66.249.82.232])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GTHnZ-0006Wi-DA
	for tls@ietf.org; Fri, 29 Sep 2006 08:49:02 -0400
Received: by wx-out-0506.google.com with SMTP id t4so718880wxc
	for <tls@ietf.org>; Fri, 29 Sep 2006 05:49:01 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=JJM2aQ8jSgyb0tnLMCbH45DKfWw+2W03LLZcz9sK1YK+OUM5cPxMy6Zy//KGpGl9poV1qY5Mnt9bQBYegKDK83lUP1u5l0uXngnLh8SWFk2vOHwquxiRsuji7yJ1KeuBnN8o3E86ddtnucn9y9pqDZAOzPadbXK+T7/aXAKqanw=
Received: by 10.70.30.5 with SMTP id d5mr5053101wxd;
	Fri, 29 Sep 2006 05:49:00 -0700 (PDT)
Received: by 10.70.11.2 with HTTP; Fri, 29 Sep 2006 05:49:00 -0700 (PDT)
Message-ID: <6b9359640609290549g1226e8e5i9a25ffc50b8969ec@mail.gmail.com>
Date: Fri, 29 Sep 2006 05:49:00 -0700
From: "Kyle Hamilton" <aerowolf@gmail.com>
To: "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>
Subject: Re: [TLS] PRF in TLS 1.2
In-Reply-To: <B356D8F434D20B40A8CEDAEC305A1F2403323A97@esebe105.NOE.Nokia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <451BF1AF.1040405@blueyonder.co.uk>
	<B356D8F434D20B40A8CEDAEC305A1F2403323A97@esebe105.NOE.Nokia.com>
X-Spam-Score: 0.5 (/)
X-Scan-Signature: 39bd8f8cbb76cae18b7e23f7cf6b2b9f
Cc: david.hopwood@blueyonder.co.uk, tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On 9/29/06, Pasi.Eronen@nokia.com <Pasi.Eronen@nokia.com> wrote:
> David Hopwood wrote:
> > I don't see what the motivation is for changing the PRF at all.
> >
> > Sure, it's an inelegant construction, but that's not important.
>
> Is your concern about just changing the "default" PRF, or are
> you also opposed to introducing new PRFs for new ciphersuites?
>
> (The latter seems to be implied by our WG charter.)

Changing the default PRF would change the current ciphersuites in an
incompatible fashion, and thus would create implementation problems.
Allowing for a different PRF to be defined in a ciphersuite is the
goal; the larger problem is "how do we know what ciphersuite [and thus
PRF] we need to use?"... since MD5 and SHA1 are not FIPS-accepted and
being phased out, respectively, they can't be used down the roat in
any fashion, including handshaking, by FIPS-validated modules.

> > If you have multiple PRFs, you would have to prove that *all* the
> > PRFs are secure in order for ciphersuite negotation to be secure, so
> > security can't be the motivation.
> >
> > So what is the motivation?
>
> Not *all* PRFs; only those ones that are enabled. The hope is that
> some day, we can switch off the current MD5/SHA1 PRF, just like
> we're now disabling SSL2 (and in some limited environments, not
> general web browsing, you could do that pretty soon).

I disable SSLv2 in my general web browsing regardless.  If the server
doesn't support higher protocol revisions, I certainly don't want to
put my credit card information into it. :)

Cheers,

-Kyle H

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



From tls-bounces@lists.ietf.org Fri Sep 29 10:00:30 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTItf-0000oL-Qs; Fri, 29 Sep 2006 09:59:23 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GTItf-0000oG-3C
	for tls@ietf.org; Fri, 29 Sep 2006 09:59:23 -0400
Received: from c-69-181-78-47.hsd1.ca.comcast.net ([69.181.78.47]
	helo=delta.rtfm.com) by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1GTItc-000128-Qm for tls@ietf.org; Fri, 29 Sep 2006 09:59:23 -0400
Received: by delta.rtfm.com (Postfix, from userid 1001)
	id 4F6291CC24; Fri, 29 Sep 2006 06:56:57 -0700 (PDT)
To: "Kyle Hamilton" <aerowolf@gmail.com>
Subject: Re: [TLS] PRF in TLS 1.2
References: <451BF1AF.1040405@blueyonder.co.uk>
	<B356D8F434D20B40A8CEDAEC305A1F2403323A97@esebe105.NOE.Nokia.com>
	<6b9359640609290549g1226e8e5i9a25ffc50b8969ec@mail.gmail.com>
From: EKR <ekr@networkresonance.com>
Date: Fri, 29 Sep 2006 06:56:56 -0700
In-Reply-To: <6b9359640609290549g1226e8e5i9a25ffc50b8969ec@mail.gmail.com>
	(Kyle Hamilton's message of "Fri, 29 Sep 2006 05:49:00 -0700")
Message-ID: <86sliasrmf.fsf@delta.rtfm.com>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 798b2e660f1819ae38035ac1d8d5e3ab
Cc: david.hopwood@blueyonder.co.uk, tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: EKR <ekr@networkresonance.com>
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

"Kyle Hamilton" <aerowolf@gmail.com> writes:

> On 9/29/06, Pasi.Eronen@nokia.com <Pasi.Eronen@nokia.com> wrote:
>> David Hopwood wrote:
>> > I don't see what the motivation is for changing the PRF at all.
>> >
>> > Sure, it's an inelegant construction, but that's not important.
>>
>> Is your concern about just changing the "default" PRF, or are
>> you also opposed to introducing new PRFs for new ciphersuites?
>>
>> (The latter seems to be implied by our WG charter.)
>
> Changing the default PRF would change the current ciphersuites in an
> incompatible fashion, and thus would create implementation problems.

I don't agree with this. The version number will indicate the change
and the implementations will adjust. We know this doesn't create major
implementation problems becauswe we've done it already, in the
SSLv3-TLS 1.0 changeover.

-Ekr

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



From tls-bounces@lists.ietf.org Fri Sep 29 10:51:21 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTJh6-000876-Th; Fri, 29 Sep 2006 10:50:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTJgh-0007JB-3e; Fri, 29 Sep 2006 10:50:03 -0400
Received: from ns0.neustar.com ([156.154.16.158])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1GTJgg-00077W-K0; Fri, 29 Sep 2006 10:50:03 -0400
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com
	[10.31.47.10]) by ns0.neustar.com (Postfix) with ESMTP id 8DF6732890;
	Fri, 29 Sep 2006 14:50:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43)
	id 1GTJgg-0000av-C2; Fri, 29 Sep 2006 10:50:02 -0400
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
To: i-d-announce@ietf.org
From: Internet-Drafts@ietf.org
Message-Id: <E1GTJgg-0000av-C2@stiedprstage1.ietf.org>
Date: Fri, 29 Sep 2006 10:50:02 -0400
X-Spam-Score: -2.5 (--)
X-Scan-Signature: b7b9551d71acde901886cc48bfc088a6
Cc: tls@ietf.org
Subject: [TLS] I-D ACTION:draft-ietf-tls-psk-null-01.txt 
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the Transport Layer Security Working Group of the IETF.

	Title		: Pre-Shared Key Cipher Suites with NULL Encryption for Transport Layer Security (TLS)
	Author(s)	: U. Blumenthal, P. Goel
	Filename	: draft-ietf-tls-psk-null-01.txt
	Pages		: 5
	Date		: 2006-9-29
	
This document specifies authentication-only cipher suites for the 
Pre-Shared Key based Transport Layer Security (TLS) protocol to 
support null encryption. These cipher suites are useful for countries 
and places with cryptography-related restrictions.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-tls-psk-null-01.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of 
the message. 
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.

Internet-Drafts are also available by anonymous FTP. Login with the 
username "anonymous" and a password of your e-mail address. After 
logging in, type "cd internet-drafts" and then 
"get draft-ietf-tls-psk-null-01.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-tls-psk-null-01.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body; access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID: <2006-9-29043009.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-tls-psk-null-01.txt

--OtherAccess
Content-Type: Message/External-body; name="draft-ietf-tls-psk-null-01.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2006-9-29043009.I-D@ietf.org>


--OtherAccess--

--NextPart
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--NextPart--





From tls-bounces@lists.ietf.org Fri Sep 29 11:25:38 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTKDu-0007vm-SR; Fri, 29 Sep 2006 11:24:22 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GTKDt-0007uW-16
	for tls@ietf.org; Fri, 29 Sep 2006 11:24:21 -0400
Received: from nat194.certicom.com ([66.48.18.194] helo=mail.ca.certicom.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GTKDp-0004r4-C4
	for tls@ietf.org; Fri, 29 Sep 2006 11:24:20 -0400
Received: from spamfilter.certicom.com (localhost.localdomain [127.0.0.1])
	by mail.ca.certicom.com (Postfix) with ESMTP id 18B5D1006B074;
	Fri, 29 Sep 2006 11:24:14 -0400 (EDT)
Received: from mail.ca.certicom.com ([127.0.0.1])
	by spamfilter.certicom.com (storm [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 18703-30; Fri, 29 Sep 2006 11:24:07 -0400 (EDT)
Received: from certicom1.certicom.com (domino1.certicom.com [10.0.1.24])
	by mail.ca.certicom.com (Postfix) with ESMTP id A97AE1006B039;
	Fri, 29 Sep 2006 11:24:07 -0400 (EDT)
In-Reply-To: <20060929074653.GA31022@tau.invalid>
To: Bodo Moeller <bmoeller@acm.org>
Subject: Re: [TLS] PRF in TLS 1.2
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.5 November 30, 2005
Message-ID: <OFD4B0A61F.1277BFC4-ON852571F8.00515479-852571F8.0054FD97@certicom.com>
From: Daniel Brown <DBrown@certicom.com>
Date: Fri, 29 Sep 2006 11:22:44 -0400
X-MIMETrack: Serialize by Router on Certicom1/Certicom(Release 7.0.1|January
	17, 2006) at 09/29/2006 11:22:46 AM,
	Serialize complete at 09/29/2006 11:22:46 AM
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 6a45e05c1e4343200aa6b327df2c43fc
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0960331075=="
Errors-To: tls-bounces@lists.ietf.org

This is a multipart message in MIME format.
--===============0960331075==
Content-Type: multipart/alternative;
	boundary="=_alternative 0054FD95852571F8_="

This is a multipart message in MIME format.
--=_alternative 0054FD95852571F8_=
Content-Type: text/plain; charset="US-ASCII"

Bodo Moeller <bmoeller@acm.org> wrote on 09/29/2006 03:46:53 AM:

> On Thu, Sep 28, 2006 at 04:56:54PM -0400, Daniel Brown wrote:
> > David Hopwood <david.nospam.hopwood@blueyonder.co.uk> wrote on 
09/28/2006 
> >> Eric Rescorla wrote:
> >>> David Hopwood <david.nospam.hopwood@blueyonder.co.uk> writes:
> 
> >>>> No it isn't, because each half of the secret by itself has 
sufficient
> >>>> entropy, as far as we understand the security arguments for all of 
the
> >>>> currently defined ciphersuites.
> 
> >>> I haven't seen a convincing argument for this when the PMS is
> >>> a Diffie-Hellman ZZ.
> 
> >> <http://www.di.ens.fr/~pointche/Documents/Papers/2006_icalp.pdf>
> >> 
> >>   In this paper we introduce very simple deterministic randomness
> >>   extractors for Diffie-Hellman distributions. More specifically we
> >>   show that the k most significant bits or the k least significant 
bits
> >>   of a random element in a subgroup of Z*_p are indistinguishable 
from
> >>   a random bit-string of the same length. This allows us to show that
> >>   under the Decisional Diffie-Hellman assumption we can 
deterministically
> >>   derive a uniformly random bit-string from a Diffie-Hellman exchange 
in
> >>   the standard model. Then, we show that it can be used in key 
exchange
> >>   or encryption scheme to avoid the leftover hash lemma and universal
> >>   hash functions.
> 
> 
> > As for entropy: If p is a 1024 prime, and g has order less than 512 
bits 
> > long, then its likely that there exists a function that f that such 
that 
> > f(MSB(g^z)) = LSB(g^z).  (Please ignore if TLS 1.2 requires g to have 
> > order 1023 bits long.)  In other words, one half has zero entropy 
relative 
> > to the other.  In all likelihood, it is computationally infeasible to 
find 
> > such a function.  In other words, each half has computational entropy 
> > independent of the other.  I don't know if this computational 
assumption 
> > (about the hardness of computing f(.)) follows from any standard 
> > assumptions, such as hardness of the decisional DH problem.
> 
> This looks quite good, and we don't even need a strict result here
> either.  Even assuming that one half of the DH result *could* be
> computed from the other, we don't have any problem in practice since
> we never reveal any half of the DH result: the PRF result is obtained
> by XORing a hash result based on one half with a hash result based on
> the other half, so unless there is any kind of weird interdependence
> between the separate hash functions, we have nothing to fear.
> 

I was only trying to address certain assertions being made about the 
security rationale for the TLS PRF.  Although I'm not aware of any attacks 
on the old TLS design, I fear that I understand too little the attacks on 
MD5/SHA1 to feel confident as others that preimage resistance is not going 
to be weakened, at least in the next 5 years.  That's why I would like to 
see a formal justification for the TLS PRF design, or alternative PRF 
designs.

Is there any definitive write-up (say peer-reviewed) of why the TLS PRF is 
secure?  There seems to be an eternal debate between those who think 
splitting the secret in half and XOR separate PRFs on each other has 
security greater than, or at least as good as, the sum (or maximum) of its 
parts, whereas other who think the security less than, or at most as good 
as, the minimum of its parts.  I'm not sure myself, but I would feel 
better if I see could an formal paper explaning it one way or another.

I know of a paper by Kaliski and Jonsson,  "On the Security of RSA 
Encryption in TLS", which gives a security proof assuming that one of the 
PRFs is a random oracle (regardless of whether the other is insecure, e.g. 
invertible).  That's a good start, but now that both SHA-1 and MD5 are 
showing cracks, in so far as collisions can be found faster than in random 
oracles, it would be better to give some other kind of argument not 
depending on random oracles.  By the way, I have not read their in detail 
enough to know if their argument applies to DH suites too.

For some ECDH suites, particularly 409-bit binary fields, the premaster 
secret has a fixed LSB.  While this does not have a big impact after going 
through a 1-way function, I wonder if splitting the PMS exposes this bias 
more than necessary.  In any case, 384+ bit curves are nominally intended 
to provide 192+ bits of security. I don't see how the TLS PRF can provide 
more 160 bits of security, unless one is wildly optimistic about the 
design of TLS PRF:  that it provides security equal to the sum of its 
parts (not just the maximum), i.e. 128 + 160 = 288.  If this additive 
property were true, then it would be quite easy to build one-way 
functions, which seems too good to be true.  Perhaps the objective of TLS 
PRF is something weaker than being 1-way?

Thanks,

Dan








--=_alternative 0054FD95852571F8_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=2>Bodo Moeller &lt;bmoeller@acm.org&gt; wrote on 09/29/2006
03:46:53 AM:<br>
<br>
&gt; On Thu, Sep 28, 2006 at 04:56:54PM -0400, Daniel Brown wrote:<br>
&gt; &gt; David Hopwood &lt;david.nospam.hopwood@blueyonder.co.uk&gt; wrote
on 09/28/2006 <br>
&gt; &gt;&gt; Eric Rescorla wrote:<br>
&gt; &gt;&gt;&gt; David Hopwood &lt;david.nospam.hopwood@blueyonder.co.uk&gt;
writes:<br>
&gt; <br>
&gt; &gt;&gt;&gt;&gt; No it isn't, because each half of the secret by itself
has sufficient<br>
&gt; &gt;&gt;&gt;&gt; entropy, as far as we understand the security arguments
for all of the<br>
&gt; &gt;&gt;&gt;&gt; currently defined ciphersuites.<br>
&gt; <br>
&gt; &gt;&gt;&gt; I haven't seen a convincing argument for this when the
PMS is<br>
&gt; &gt;&gt;&gt; a Diffie-Hellman ZZ.<br>
&gt; <br>
&gt; &gt;&gt; &lt;http://www.di.ens.fr/~pointche/Documents/Papers/2006_icalp.pdf&gt;<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; &nbsp; In this paper we introduce very simple deterministic
randomness<br>
&gt; &gt;&gt; &nbsp; extractors for Diffie-Hellman distributions. More
specifically we<br>
&gt; &gt;&gt; &nbsp; show that the k most significant bits or the k least
significant bits<br>
&gt; &gt;&gt; &nbsp; of a random element in a subgroup of Z*_p are indistinguishable
from<br>
&gt; &gt;&gt; &nbsp; a random bit-string of the same length. This allows
us to show that<br>
&gt; &gt;&gt; &nbsp; under the Decisional Diffie-Hellman assumption we
can deterministically<br>
&gt; &gt;&gt; &nbsp; derive a uniformly random bit-string from a Diffie-Hellman
exchange in<br>
&gt; &gt;&gt; &nbsp; the standard model. Then, we show that it can be used
in key exchange<br>
&gt; &gt;&gt; &nbsp; or encryption scheme to avoid the leftover hash lemma
and universal<br>
&gt; &gt;&gt; &nbsp; hash functions.<br>
&gt; <br>
&gt; <br>
&gt; &gt; As for entropy: If p is a 1024 prime, and g has order less than
512 bits <br>
&gt; &gt; long, then its likely that there exists a function that f that
such that <br>
&gt; &gt; f(MSB(g^z)) = LSB(g^z). &nbsp;(Please ignore if TLS 1.2 requires
g to have <br>
&gt; &gt; order 1023 bits long.) &nbsp;In other words, one half has zero
entropy relative <br>
&gt; &gt; to the other. &nbsp;In all likelihood, it is computationally
infeasible to find <br>
&gt; &gt; such a function. &nbsp;In other words, each half has computational
entropy <br>
&gt; &gt; independent of the other. &nbsp;I don't know if this computational
assumption <br>
&gt; &gt; (about the hardness of computing f(.)) follows from any standard
<br>
&gt; &gt; assumptions, such as hardness of the decisional DH problem.<br>
&gt; <br>
&gt; This looks quite good, and we don't even need a strict result here<br>
&gt; either. &nbsp;Even assuming that one half of the DH result *could*
be<br>
&gt; computed from the other, we don't have any problem in practice since<br>
&gt; we never reveal any half of the DH result: the PRF result is obtained<br>
&gt; by XORing a hash result based on one half with a hash result based
on<br>
&gt; the other half, so unless there is any kind of weird interdependence<br>
&gt; between the separate hash functions, we have nothing to fear.<br>
&gt; <br>
</font></tt>
<br><tt><font size=2>I was only trying to address certain assertions being
made about the security rationale for the TLS PRF. &nbsp;Although I'm not
aware of any attacks on the old TLS design, I fear that I understand too
little the attacks on MD5/SHA1 to feel confident as others that preimage
resistance is not going to be weakened, at least in the next 5 years. &nbsp;That's
why I would like to see a formal justification for the TLS PRF design,
or alternative PRF designs.</font></tt>
<br>
<br><tt><font size=2>Is there any definitive write-up (say peer-reviewed)
of why the TLS PRF is secure? &nbsp;There seems to be an eternal debate
between those who think splitting the secret in half and XOR separate PRFs
on each other has security greater than, or at least as good as, the sum
(or maximum) of its parts, whereas other who think the security less than,
or at most as good as, the minimum of its parts. &nbsp;I'm not sure myself,
but I would feel better if I see could an formal paper explaning it one
way or another.</font></tt>
<br>
<br><tt><font size=2>I know of a paper by Kaliski and Jonsson, &nbsp;&quot;On
the Security of RSA Encryption in TLS&quot;, which gives a security proof
assuming that one of the PRFs is a random oracle (regardless of whether
the other is insecure, e.g. invertible). &nbsp;That's a good start, but
now that both SHA-1 and MD5 are showing cracks, in so far as collisions
can be found faster than in random oracles, it would be better to give
some other kind of argument not depending on random oracles. &nbsp;By the
way, I have not read their in detail enough to know if their argument applies
to DH suites too.</font></tt>
<br>
<br><tt><font size=2>For some ECDH suites, particularly 409-bit binary
fields, the premaster secret has a fixed LSB. &nbsp;While this does not
have a big impact after going through a 1-way function, I wonder if splitting
the PMS exposes this bias more than necessary. &nbsp;In any case, 384+
bit curves are nominally intended to provide 192+ bits of security. I don't
see how the TLS PRF can provide more 160 bits of security, unless one is
wildly optimistic about the design of TLS PRF: &nbsp;that it provides security
equal to the sum of its parts (not just the maximum), i.e. 128 + 160 =
288. &nbsp;If this additive property were true, then it would be quite
easy to build one-way functions, which seems too good to be true. &nbsp;Perhaps
the objective of TLS PRF is something weaker than being 1-way?</font></tt>
<br>
<br><tt><font size=2>Thanks,</font></tt>
<br>
<br><tt><font size=2>Dan</font></tt>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--=_alternative 0054FD95852571F8_=--


--===============0960331075==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0960331075==--




From tls-bounces@lists.ietf.org Fri Sep 29 12:38:30 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTLMA-0006X4-1E; Fri, 29 Sep 2006 12:36:58 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GTLM9-0006Ww-MZ
	for tls@ietf.org; Fri, 29 Sep 2006 12:36:57 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GTLM8-0006WH-6V
	for tls@ietf.org; Fri, 29 Sep 2006 12:36:57 -0400
Received: from [80.142.179.93] (helo=tau.invalid)
	by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis),
	id 0ML29c-1GTLM10Oyd-0008Su; Fri, 29 Sep 2006 18:36:52 +0200
Received: by tau.invalid (Postfix, from userid 1000)
	id E10384DEC; Fri, 29 Sep 2006 18:36:47 +0200 (CEST)
Date: Fri, 29 Sep 2006 18:36:47 +0200
From: Bodo Moeller <bmoeller@acm.org>
To: Daniel Brown <DBrown@certicom.com>
Subject: Re: [TLS] PRF in TLS 1.2
Message-ID: <20060929163647.GA10886@tau.invalid>
References: <20060929074653.GA31022@tau.invalid>
	<OFD4B0A61F.1277BFC4-ON852571F8.00515479-852571F8.0054FD97@certicom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <OFD4B0A61F.1277BFC4-ON852571F8.00515479-852571F8.0054FD97@certicom.com>
User-Agent: Mutt/1.5.9i
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	login:2100a517a32aea841b51dac1f7c5a318
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f66b12316365a3fe519e75911daf28a8
Cc: tls@ietf.org
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Errors-To: tls-bounces@lists.ietf.org

On Fri, Sep 29, 2006 at 11:22:44AM -0400, Daniel Brown wrote:

> I was only trying to address certain assertions being made about the 
> security rationale for the TLS PRF.  Although I'm not aware of any attacks 
> on the old TLS design, I fear that I understand too little the attacks on 
> MD5/SHA1 to feel confident as others that preimage resistance is not going 
> to be weakened, at least in the next 5 years.  That's why I would like to 
> see a formal justification for the TLS PRF design, or alternative PRF 
> designs.
> 
> Is there any definitive write-up (say peer-reviewed) of why the TLS PRF is 
> secure?  There seems to be an eternal debate between those who think 
> splitting the secret in half and XOR separate PRFs on each other has 
> security greater than, or at least as good as, the sum (or maximum) of its 
> parts, whereas other who think the security less than, or at most as good 
> as, the minimum of its parts.  I'm not sure myself, but I would feel 
> better if I see could an formal paper explaning it one way or another.

No, there is no such paper.  Furthermore, while it appears that using
the TLS PRF is reasonable for the currently existing ciphersuites, its
rather bizarre design imposes non-obvious design rules on new key
exchange mechanisms for TLS (they must take into account the premaster
secret splitting), so it certainly is desireable to replace the PRF
eventually.  RFC 4492, the TLS ECC specification, acknowledges that
the current TLS PRF may be replaced by a new PRF:

   ([...]                                       As of TLS 1.0 [2] and
   1.1 [3], this means that the MD5- and SHA-1-based TLS PRF serves as a
   KDF; it is conceivable that future TLS versions or new TLS extensions
   introduced in the future may vary this computation.)



> For some ECDH suites, particularly 409-bit binary fields, the premaster 
> secret has a fixed LSB.  While this does not have a big impact after going 
> through a 1-way function, I wonder if splitting the PMS exposes this bias 
> more than necessary.

Actually, for ECDH we have more to worry about fixed MSBs than fixed
LSBs.  E.g. for the 409-bit field (with about 406 or 407 bits of
entropy in the ECDH result for NIST K-409 and NIST B-409,
respectively), it is a 52-octet string that is split into two parts of
26*8 = 208 bits each.  The first (MD5) portion starts with seven bits
that are fixed to zero, and accordingly the second (SHA-1) portion
gets more than half of the total entropy.

(If there's an odd number of octets in the ECDH-result x coordinate,
then the TLS PRF has the medium octet shared between the MD5 and SHA-1
inputs, so in that case we don't waste too much entropy on MD5 either.)

>                       In any case, 384+ bit curves are nominally intended 
> to provide 192+ bits of security. I don't see how the TLS PRF can provide 
> more 160 bits of security, unless one is wildly optimistic about the 
> design of TLS PRF:  that it provides security equal to the sum of its 
> parts (not just the maximum), i.e. 128 + 160 = 288.  If this additive 
> property were true, then it would be quite easy to build one-way 
> functions, which seems too good to be true.  Perhaps the objective of TLS 
> PRF is something weaker than being 1-way?

The additive property certainly is not true to this extent, at least
not in the sense of 1-way-ness.  But then indeed we don't actually
need a 1-way function here.  And we don't really need more than
160 bits of security against non-quantum adversaries -- and even with
160-bit entropy truncation, 256-bit AES would remain better than
128-bit AES.  It is quite reasonable to assume that more than 160
entropy bits will survive the TLS PRF, even if we assume that MD5 is
otherwise just included as a simple mask to prevent more elaborate
attacks against the SHA-1 component of the TLS PRF.

In short, one way to think of the TLS PRF is as a PRF designed to
offer at least 160 bits of security (when fed with appropriate inputs,
such as DH or ECDH results) with potentially significantly more
against various attacks that might be effective against a variant
based on a single hash function only.

I don't really expect to see any formal proofs that the TLS PRF does
better than 160 bits, but still its design appears to prevent
straightforward attacks that could be performed in on the order of
2^160 steps, or in on the order of 2^80 steps on a quantum computer.


Certainly the TLS PRF should be replaced eventually.  It just should
not be replaced too often.  If we switch to a PRF based on a single
hash function from the "SHA-2" family (SHA-224, SHA-256, SHA-384, and
SHA-512), will that be good enough?  Or should we rather wait a while
to see what is coming out of the current research, such as the
NIST's hash-function analogue of the AES selection process?

Bodo


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



From tls-bounces@lists.ietf.org Fri Sep 29 21:01:41 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GTTCL-0005mZ-Lz; Fri, 29 Sep 2006 20:59:21 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GTTCK-0005mU-DS
	for tls@lists.ietf.org; Fri, 29 Sep 2006 20:59:20 -0400
Received: from web60914.mail.yahoo.com ([209.73.179.3])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1GTTCF-0008TG-QV
	for tls@lists.ietf.org; Fri, 29 Sep 2006 20:59:20 -0400
Received: (qmail 6391 invoked by uid 60001); 30 Sep 2006 00:59:08 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=bBP+kpXDqkCmQfy2CkyM8dQGaUudsNBoeZaAFjMCkcr5o7r0ucKkuScPtHmv/GSVU4nUQJ9bRPtbbT2wh2bunAedl77vQM3rjs0GU975bsTHj3LtazWcyg8fEsKLxVoX8d1mn5v3uCsZVUsbS4RYjeqcpA/xQZGkEnbV7gif0wo=
	; 
Message-ID: <20060930005908.6389.qmail@web60914.mail.yahoo.com>
Received: from [203.130.207.97] by web60914.mail.yahoo.com via HTTP;
	Fri, 29 Sep 2006 17:59:08 PDT
Date: Fri, 29 Sep 2006 17:59:08 -0700 (PDT)
From: Ferianto siregar <ferianto_voip@yahoo.com>
To: tls@lists.ietf.org
MIME-Version: 1.0
X-Spam-Score: 0.5 (/)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
Subject: [TLS] TLS concept :Please help...
X-BeenThere: tls@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working
	group of the IETF." <tls.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/tls>
List-Post: <mailto:tls@lists.ietf.org>
List-Help: <mailto:tls-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tls>,
	<mailto:tls-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1535190255=="
Errors-To: tls-bounces@lists.ietf.org

--===============1535190255==
Content-Type: multipart/alternative; boundary="0-190217265-1159577948=:4963"
Content-Transfer-Encoding: 8bit

--0-190217265-1159577948=:4963
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

 Thank you very much for all your time to read this message. 
 All, I now have problem with TLS security concept. I have tried to read the tutorial (tls.html) from www.openser.org. 
 I have read it many times. But, I still confused to undestand it. Would you mind help me, Please? 
  
 Here are my questions: 
 1. How can we evidence that the communication that using TLS is secure communication? (Real proof) 
 2. When using TLS, how can we know that the communication has been eavesdropped by the sniffer? 
 3. Is TLS just use port 5061? If yes? How can TLS can protect the communication from sniffer who knows TLS using port 5061? 
 4. What kind of type encryption that TLS use? 
  
 I realize that my undestanding in reading TLS tutorial is weak. 
 I do hope, anybody can help me, Please... 
  
 Thank you very much, 
  
 Regards, 
  
 Ferianto
 		
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
--0-190217265-1159577948=:4963
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

 Thank you very much for all your time to read this message. <br> All, I now have problem with TLS security concept. I have tried to read the tutorial (tls.html) from <!-- w --><a href="http://www.openser.org./" target="_blank">www.openser.org.</a><!-- w --> <br> I have read it many times. But, I still confused to undestand it. Would you mind help me, Please? <br>  <br> Here are my questions: <br> 1. How can we evidence that the communication that using TLS is secure communication? (Real proof) <br> 2. When using TLS, how can we know that the communication has been eavesdropped by the sniffer? <br> 3. Is TLS just use port 5061? If yes? How can TLS can protect the communication from sniffer who knows TLS using port 5061? <br> 4. What kind of type encryption that TLS use? <br>  <br> I realize that my undestanding in reading TLS tutorial is weak. <br> I do hope, anybody can help me, Please... <br>  <br> Thank you very much, <br>  <br> Regards, <br>  <br> Ferianto<p>&#32;
		<hr size=1>Do you Yahoo!?<br> Everyone is raving about the <a href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/mailbeta"> all-new Yahoo! Mail.</a>
--0-190217265-1159577948=:4963--


--===============1535190255==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============1535190255==--




