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

Issue 2751803002: Serialize and deserialize dynamic Expect-CT state (Closed)

Created:
3 years, 9 months ago by estark
Modified:
3 years, 8 months ago
Reviewers:
mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Serialize and deserialize dynamic Expect-CT state This CL serializes/deserializes dynamic Expect-CT state in TransportSecurityPersister. This is a step in the implementation of the draft Expect-CT HTTP header (https://tools.ietf.org/html/draft-ietf-httpbis-expect-ct-00). BUG=679012 Review-Url: https://codereview.chromium.org/2751803002 Cr-Commit-Position: refs/heads/master@{#465436} Committed: https://chromium.googlesource.com/chromium/src/+/a368232f23a0dc98b909bdc424e11f794a8364e6

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix dictionary keys comment #

Total comments: 13

Patch Set 4 : mattm comments #

Patch Set 5 : Expect-CT subdictionary, more tests #

Patch Set 6 : add test for LoadEntries clearing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -77 lines) Patch
M net/http/transport_security_persister.h View 1 2 3 4 4 chunks +10 lines, -10 lines 0 comments Download
M net/http/transport_security_persister.cc View 1 2 3 4 9 chunks +189 lines, -67 lines 0 comments Download
M net/http/transport_security_persister_unittest.cc View 1 2 3 4 5 8 chunks +173 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 34 (24 generated)
estark
Next in the Expect-CT series https://codereview.chromium.org/2751803002/diff/40001/net/http/transport_security_persister.h File net/http/transport_security_persister.h (left): https://codereview.chromium.org/2751803002/diff/40001/net/http/transport_security_persister.h#oldcode128 net/http/transport_security_persister.h:128: void PopulateEntryWithDefaults(base::DictionaryValue* host); This ...
3 years, 8 months ago (2017-04-14 18:30:40 UTC) #10
mattm
https://codereview.chromium.org/2751803002/diff/40001/net/http/transport_security_persister.cc File net/http/transport_security_persister.cc (right): https://codereview.chromium.org/2751803002/diff/40001/net/http/transport_security_persister.cc#newcode107 net/http/transport_security_persister.cc:107: // TODO(davidben): This can be removed when the STS ...
3 years, 8 months ago (2017-04-15 04:45:02 UTC) #13
estark
davidben: what was the vision for on-disk storage of dynamic STS and PKP state? Trying ...
3 years, 8 months ago (2017-04-15 20:18:03 UTC) #14
davidben
On 2017/04/15 20:18:03, estark wrote: > davidben: what was the vision for on-disk storage of ...
3 years, 8 months ago (2017-04-18 16:31:16 UTC) #15
estark
Thanks, David. In the absence of strong opinions, I think an Expect-CT subdictionary is simplest, ...
3 years, 8 months ago (2017-04-18 17:10:59 UTC) #18
mattm
On 2017/04/18 17:10:59, estark wrote: > Thanks, David. In the absence of strong opinions, I ...
3 years, 8 months ago (2017-04-18 20:25:35 UTC) #21
estark
https://codereview.chromium.org/2751803002/diff/40001/net/http/transport_security_persister_unittest.cc File net/http/transport_security_persister_unittest.cc (right): https://codereview.chromium.org/2751803002/diff/40001/net/http/transport_security_persister_unittest.cc#newcode251 net/http/transport_security_persister_unittest.cc:251: EXPECT_TRUE(persister_->LoadEntries(serialized, &dirty)); On 2017/04/18 20:25:35, mattm wrote: > On ...
3 years, 8 months ago (2017-04-18 22:36:26 UTC) #27
mattm
lgtm
3 years, 8 months ago (2017-04-18 22:49:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2751803002/120001
3 years, 8 months ago (2017-04-18 23:00:42 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 00:35:00 UTC) #34
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/a368232f23a0dc98b909bdc424e1...

Powered by Google App Engine
This is Rietveld 408576698