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

Issue 2818393002: cros: Mount the existing eCryptfs vault to start migration. (Closed)

Created:
3 years, 8 months ago by fukino
Modified:
3 years, 8 months ago
Reviewers:
xiyuan, hashimoto
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, dspaid
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Mount the existing eCryptfs vault to start migration. Before we call cryptohome's MigrateToDircrypto method, we need to mount existing eCryptfs valut to start migration by calling MountEx method with |to_migrate_from_ecryptfs| mount flag. Additionally, this CL removes |auth| argument from MigrateToDircrypto method, since it was removed from DBUS call in the latest cryptohome. https://chromium-review.googlesource.com/#/c/472409/6/cryptohome/cryptohome.xml BUG=711458 Review-Url: https://codereview.chromium.org/2818393002 Cr-Commit-Position: refs/heads/master@{#464945} Committed: https://chromium.googlesource.com/chromium/src/+/d698c77f8ab3b0e0e61d3fe99bc5ec9c24f8c813

Patch Set 1 #

Patch Set 2 : add a comment #

Patch Set 3 : FakeCryptohomeClient::MountEx should succeed when |to_migrate_from_ecryptfs| is true. #

Total comments: 2

Patch Set 4 : Remove |auth| argumant from MigrateToDircrypto. #

Total comments: 2

Patch Set 5 : Fix a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -29 lines) Patch
M chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc View 1 2 3 2 chunks +27 lines, -7 lines 0 comments Download
M chromeos/cryptohome/cryptohome_parameters.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/cryptohome/homedir_methods.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chromeos/cryptohome/homedir_methods.cc View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download
M chromeos/cryptohome/mock_homedir_methods.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chromeos/dbus/cryptohome_client.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chromeos/dbus/cryptohome_client.cc View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M chromeos/dbus/fake_cryptohome_client.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chromeos/dbus/fake_cryptohome_client.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chromeos/dbus/mock_cryptohome_client.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
fukino
xiyuan@, could you take a look as an owner review? hashimoto@, could you check if ...
3 years, 8 months ago (2017-04-17 04:36:38 UTC) #3
hashimoto
lgtm
3 years, 8 months ago (2017-04-17 05:27:20 UTC) #4
hashimoto
Sorry, one additional fix is needed. https://codereview.chromium.org/2818393002/diff/40001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc (right): https://codereview.chromium.org/2818393002/diff/40001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc#newcode283 chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc:283: cryptohome::Authorization(GetAuthKey()), Authorization argument ...
3 years, 8 months ago (2017-04-17 06:30:12 UTC) #5
fukino
Thanks! https://codereview.chromium.org/2818393002/diff/40001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc (right): https://codereview.chromium.org/2818393002/diff/40001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc#newcode283 chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc:283: cryptohome::Authorization(GetAuthKey()), On 2017/04/17 06:30:12, hashimoto wrote: > Authorization ...
3 years, 8 months ago (2017-04-17 06:56:59 UTC) #8
hashimoto
chromeos/dbus lgtm, thanks! https://codereview.chromium.org/2818393002/diff/60001/chromeos/dbus/cryptohome_client.h File chromeos/dbus/cryptohome_client.h (right): https://codereview.chromium.org/2818393002/diff/60001/chromeos/dbus/cryptohome_client.h#newcode577 chromeos/dbus/cryptohome_client.h:577: // authorization to the new "dircrypto" ...
3 years, 8 months ago (2017-04-17 07:01:13 UTC) #9
fukino
https://codereview.chromium.org/2818393002/diff/60001/chromeos/dbus/cryptohome_client.h File chromeos/dbus/cryptohome_client.h (right): https://codereview.chromium.org/2818393002/diff/60001/chromeos/dbus/cryptohome_client.h#newcode577 chromeos/dbus/cryptohome_client.h:577: // authorization to the new "dircrypto" encryption. On 2017/04/17 ...
3 years, 8 months ago (2017-04-17 07:05:16 UTC) #10
xiyuan
lgtm
3 years, 8 months ago (2017-04-17 16:17:16 UTC) #15
fukino
Thank you!
3 years, 8 months ago (2017-04-17 17:34:34 UTC) #16
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/2818393002/80001
3 years, 8 months ago (2017-04-17 17:34:53 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-17 17:39:24 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/d698c77f8ab3b0e0e61d3fe99bc5...

Powered by Google App Engine
This is Rietveld 408576698