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

Issue 3087003: Added HostKeyPair class, signatures for heartbeat messages. (Closed)

Created:
10 years, 4 months ago by Sergey Ulanov
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Alpha Left Google, dmac, awong, garykac, Paweł Hajdan Jr.
Visibility:
Public.

Description

Added HostKeyPair class, signatures for heartbeat messages. BUG=None TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54991

Patch Set 1 : - #

Total comments: 4

Patch Set 2 : Addressed review comments in the test #

Total comments: 61

Patch Set 3 : - #

Total comments: 4

Patch Set 4 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+572 lines, -52 lines) Patch
M remoting/base/constants.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/base/constants.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host.cc View 2 chunks +11 lines, -4 lines 0 comments Download
M remoting/host/heartbeat_sender.h View 1 2 3 1 chunk +52 lines, -6 lines 0 comments Download
M remoting/host/heartbeat_sender.cc View 1 2 3 2 chunks +82 lines, -25 lines 0 comments Download
A remoting/host/heartbeat_sender_unittest.cc View 1 2 3 1 chunk +148 lines, -0 lines 0 comments Download
A remoting/host/host_key_pair.h View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A remoting/host/host_key_pair.cc View 1 2 3 1 chunk +92 lines, -0 lines 0 comments Download
A remoting/host/host_key_pair_unittest.cc View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
M remoting/host/json_host_config.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/json_host_config_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A remoting/host/test_key_pair.h View 1 chunk +30 lines, -0 lines 0 comments Download
M remoting/jingle_glue/iq_request.h View 2 chunks +2 lines, -3 lines 0 comments Download
M remoting/jingle_glue/jingle_channel.cc View 2 chunks +1 line, -2 lines 0 comments Download
M remoting/jingle_glue/jingle_client.h View 1 2 3 chunks +10 lines, -1 line 0 comments Download
M remoting/jingle_glue/jingle_client.cc View 1 2 6 chunks +12 lines, -9 lines 0 comments Download
M remoting/jingle_glue/jingle_thread.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 3 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Paweł Hajdan Jr.
Drive-by with some test comments. Please let me take another look before you commit. http://codereview.chromium.org/3087003/diff/4001/5006 ...
10 years, 4 months ago (2010-08-02 18:45:26 UTC) #1
Sergey Ulanov
10 years, 4 months ago (2010-08-02 18:51:35 UTC) #2
Sergey Ulanov
Thanks. http://codereview.chromium.org/3087003/diff/4001/5006 File remoting/host/heartbeat_sender_unittest.cc (right): http://codereview.chromium.org/3087003/diff/4001/5006#newcode118 remoting/host/heartbeat_sender_unittest.cc:118: EXPECT_TRUE(signature != NULL); On 2010/08/02 18:45:26, Paweł Hajdan ...
10 years, 4 months ago (2010-08-02 19:08:02 UTC) #3
Sergey Ulanov
10 years, 4 months ago (2010-08-02 19:08:51 UTC) #4
awong
Yay! The bones of some sort of security are starting for form!!! Go Sergey! I've ...
10 years, 4 months ago (2010-08-02 19:53:49 UTC) #5
Sergey Ulanov
http://codereview.chromium.org/3087003/diff/9001/10002 File remoting/base/constants.h (right): http://codereview.chromium.org/3087003/diff/9001/10002#newcode15 remoting/base/constants.h:15: extern const char kChromotingXmlNamespace[]; On 2010/08/02 19:53:49, awong wrote: ...
10 years, 4 months ago (2010-08-03 02:10:39 UTC) #6
awong
Couple more comments. http://codereview.chromium.org/3087003/diff/9001/10004 File remoting/host/heartbeat_sender.cc (right): http://codereview.chromium.org/3087003/diff/9001/10004#newcode123 remoting/host/heartbeat_sender.cc:123: buzz::XmlElement* HeartbeatSender::CreateSignature(const std::string& jid) { On ...
10 years, 4 months ago (2010-08-03 19:21:02 UTC) #7
Paweł Hajdan Jr.
Code I commented in the drive-by LGTM.
10 years, 4 months ago (2010-08-03 20:44:03 UTC) #8
Sergey Ulanov
http://codereview.chromium.org/3087003/diff/9001/10004 File remoting/host/heartbeat_sender.cc (right): http://codereview.chromium.org/3087003/diff/9001/10004#newcode132 remoting/host/heartbeat_sender.cc:132: std::string message = jid + ' ' + time_str; ...
10 years, 4 months ago (2010-08-04 01:41:12 UTC) #9
awong
LGTM Sounds mostly good. I'm still slightly uncomfortable about the signing. Can you open a ...
10 years, 4 months ago (2010-08-04 01:48:47 UTC) #10
Sergey Ulanov
10 years, 4 months ago (2010-08-04 23:05:24 UTC) #11
Checked it in with TODO for signatures
On 2010/08/04 01:48:47, awong wrote:
> LGTM
> 
> Sounds mostly good.  I'm still slightly uncomfortable about the signing.
>  Can you open a bug for that to talk it over with our security guys?
>

Powered by Google App Engine
This is Rietveld 408576698