diff options
author | Ryo Hashimoto <hashimoto@google.com> | 2017-03-23 17:11:14 +0900 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-03-24 19:38:02 -0700 |
commit | 6d2fe8b135a297e2df3b61a122bcf5b611573d3c (patch) | |
tree | 5a9b10f0d8707eb35256ba5fd1f2345772f2ec46 /dbus/cryptohome | |
parent | 6a5e98e4349c435dc06fc07908be0a91039e9583 (diff) | |
download | system_api-6d2fe8b135a297e2df3b61a122bcf5b611573d3c.tar.gz |
cryptohome: Add a new CreateRequest param for eCryptfs migration testing
force_ecryptfs is added to CreateRequest.
cryptohome command line tool supports --ecryptfs option.
BUG=chromium:704462
TEST=cryptohome --action=mount_ex --user=foo@example.com --password=foo
--key_label=foo --create --ecryptfs
Change-Id: Ia8ebc40dcd75524ffda629828b9d58464daf3413
Reviewed-on: https://chromium-review.googlesource.com/458361
Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Reviewed-by: Kazuhiro Inaba <kinaba@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'dbus/cryptohome')
-rw-r--r-- | dbus/cryptohome/rpc.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/cryptohome/rpc.proto b/dbus/cryptohome/rpc.proto index ae4a0f0..be72ce1 100644 --- a/dbus/cryptohome/rpc.proto +++ b/dbus/cryptohome/rpc.proto @@ -131,6 +131,8 @@ message CreateRequest { // Setting this value means that the KeyData is filled as it // would be with a Key above or in an AddKeyRequest. optional bool copy_authorization_key = 2 [default=false]; + // If set to true, always use eCryptfs as the encryption method. + optional bool force_ecryptfs = 3 [default=false]; // In the future, this will contain account-wide data like // the deletion priority or the IdP's origin. } |