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

Issue 2716443002: Implement support for draft-ietf-webpush-encryption-08 (Closed)

Created:
3 years, 10 months ago by Peter Beverloo
Modified:
3 years, 7 months ago
Reviewers:
eroman, davidben
CC:
chromium-reviews, johnme+watch_chromium.org, zea+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement support for draft-ietf-webpush-encryption-08 This CL builds upon the previous refactorings to implement support for the latest drafts (which is WGLC) of the Web Push Encryption scheme. Support is not yet enabled for incoming messages - since the message format changed slightly as well, a more trivial update to GCMEncryptionProvider is necessary as well. BUG=679789 Review-Url: https://codereview.chromium.org/2716443002 Cr-Commit-Position: refs/heads/master@{#473876} Committed: https://chromium.googlesource.com/chromium/src/+/8b48bde152a8e3a8bb1a1066854ab6e9c28a7e86

Patch Set 1 #

Patch Set 2 : Implement support for draft-ietf-webpush-encryption-08 #

Total comments: 5

Patch Set 3 : Implement support for draft-ietf-webpush-encryption-08 #

Patch Set 4 : test vectors #

Patch Set 5 : fix windows #

Patch Set 6 : fix windows^2 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+559 lines, -74 lines) Patch
M components/gcm_driver/crypto/gcm_message_cryptographer.h View 1 2 6 chunks +15 lines, -6 lines 0 comments Download
M components/gcm_driver/crypto/gcm_message_cryptographer.cc View 1 2 7 chunks +141 lines, -11 lines 3 comments Download
M components/gcm_driver/crypto/gcm_message_cryptographer_unittest.cc View 1 2 3 4 5 19 chunks +403 lines, -57 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (21 generated)
Peter Beverloo
This needs to be covered with TestVectors, but should be ready other than that.
3 years, 10 months ago (2017-02-23 16:52:50 UTC) #4
eroman
lgtm https://codereview.chromium.org/2716443002/diff/20001/components/gcm_driver/crypto/gcm_message_cryptographer.cc File components/gcm_driver/crypto/gcm_message_cryptographer.cc (right): https://codereview.chromium.org/2716443002/diff/20001/components/gcm_driver/crypto/gcm_message_cryptographer.cc#newcode177 components/gcm_driver/crypto/gcm_message_cryptographer.cc:177: std::stringstream info_stream; same comment as on other CLs ...
3 years, 7 months ago (2017-05-16 21:03:27 UTC) #8
Peter Beverloo
Thanks! PS3 contains the semantical changes, I'd appreciate another quick look on that. It includes ...
3 years, 7 months ago (2017-05-18 17:10:21 UTC) #9
eroman
lgtm https://codereview.chromium.org/2716443002/diff/100001/components/gcm_driver/crypto/gcm_message_cryptographer.cc File components/gcm_driver/crypto/gcm_message_cryptographer.cc (right): https://codereview.chromium.org/2716443002/diff/100001/components/gcm_driver/crypto/gcm_message_cryptographer.cc#newcode58 components/gcm_driver/crypto/gcm_message_cryptographer.cc:58: const char kInfo[] = "Content-Encoding: auth"; What about ...
3 years, 7 months ago (2017-05-22 18:49:48 UTC) #22
Peter Beverloo
On 2017/05/22 18:49:48, eroman wrote: > lgtm > > https://codereview.chromium.org/2716443002/diff/100001/components/gcm_driver/crypto/gcm_message_cryptographer.cc > File components/gcm_driver/crypto/gcm_message_cryptographer.cc (right): > ...
3 years, 7 months ago (2017-05-23 12:35:59 UTC) #23
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/2716443002/100001
3 years, 7 months ago (2017-05-23 12:36:35 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/8b48bde152a8e3a8bb1a1066854ab6e9c28a7e86
3 years, 7 months ago (2017-05-23 13:31:04 UTC) #28
eroman
On Tue, May 23, 2017 at 5:35 AM, <peter@chromium.org> wrote: > On 2017/05/22 18:49:48, eroman ...
3 years, 7 months ago (2017-05-23 17:43:09 UTC) #29
Peter Beverloo
3 years, 7 months ago (2017-05-23 18:17:11 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/2716443002/diff/100001/components/gcm_driver/...
File components/gcm_driver/crypto/gcm_message_cryptographer.cc (right):

https://codereview.chromium.org/2716443002/diff/100001/components/gcm_driver/...
components/gcm_driver/crypto/gcm_message_cryptographer.cc:58: const char kInfo[]
= "Content-Encoding: auth";
On 2017/05/22 18:49:48, eroman wrote:
> What about adding \0 at the end of the literal? I think the array will still
be
> initialized properly.

Updated this to use sizeof() here:
https://codereview.chromium.org/2901923002/

Powered by Google App Engine
This is Rietveld 408576698