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 1578793002: Add experimental framework token generation tool (Closed)

Created:
4 years, 11 months ago by iclelland
Modified:
4 years, 9 months ago
Reviewers:
miket_OOO, palmer, chasej, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add experimental framework token generation tool This adds a command line tool for Chromium developers to generate their own tokens for experimental APIs. The key included matches the one used by unit and layout tests, and so can be used to generate additional test documents. Any other key file can also be used, so this tool can generate keys for any implementation of the EF. BUG=576278 Committed: https://crrev.com/65322b8dfef6a449c5884891031d28a4d2843c61 Cr-Commit-Position: refs/heads/master@{#378285}

Patch Set 1 #

Patch Set 2 : Better adhere to guidelines for third_party dirs #

Patch Set 3 : Add OWNERS file for tool directory #

Total comments: 9

Patch Set 4 : Addressing review comments #

Total comments: 6

Patch Set 5 : Rename all the things! #

Total comments: 2

Patch Set 6 : Move third_party code; fix bug from last patch's rename #

Total comments: 23

Patch Set 7 : Addressing feedback from PS#6 #

Patch Set 8 : Addressing remaining feedback from PS#6 #

Patch Set 9 : Update origin handling; add unit tests #

Patch Set 10 : Add version number to token format #

Patch Set 11 : Add a header to satisfy licencecheck.pl, which can't check the LICENCE file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -10 lines) Patch
A tools/origin_trials/OWNERS View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A + tools/origin_trials/PRESUBMIT.py View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -10 lines 0 comments Download
A tools/origin_trials/eftest.key View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A tools/origin_trials/generate_token.py View 1 2 3 4 5 6 7 8 9 1 chunk +141 lines, -0 lines 0 comments Download
A tools/origin_trials/generate_token_unittest.py View 1 2 3 4 5 6 7 8 1 chunk +68 lines, -0 lines 0 comments Download
A tools/origin_trials/third_party/ed25519/LICENSE View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A tools/origin_trials/third_party/ed25519/OWNERS View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A tools/origin_trials/third_party/ed25519/README.chromium View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
A tools/origin_trials/third_party/ed25519/ed25519.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +109 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (11 generated)
iclelland
+r chasej, PTAL, thanks +r davidben - this implements the signing side of the verification ...
4 years, 11 months ago (2016-01-11 16:23:36 UTC) #3
davidben
Between it being in Python and third_party stuff, I'm not sure if I'm the right ...
4 years, 11 months ago (2016-01-11 20:42:02 UTC) #4
iclelland
On 2016/01/11 20:42:02, davidben wrote: > Between it being in Python and third_party stuff, I'm ...
4 years, 11 months ago (2016-01-11 21:01:27 UTC) #5
miket_OOO
On 2016/01/11 21:01:27, iclelland wrote: > On 2016/01/11 20:42:02, davidben wrote: > > Between it ...
4 years, 11 months ago (2016-01-21 21:54:22 UTC) #6
miket_OOO
Whoops, pressed wrong button. See comments, then LGTM https://codereview.chromium.org/1578793002/diff/40001/tools/experiments/OWNERS File tools/experiments/OWNERS (left): https://codereview.chromium.org/1578793002/diff/40001/tools/experiments/OWNERS#oldcode2 tools/experiments/OWNERS:2: jkarlin@chromium.org ...
4 years, 11 months ago (2016-01-21 21:54:56 UTC) #7
chasej
LGTM, with naming suggestions. The revised naming has been sorted out (experiment -> origin trial, ...
4 years, 11 months ago (2016-01-22 18:14:00 UTC) #8
iclelland
https://codereview.chromium.org/1578793002/diff/40001/tools/experiments/OWNERS File tools/experiments/OWNERS (left): https://codereview.chromium.org/1578793002/diff/40001/tools/experiments/OWNERS#oldcode2 tools/experiments/OWNERS:2: jkarlin@chromium.org On 2016/01/21 21:54:55, miket_OOO wrote: > suggest dhnishi ...
4 years, 11 months ago (2016-01-22 20:31:58 UTC) #10
iclelland
+r thakis -- Can you take a look, as an OWNER of /tools/? Thanks!
4 years, 11 months ago (2016-01-26 15:29:47 UTC) #12
Nico
https://codereview.chromium.org/1578793002/diff/80001/tools/origin_trials/third_party/README.chromium File tools/origin_trials/third_party/README.chromium (right): https://codereview.chromium.org/1578793002/diff/80001/tools/origin_trials/third_party/README.chromium#newcode3 tools/origin_trials/third_party/README.chromium:3: URL: http://ed25519.cr.yp.to/software.html third-party code should be in a subfolder ...
4 years, 11 months ago (2016-01-26 15:33:39 UTC) #13
iclelland
https://codereview.chromium.org/1578793002/diff/80001/tools/origin_trials/third_party/README.chromium File tools/origin_trials/third_party/README.chromium (right): https://codereview.chromium.org/1578793002/diff/80001/tools/origin_trials/third_party/README.chromium#newcode3 tools/origin_trials/third_party/README.chromium:3: URL: http://ed25519.cr.yp.to/software.html On 2016/01/26 15:33:39, Nico wrote: > third-party ...
4 years, 11 months ago (2016-01-26 16:26:41 UTC) #14
Nico
lgtm, but: https://codereview.chromium.org/1578793002/diff/100001/tools/origin_trials/generate_token.py File tools/origin_trials/generate_token.py (right): https://codereview.chromium.org/1578793002/diff/100001/tools/origin_trials/generate_token.py#newcode23 tools/origin_trials/generate_token.py:23: from third_party.ed25519 import ed25519 With a snippet ...
4 years, 11 months ago (2016-01-26 17:27:46 UTC) #15
palmer
https://codereview.chromium.org/1578793002/diff/100001/tools/origin_trials/generate_token.py File tools/origin_trials/generate_token.py (right): https://codereview.chromium.org/1578793002/diff/100001/tools/origin_trials/generate_token.py#newcode25 tools/origin_trials/generate_token.py:25: HOSTNAME_REGEX = re.compile( http://stackoverflow.com/a/2532344 looks more correct. https://codereview.chromium.org/1578793002/diff/100001/tools/origin_trials/generate_token.py#newcode38 tools/origin_trials/generate_token.py:38: ...
4 years, 10 months ago (2016-02-11 22:03:20 UTC) #17
iclelland
https://codereview.chromium.org/1578793002/diff/100001/tools/origin_trials/generate_token.py File tools/origin_trials/generate_token.py (right): https://codereview.chromium.org/1578793002/diff/100001/tools/origin_trials/generate_token.py#newcode23 tools/origin_trials/generate_token.py:23: from third_party.ed25519 import ed25519 On 2016/01/26 17:27:46, Nico wrote: ...
4 years, 10 months ago (2016-02-12 22:00:50 UTC) #18
palmer
> > I think I agree, but it looks a bit strange. :) Can you ...
4 years, 10 months ago (2016-02-12 23:55:18 UTC) #19
iclelland
Sorry, Chris -- my workflow got interrupted by the long weekend. I've addressed the remaining ...
4 years, 10 months ago (2016-02-16 20:25:12 UTC) #20
palmer
> I'd like to avoid the explicit port for now; I don't have sufficient evidence ...
4 years, 10 months ago (2016-02-17 00:39:47 UTC) #21
iclelland
On 2016/02/17 00:39:47, palmer wrote: > > I'd like to avoid the explicit port for ...
4 years, 10 months ago (2016-02-17 15:22:21 UTC) #22
iclelland
On 2016/02/17 15:22:21, iclelland wrote: > On 2016/02/17 00:39:47, palmer wrote: > > > I'd ...
4 years, 9 months ago (2016-02-29 19:30:23 UTC) #23
palmer
Oops, sorry for being slow. LGTM.
4 years, 9 months ago (2016-02-29 19:51:27 UTC) #24
iclelland
No problem -- thanks for the feedback!
4 years, 9 months ago (2016-02-29 20:03:33 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1578793002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1578793002/180001
4 years, 9 months ago (2016-02-29 20:04:08 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1578793002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1578793002/200001
4 years, 9 months ago (2016-02-29 21:10:16 UTC) #31
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 9 months ago (2016-02-29 22:05:35 UTC) #33
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 22:07:39 UTC) #35
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/65322b8dfef6a449c5884891031d28a4d2843c61
Cr-Commit-Position: refs/heads/master@{#378285}

Powered by Google App Engine
This is Rietveld 408576698