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

Issue 1781173005: Handle pairing_client_id in the negotiating authenticators. (Closed)

Created:
4 years, 9 months ago by Sergey Ulanov
Modified:
4 years, 9 months ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@config
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle pairing client ID in the negotiating authenticators. Previously PairingAuthenticator classes were responsible for handling client ID. This meant that in case there are multiple pairing authentication methods the client would have to resend the client_id if the host chooses different authentication method. Now the client ID is handled by the negotiating layer, so client_id needs to be sent only once. Also now NegotiatingAuthenticators create PairingAuthenticators even when falling back to PIN. This ensures that <pairing-failed> tag is always present when falling back to PIN. BUG=593123 Committed: https://crrev.com/843ef124414456330cd297383d171bd3c8ee4c91 Cr-Commit-Position: refs/heads/master@{#381633}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -143 lines) Patch
M remoting/protocol/authenticator.h View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/protocol/authenticator_test_base.cc View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/negotiating_authenticator_base.h View 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/protocol/negotiating_authenticator_base.cc View 3 chunks +25 lines, -10 lines 0 comments Download
M remoting/protocol/negotiating_client_authenticator.h View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/protocol/negotiating_client_authenticator.cc View 7 chunks +27 lines, -9 lines 0 comments Download
M remoting/protocol/negotiating_host_authenticator.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M remoting/protocol/negotiating_host_authenticator.cc View 4 chunks +26 lines, -25 lines 0 comments Download
M remoting/protocol/pairing_authenticator_base.h View 2 chunks +1 line, -8 lines 0 comments Download
M remoting/protocol/pairing_authenticator_base.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M remoting/protocol/pairing_client_authenticator.h View 1 2 3 chunks +10 lines, -4 lines 0 comments Download
M remoting/protocol/pairing_client_authenticator.cc View 1 2 2 chunks +25 lines, -19 lines 0 comments Download
M remoting/protocol/pairing_host_authenticator.h View 1 chunk +11 lines, -8 lines 0 comments Download
M remoting/protocol/pairing_host_authenticator.cc View 3 chunks +35 lines, -51 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
Sergey Ulanov
4 years, 9 months ago (2016-03-14 18:35:42 UTC) #6
Jamie
the client id is an implementation detail of the pairing protocol; it feels like a ...
4 years, 9 months ago (2016-03-14 19:04:22 UTC) #7
Sergey Ulanov
As we discussed offline we already have dependency between negotiating and pairing authentication layers. This ...
4 years, 9 months ago (2016-03-16 18:39:44 UTC) #8
Jamie
lgtm https://codereview.chromium.org/1781173005/diff/80001/remoting/protocol/pairing_client_authenticator.cc File remoting/protocol/pairing_client_authenticator.cc (right): https://codereview.chromium.org/1781173005/diff/80001/remoting/protocol/pairing_client_authenticator.cc#newcode30 remoting/protocol/pairing_client_authenticator.cc:30: error_message_ = "not-paired"; It's not obvious why this ...
4 years, 9 months ago (2016-03-17 00:36:22 UTC) #9
Sergey Ulanov
https://codereview.chromium.org/1781173005/diff/80001/remoting/protocol/pairing_client_authenticator.cc File remoting/protocol/pairing_client_authenticator.cc (right): https://codereview.chromium.org/1781173005/diff/80001/remoting/protocol/pairing_client_authenticator.cc#newcode30 remoting/protocol/pairing_client_authenticator.cc:30: error_message_ = "not-paired"; On 2016/03/17 00:36:22, Jamie wrote: > ...
4 years, 9 months ago (2016-03-17 00:49:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1781173005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1781173005/100001
4 years, 9 months ago (2016-03-17 00:50:05 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 9 months ago (2016-03-17 01:44:32 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 01:45:38 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/843ef124414456330cd297383d171bd3c8ee4c91
Cr-Commit-Position: refs/heads/master@{#381633}

Powered by Google App Engine
This is Rietveld 408576698