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

Issue 9863001: net: move HSTS preloaded and pinning info out of code. (Closed)

Created:
8 years, 9 months ago by agl
Modified:
8 years, 8 months ago
Reviewers:
cevans
CC:
chromium-reviews
Visibility:
Public.

Description

net: move HSTS preloaded and pinning info out of code. This change moves information about HSTS preloaded and public key pinning, that were previously written in code, into external files that can be consumed by other programs. Those files are converted by a program (that is not part of the build process) into hsts_preloaded.h. In order to make this change easier to review, hsts_preloaded.h was created by concatenating public_key_hashes.h and transport_security_state.cc. Therefore, the diffs will show where the new, generated file differs from the previous code. public_key_hashes.h and public_key_hashes_check.go are removed and subsumed by hsts_preloaded.h. BUG=none TEST=net_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132012

Patch Set 1 #

Patch Set 2 : ... #

Patch Set 3 : ... #

Total comments: 6

Patch Set 4 : Mass renaming #

Patch Set 5 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+939 lines, -3420 lines) Patch
D net/base/public_key_hashes.h View 1 chunk +0 lines, -1238 lines 0 comments Download
D net/base/public_key_hashes_check.go View 1 chunk +0 lines, -235 lines 0 comments Download
M net/base/transport_security_state.cc View 1 2 3 2 chunks +1 line, -344 lines 0 comments Download
M net/base/transport_security_state_static.h View 1 2 3 13 chunks +63 lines, -1408 lines 0 comments Download
A + net/base/transport_security_state_static.certs View 1 2 3 44 chunks +64 lines, -195 lines 0 comments Download
A net/base/transport_security_state_static.json View 1 2 3 1 chunk +267 lines, -0 lines 0 comments Download
A net/base/transport_security_state_static_generate.go View 1 2 3 1 chunk +543 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
agl
Mozilla asked for the HSTS preloaded list in a machine readable form. However, this does ...
8 years, 9 months ago (2012-03-26 21:20:29 UTC) #1
palmer
https://chromiumcodereview.appspot.com/9863001/diff/3009/net/base/hsts_preloaded.h File net/base/hsts_preloaded.h (right): https://chromiumcodereview.appspot.com/9863001/diff/3009/net/base/hsts_preloaded.h#newcode14 net/base/hsts_preloaded.h:14: -----BEGIN CERTIFICATE----- Since the certificates are in the .certs ...
8 years, 9 months ago (2012-03-26 23:40:21 UTC) #2
agl
Mass renaming done as requested. https://chromiumcodereview.appspot.com/9863001/diff/3009/net/base/hsts_preloaded.h File net/base/hsts_preloaded.h (right): https://chromiumcodereview.appspot.com/9863001/diff/3009/net/base/hsts_preloaded.h#newcode14 net/base/hsts_preloaded.h:14: -----BEGIN CERTIFICATE----- On 2012/03/26 ...
8 years, 8 months ago (2012-03-28 16:20:29 UTC) #3
palmer
lgtm
8 years, 8 months ago (2012-04-10 19:49:14 UTC) #4
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 8 months ago (2012-04-10 21:25:45 UTC) #5
agl
to cevans for rubber stamp LGTM.
8 years, 8 months ago (2012-04-11 14:51:02 UTC) #6
Chris Evans
On 2012/04/11 14:51:02, agl wrote: > to cevans for rubber stamp LGTM. Duly LGTM
8 years, 8 months ago (2012-04-11 15:04:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/9863001/13001
8 years, 8 months ago (2012-04-11 15:15:16 UTC) #8
commit-bot: I haz the power
8 years, 8 months ago (2012-04-11 15:15:22 UTC) #9
Presubmit check for 9863001-13001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Warnings **
Found lines longer than 80 characters (first 5 shown).
  net/base/transport_security_state_static.h, line 1, 86 chars \
  net/base/transport_security_state_static.h, line 1370, 83 chars \
  net/base/transport_security_state_static.h, line 1391, 91 chars \
  net/base/transport_security_state_static.h, line 1460, 81 chars \
  net/base/transport_security_state_static.h, line 1461, 87 chars

License must match:
.*? Copyright \(c\) 2012 The Chromium Authors\. All rights reserved\.\n.*? Use
of this source code is governed by a BSD-style license that can be\n.*? found in
the LICENSE file\.(?: \*/)?\n
Found a bad license header in these files:
  net/base/transport_security_state_static.h

Presubmit checks took 1.1s to calculate.

Powered by Google App Engine
This is Rietveld 408576698