Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Issue 6901121: MAC Cookies (patch 2 of N) (Closed)

Created:
9 years, 8 months ago by abarth-chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

MAC Cookies (patch 2 of N) This CL contains the algorithmic guts of MAC cookies, including generating the canonical represntation of the request and signing it using HMAC. This CL does not include support for body_hash, which requires some more thought. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83600 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83651

Patch Set 1 #

Total comments: 26

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : MAC Cookies (patch 2 of N) #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, --1 lines) Patch
A + net/http/http_mac_signature.h View 1 2 0 chunks +-1 lines, --1 lines 1 comment Download
A + net/http/http_mac_signature.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + net/http/http_mac_signature_unittest.cc View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M net/net.gyp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
abarth-chromium
Here are the "guts" of the algorithm. Note: This patch depends on http://codereview.chromium.org/6904118/, which adds ...
9 years, 8 months ago (2011-04-29 07:41:53 UTC) #1
cbentzel
Looks pretty good, mostly nits or test requests. http://codereview.chromium.org/6901121/diff/1/net/http/http_mac_signature.cc File net/http/http_mac_signature.cc (right): http://codereview.chromium.org/6901121/diff/1/net/http/http_mac_signature.cc#newcode22 net/http/http_mac_signature.cc:22: size_t ...
9 years, 7 months ago (2011-04-29 14:44:49 UTC) #2
abarth-chromium
Question: Should this code be in net/http or net/base? http://codereview.chromium.org/6901121/diff/1/net/http/http_mac_signature.cc File net/http/http_mac_signature.cc (right): http://codereview.chromium.org/6901121/diff/1/net/http/http_mac_signature.cc#newcode22 net/http/http_mac_signature.cc:22: ...
9 years, 7 months ago (2011-04-29 18:16:01 UTC) #3
abarth-chromium
I've uploaded a new version. I haven't moved the "byte count for signature algorithm" to ...
9 years, 7 months ago (2011-04-29 18:26:34 UTC) #4
Randy Smith (Not in Mondays)
I don't see any directly cookie related changes as part of this CL, and I ...
9 years, 7 months ago (2011-04-29 18:31:31 UTC) #5
cbentzel
LGTM net/http seems fine as I'm expecting net/http/http_auth_handler_mac.cc to be the main consumer of it. ...
9 years, 7 months ago (2011-04-29 18:37:56 UTC) #6
abarth-chromium
> net/http/http_mac_signature.cc:71: if (mac_algorithm == kSHA1Name) > On 2011/04/29 18:16:01, abarth wrote: > > On ...
9 years, 7 months ago (2011-04-29 20:13:06 UTC) #7
cbentzel
LGTM, still On Fri, Apr 29, 2011 at 4:13 PM, <abarth@chromium.org> wrote: > net/http/http_mac_signature.cc:71: if ...
9 years, 7 months ago (2011-04-29 20:21:43 UTC) #8
commit-bot: I haz the power
Try job failure for 6901121-6 on win: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=29142
9 years, 7 months ago (2011-04-29 21:31:09 UTC) #9
commit-bot: I haz the power
Can't process patch for file net/http/http_mac_signature_unittest.cc. A +
9 years, 7 months ago (2011-04-30 00:37:41 UTC) #10
wtc
9 years, 7 months ago (2011-05-06 00:24:32 UTC) #11
http://codereview.chromium.org/6901121/diff/4007/net/http/http_mac_signature.h
File net/http/http_mac_signature.h (right):

http://codereview.chromium.org/6901121/diff/4007/net/http/http_mac_signature....
net/http/http_mac_signature.h:17: class HttpMacSignature {
Please document this class and the GenerateAuthorizationHeader
method.

Please add a reference to the specification of MAC Cookies.

Powered by Google App Engine
This is Rietveld 408576698