Commit e946cd7b authored by Ivan Šandrk's avatar Ivan Šandrk Committed by Commit Bot

[Remote Commands] Temporarily disable secure remote commands

Since we're in the process of changing the approach slightly, roll back
and then re-enable once we update the approach.

TBR=rsorokin@chromium.org

Bug: 891222
Change-Id: Ib26cf93cb7780e795294709e3589ac06d57ae0c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1771781
Commit-Queue: Ivan Šandrk <isandrk@chromium.org>
Reviewed-by: default avatarIvan Šandrk <isandrk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690432}
parent 585d8e3e
...@@ -623,8 +623,6 @@ void CloudPolicyClient::FetchRemoteCommands( ...@@ -623,8 +623,6 @@ void CloudPolicyClient::FetchRemoteCommands(
for (const auto& command_result : command_results) for (const auto& command_result : command_results)
*request->add_command_results() = command_result; *request->add_command_results() = command_result;
request->set_send_secure_commands(true);
request_jobs_.push_back(service_->CreateJob(std::move(config))); request_jobs_.push_back(service_->CreateJob(std::move(config)));
} }
......
...@@ -245,8 +245,6 @@ class CloudPolicyClientTest : public testing::Test { ...@@ -245,8 +245,6 @@ class CloudPolicyClientTest : public testing::Test {
em::RemoteCommandResult_ResultType_RESULT_SUCCESS); em::RemoteCommandResult_ResultType_RESULT_SUCCESS);
command_result->set_payload(kResultPayload); command_result->set_payload(kResultPayload);
command_result->set_timestamp(kTimestamp); command_result->set_timestamp(kTimestamp);
remote_command_request_.mutable_remote_command_request()
->set_send_secure_commands(true);
em::RemoteCommand* command = em::RemoteCommand* command =
remote_command_response_.mutable_remote_command_response() remote_command_response_.mutable_remote_command_response()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment