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

Issue 2197023002: Updating Security Key logic to work on OSX (Closed)

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

Description

Updating Security Key logic to work on macOS Since macOS supports UDS we can reuse much on the Linux SK classes for macOS. This change updates the build macros to include SK functionality in macOS builds and passes in an ssh-auth-sock socket path based on the user name. These changes allow the Host to indicate that they support SK forwarding when the client connects. Note that the SK socket is not created until a user connects. This means we want to scope the lifetime of the socket to a Chromoting session. The SK socket class was initially used in our virtual Linux session which was created specifically for our use and could live 'forever'. Since this is not the case for macOS, and the extended lifetime is not a benefit for Linux, I have added code to clean up the socket when the session ends. BUG=633025 Committed: https://crrev.com/c0e8b3411d0fae9f3cb0e60f5918778c2e464376 Cr-Commit-Position: refs/heads/master@{#429293}

Patch Set 1 #

Patch Set 2 : Updating script to pass in a socket path to the host #

Patch Set 3 : Pre-review cleanup #

Patch Set 4 : Defaulting SK support to true since all hosts support it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -11 lines) Patch
M remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh View 1 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 chunks +10 lines, -8 lines 0 comments Download
M remoting/host/security_key/security_key_auth_handler_posix.cc View 1 2 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (25 generated)
joedow
PTAL!
4 years, 1 month ago (2016-10-31 23:00:41 UTC) #20
Sergey Ulanov
Couple nits about CL description: 1. Please add more details, see https://www.chromium.org/developers/contributing-code#TOC-Writing-change-list-descriptions 2. OSX is ...
4 years, 1 month ago (2016-11-01 17:00:09 UTC) #23
joedow
Sorry about the CL description, I updated it in my local commit but forget it ...
4 years, 1 month ago (2016-11-02 15:47:11 UTC) #26
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/2197023002/100001
4 years, 1 month ago (2016-11-02 15:47:50 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 1 month ago (2016-11-02 16:14:43 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 16:20:51 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c0e8b3411d0fae9f3cb0e60f5918778c2e464376
Cr-Commit-Position: refs/heads/master@{#429293}

Powered by Google App Engine
This is Rietveld 408576698