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

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed)

Created:
8 years, 9 months ago by alexeypa (please no reviews)
Modified:
8 years, 9 months ago
CC:
garykac, chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, dcaiafa+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, jam, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, darin-cc_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Chromoting: Implemented security attention sequence (SAS) emulation on Windows. The default SAS is Ctrl+Alt+Delete. It can neither be intercepted by the client (at least on Windows) nor it can be injected the same way other key strokes are injected. This CL makes the Windows host to interpret a double Scroll Lock as a SAS and invoke the Chromoting service to issue the actual SAS. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126186

Patch Set 1 #

Total comments: 47

Patch Set 2 : CR feedback. #

Total comments: 2

Patch Set 3 : SessionEventExecutor + strong SD and random channel name #

Total comments: 2

Patch Set 4 : Removed dead code. #

Patch Set 5 : Rebased + a bunch of renamings #

Total comments: 47

Patch Set 6 : Another round of renamings. #

Patch Set 7 : Rebased. #

Patch Set 8 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+776 lines, -82 lines) Patch
M ipc/ipc_message_utils.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/chromoting_host_context.h View 1 3 chunks +4 lines, -1 line 0 comments Download
M remoting/host/chromoting_host_context.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host_context_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 5 1 chunk +5 lines, -3 lines 0 comments Download
A remoting/host/chromoting_messages.h View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
A remoting/host/chromoting_messages.cc View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
M remoting/host/desktop_environment.h View 1 2 3 4 5 2 chunks +15 lines, -8 lines 0 comments Download
M remoting/host/desktop_environment.cc View 1 2 3 4 5 1 chunk +38 lines, -12 lines 0 comments Download
M remoting/host/event_executor.h View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M remoting/host/event_executor_linux.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M remoting/host/event_executor_mac.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/host/event_executor_win.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/host_mock_objects.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/host_service_win.cc View 3 chunks +13 lines, -1 line 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 3 4 5 8 chunks +15 lines, -11 lines 0 comments Download
A remoting/host/sas_injector.h View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A remoting/host/sas_injector_win.cc View 1 2 3 4 5 1 chunk +186 lines, -0 lines 0 comments Download
A remoting/host/session_event_executor_win.h View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
A remoting/host/session_event_executor_win.cc View 1 2 3 4 5 1 chunk +100 lines, -0 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 3 4 5 2 chunks +8 lines, -7 lines 0 comments Download
M remoting/host/wts_session_process_launcher_win.h View 1 2 3 4 5 4 chunks +40 lines, -6 lines 0 comments Download
M remoting/host/wts_session_process_launcher_win.cc View 1 2 3 4 5 12 chunks +153 lines, -14 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 7 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
alexeypa (please no reviews)
Please, take a look. darin -> ipc/ipc_message_utils.h wez -> everything else. garykac -> FYI: see ...
8 years, 9 months ago (2012-03-06 23:52:24 UTC) #1
darin (slow to review)
https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h#newcode103 ipc/ipc_message_utils.h:103: ChromotingServiceMsgStart, i'd prefer to have jam@ sign off on ...
8 years, 9 months ago (2012-03-07 00:38:32 UTC) #2
jam
ipc lgtm http://codereview.chromium.org/9617027/diff/1/remoting/host/chromoting_service_messages.h File remoting/host/chromoting_service_messages.h (right): http://codereview.chromium.org/9617027/diff/1/remoting/host/chromoting_service_messages.h#newcode10 remoting/host/chromoting_service_messages.h:10: #ifndef REMOTING_HOST_CHROMOTING_SERVICE_MESSAGES_H_ you don't need this block ...
8 years, 9 months ago (2012-03-07 00:51:26 UTC) #3
Wez
https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h#newcode103 ipc/ipc_message_utils.h:103: ChromotingServiceMsgStart, nit: The term "service" used for the process ...
8 years, 9 months ago (2012-03-07 01:56:12 UTC) #4
alexeypa (please no reviews)
Wez, PTAL. This is a rebase + a bunch of renamings. https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): ...
8 years, 9 months ago (2012-03-07 19:59:08 UTC) #5
Wez
https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h#newcode103 ipc/ipc_message_utils.h:103: ChromotingServiceMsgStart, On 2012/03/07 19:59:08, alexeypa wrote: > On 2012/03/07 ...
8 years, 9 months ago (2012-03-08 00:01:33 UTC) #6
alexeypa (please no reviews)
FYI. https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): https://chromiumcodereview.appspot.com/9617027/diff/1/ipc/ipc_message_utils.h#newcode103 ipc/ipc_message_utils.h:103: ChromotingServiceMsgStart, On 2012/03/08 00:01:33, Wez wrote: > On ...
8 years, 9 months ago (2012-03-08 01:52:54 UTC) #7
alexeypa (please no reviews)
I've updated the CL. Added: - SessionEventExecutor for SAS - Strong security descriptor for the ...
8 years, 9 months ago (2012-03-08 19:08:10 UTC) #8
alexeypa (please no reviews)
FYI: another update finalizing the names and removing spotted debug-only code.
8 years, 9 months ago (2012-03-08 20:06:10 UTC) #9
Wez
https://chromiumcodereview.appspot.com/9617027/diff/25001/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): https://chromiumcodereview.appspot.com/9617027/diff/25001/ipc/ipc_message_utils.h#newcode103 ipc/ipc_message_utils.h:103: ChromotingSessionMsgStart, nit: Did you want to re-name this ChromotingMsgStart, ...
8 years, 9 months ago (2012-03-08 22:58:55 UTC) #10
alexeypa (please no reviews)
PTAL. Another round of renamings. https://chromiumcodereview.appspot.com/9617027/diff/25001/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): https://chromiumcodereview.appspot.com/9617027/diff/25001/ipc/ipc_message_utils.h#newcode103 ipc/ipc_message_utils.h:103: ChromotingSessionMsgStart, On 2012/03/08 22:58:55, ...
8 years, 9 months ago (2012-03-09 01:13:54 UTC) #11
Wez
LGTM but please see comments below. https://chromiumcodereview.appspot.com/9617027/diff/31001/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): https://chromiumcodereview.appspot.com/9617027/diff/31001/remoting/host/desktop_environment.cc#newcode35 remoting/host/desktop_environment.cc:35: event_executor.Pass())); On 2012/03/09 ...
8 years, 9 months ago (2012-03-09 22:24:34 UTC) #12
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/9617027/diff/31001/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): https://chromiumcodereview.appspot.com/9617027/diff/31001/remoting/host/desktop_environment.cc#newcode35 remoting/host/desktop_environment.cc:35: event_executor.Pass())); On 2012/03/09 22:24:34, Wez wrote: > No we ...
8 years, 9 months ago (2012-03-10 18:08:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/9617027/36001
8 years, 9 months ago (2012-03-12 16:36:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/9617027/35005
8 years, 9 months ago (2012-03-12 17:31:23 UTC) #15
commit-bot: I haz the power
8 years, 9 months ago (2012-03-12 19:23:09 UTC) #16
Change committed as 126186

Powered by Google App Engine
This is Rietveld 408576698