aboutsummaryrefslogtreecommitdiff
path: root/dbus/cryptohome
diff options
context:
space:
mode:
authorRyo Hashimoto <hashimoto@google.com>2017-03-29 13:07:23 +0900
committerchrome-bot <chrome-bot@chromium.org>2017-04-12 22:42:00 -0700
commitf425c1c372b0077a67937855f03f1089d0df7970 (patch)
tree97aa3dbb3cd99106de50a081d3dc17ca8c8efe56 /dbus/cryptohome
parent19115ef1bc72e0068951d236cdc0c549346adfda (diff)
downloadsystem_api-f425c1c372b0077a67937855f03f1089d0df7970.tar.gz
cryptohome: Add a new mount argument for migration
When this new argument is true, MountEx mounts the existing eCryptfs vault to a temporary location, while setting up a dircrypto home directory at the normal mount destination. BUG=chromium:702526 TEST=cryptohome --action=mount_ex --user=foo@foo.com --to_migrate_from_ecryptfs Change-Id: I8081f8a0bc166fed3649b4577d36f92bab3a1778 Reviewed-on: https://chromium-review.googlesource.com/461738 Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org> Tested-by: Ryo Hashimoto <hashimoto@chromium.org> Reviewed-by: Kazuhiro Inaba <kinaba@chromium.org>
Diffstat (limited to 'dbus/cryptohome')
-rw-r--r--dbus/cryptohome/rpc.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/cryptohome/rpc.proto b/dbus/cryptohome/rpc.proto
index be72ce1..30d8760 100644
--- a/dbus/cryptohome/rpc.proto
+++ b/dbus/cryptohome/rpc.proto
@@ -92,6 +92,9 @@ message MountRequest {
// forces to use the new encryption. That is, makes it an error to mount
// an existing home directory encrypted in the old way (ecryptfs).
optional bool force_dircrypto_if_available = 3;
+ // If set to true, mounts the existing ecryptfs vault to a temporary location
+ // while setting up a new dircrypto directory.
+ optional bool to_migrate_from_ecryptfs = 4;
}
// A BaseReply type is used for all cryptohomed responses. A shared base class