Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-13 Thread Tim
Hi Eran, > ... Until everyone deploys TLS, including such non-TLS bits in a TLS > page cause the browser to show a broken TLS state in the address bar. > For most web users, that's more of a red flag (valid TLS but with some > resources loaded without TLS) than no TLS at all. And in fact, in any

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-13 Thread Eran Hammer-Lahav
> -Original Message- > From: Tim [mailto:tim-proje...@sentinelchicken.org] > Sent: Thursday, June 09, 2011 7:42 AM > To: Robert Sayre > Cc: Eran Hammer-Lahav; OAuth WG; apps-disc...@ietf.org > Subject: Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC >

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-10 Thread Paul E. Jones
Nico, > On Thu, Jun 9, 2011 at 12:03 AM, Paul E. Jones > wrote: > > What issues, specifically. (Messages are all over the place and I > > don’t know exactly what issues you’re raising. Is it with the > > approach we’re proposing or something else?) > > The fundamental issue is that protecting

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-10 Thread Nico Williams
On Fri, Jun 10, 2011 at 2:16 PM, Adam Barth wrote: > On Fri, Jun 10, 2011 at 10:36 AM, Nico Williams wrote: >> The fundamental issue is that protecting the cookie alone is not >> enough.  On open wifi networks it's a fair assumption that the >> difficulty of active attacks is about the same as th

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-10 Thread Adam Barth
On Fri, Jun 10, 2011 at 10:36 AM, Nico Williams wrote: > [Dropped a few lists.] > > On Thu, Jun 9, 2011 at 12:03 AM, Paul E. Jones wrote: >> What issues, specifically.  (Messages are all over the place and I don’t >> know exactly what issues you’re raising.  Is it with the approach we’re >> propo

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-10 Thread Nico Williams
[Dropped a few lists.] On Thu, Jun 9, 2011 at 12:03 AM, Paul E. Jones wrote: > What issues, specifically.  (Messages are all over the place and I don’t > know exactly what issues you’re raising.  Is it with the approach we’re > proposing or something else?) The fundamental issue is that protecti

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-09 Thread Tim
> Digest has a bunch of problems. See this document > > http://tools.ietf.org/html/draft-ietf-httpbis-security-properties-05#section-2.2.2 > > for a short tour of them. Thanks for the link. I totally agree with all of this, and in fact there are more MitM attacks possible than are alluded to in

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-09 Thread Tim
> You are referring to draft-salgueiro-secure-state-management-04? > > In that document, Section 6 covers responses from the server. The server > may hash any part of the message it wishes, including the body and selected > header. It's possible to also have an empty body and including that in th

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-08 Thread Paul E. Jones
Tim, > Hi Paul, > > > That's the reason for the MAC. Once we can ensure the integrity of > > the message exchange, then the existing cookie mechanism can provide > > us with the secure state management capability we need. > > Maybe I'm missing something in the MAC authentication draft, but I do

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-08 Thread Paul E. Jones
What issues, specifically. (Messages are all over the place and I don’t know exactly what issues you’re raising. Is it with the approach we’re proposing or something else?) Paul From: Nico Williams [mailto:n...@cryptonector.com] Sent: Wednesday, June 08, 2011 10:55 AM To: Paul E. Jones

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-08 Thread Robert Sayre
On Wed, Jun 8, 2011 at 10:32 AM, Eran Hammer-Lahav wrote: >> -Original Message- >> From: Tim [mailto:tim-proje...@sentinelchicken.org] >> Sent: Wednesday, June 08, 2011 8:32 AM > >> At risk of repeating myself: Why not just adapt HTTP Digest for OAuth? >> That is not just rhetorical, it is

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-08 Thread Eran Hammer-Lahav
> -Original Message- > From: Tim [mailto:tim-proje...@sentinelchicken.org] > Sent: Wednesday, June 08, 2011 8:32 AM > At risk of repeating myself: Why not just adapt HTTP Digest for OAuth? > That is not just rhetorical, it is a genuine question. What is HTTP Digest > missing that you need

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-08 Thread Tim
Hi Paul, > That's the reason for the MAC. Once we can ensure the integrity of > the message exchange, then the existing cookie mechanism can provide > us with the secure state management capability we need. Maybe I'm missing something in the MAC authentication draft, but I don't see how it prov

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-08 Thread Nico Williams
On Jun 8, 2011 2:09 AM, "Paul E. Jones" wrote: > > Nico, > > Cookies would still be employed. A cookie would be used to identify the particular user, for example. However, it's important to make sure that the cookie provided by the client to the server is not stolen. It's important to ensure th

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-08 Thread Paul E. Jones
Nico, Cookies would still be employed. A cookie would be used to identify the particular user, for example. However, it's important to make sure that the cookie provided by the client to the server is not stolen. It's important to ensure that the client provided by the server to the client i

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-08 Thread Randy Fischer
On Tue, Jun 7, 2011 at 7:09 PM, Nico Williams wrote: > Or am I missing something? Well, last I tried it under apache, at least, there was a hard limit on the length of a TLS stream. Since I use HTTP for a storage system for multi-GB files, I'd really love to see alternatives. -Randy Fischer

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 9:40 PM, William J. Mills wrote: > It is possible to implement decent security with MAC, it is also possible to Not as specified. See earlier posts regarding active attacks. > screw it up.  It is far more difficult (impossible?) to implement decent > security with cookies

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread William J. Mills
-disc...@ietf.org" ; "http-st...@ietf.org" Sent: Tuesday, June 7, 2011 4:41 PM Subject: Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme > > A passive attacker can sniff your cookie and thus hijack your session. All > > you need to accompli

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 8:05 PM, Randy Fischer wrote: > On Tue, Jun 7, 2011 at 7:09 PM, Nico Williams wrote: >> Or am I missing something? > > Well, last I tried it under apache, at least, there was a hard limit > on the length of > a TLS stream.   Since I use HTTP for a storage system for multi-G

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 6:41 PM, Tim wrote: > I have to agree with Nico here.  In almost all cases I assert that, on > typical modern networks: > >  let P = difficulty of passive attack >  let M = difficulty of active (man-in-the-middle) attack > > O(P) = O(M) > . > > This isn't to say the "real wo

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Tim
> > A passive attacker can sniff your cookie and thus hijack your session. All > > you need to accomplish that attack is connect to any open wifi network and > > use Firesheep. It's a good bit harder to be an active attacker, even on an > > open wireless network. > > Yes, but only for resources t

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 6:00 PM, Ben Adida wrote: > On 6/7/11 3:57 PM, Nico Williams wrote: >> >> Not if the MAC doesn't protect enough of the request _and_ response to >> prevent active attacks.  Unless you don't care about those attacks >> (which some of you have indicated), in which case why bot

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 5:43 PM, William J. Mills wrote: > MAC adds security if the initial secret exchange is secure, and it provides > a definition for signing payload as part of the request. Not if the MAC doesn't protect enough of the request _and_ response to prevent active attacks. Unless y

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread William J. Mills
Group ; OAuth WG Sent: Tuesday, June 7, 2011 3:35 PM Subject: Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme On Tue, Jun 7, 2011 at 4:59 PM, Paul E. Jones wrote: > I fully agree with you that using TLS is usually preferred.  That said, we > encounter situations

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 4:59 PM, Paul E. Jones wrote: > I fully agree with you that using TLS is usually preferred.  That said, we > encounter situations where there were a large number of client/server > interactions and the data conveyed is not confidential information in any > way.  Using TLS

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 4:24 PM, Adam Barth wrote: > I'm not sure that's appropriate for this mechanism.  What problem does > channel binding solve? CB is not appropriate for OAuth today, no, because OAuth doesn't give you mutual authentication, which means channel binding can't be done either (we

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Paul E. Jones
Nico, > > Gonzalo and I worked on this: > > https://tools.ietf.org/html/draft-salgueiro-secure-state-management-04 > > > > This may not be entirely complete, but the idea was to allow a client > > and server to establish an association so that requests and responses > > could be authenticated. Is

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Adam Barth
On Tue, Jun 7, 2011 at 2:17 PM, Nico Williams wrote: > On Tue, Jun 7, 2011 at 1:30 PM, Adam Barth wrote: >> On Tue, Jun 7, 2011 at 10:35 AM, Nico Williams wrote: >>> I'm completely on-board with session state[*].  My comments were >>> particularly in regards to threat models.  I believe that >>>

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 1:41 PM, Igor Faynberg wrote: > Adam Barth wrote: >> Sorry.  We can't address active attackers using this mechanism.  If >> you need protection from active attackers, please use TLS. > > Actually, IPsec will work here (with WiFi networks) just as well.  It is Not really. S

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Tue, Jun 7, 2011 at 1:30 PM, Adam Barth wrote: > On Tue, Jun 7, 2011 at 10:35 AM, Nico Williams wrote: >> I'm completely on-board with session state[*].  My comments were >> particularly in regards to threat models.  I believe that >> eavesdroppers and active attackers both need to be consider

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Igor Faynberg
Adam Barth wrote: On Tue, Jun 7, 2011 at 10:35 AM, Nico Williams wrote: On Mon, Jun 6, 2011 at 10:25 PM, Paul E. Jones wrote: ... I'm completely on-board with session state[*]. My comments were particularly in regards to threat models. I believe that eavesdroppers and acti

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Adam Barth
On Tue, Jun 7, 2011 at 10:35 AM, Nico Williams wrote: > On Mon, Jun 6, 2011 at 10:25 PM, Paul E. Jones wrote: >> Nico, >> >> Sorry for coming into this so late, but I just saw this message. >> >> I don't have all of the background, but when I saw this message header and >> some of the dialog, it

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-07 Thread Nico Williams
On Mon, Jun 6, 2011 at 10:25 PM, Paul E. Jones wrote: > Nico, > > Sorry for coming into this so late, but I just saw this message. > > I don't have all of the background, but when I saw this message header and > some of the dialog, it seems there is a desire to provide some level of > authenticati

Re: [OAUTH-WG] [http-state] [apps-discuss] HTTP MAC Authentication Scheme

2011-06-06 Thread Paul E. Jones
Nico, Sorry for coming into this so late, but I just saw this message. I don't have all of the background, but when I saw this message header and some of the dialog, it seems there is a desire to provide some level of authentication to requests and/or responses between the clients and servers. G