From c73a5564e9318ef50374a0d76636a53c609c0c82 Mon Sep 17 00:00:00 2001 From: Daan de Graaf Date: Fri, 19 Mar 2021 14:58:43 +0000 Subject: [PATCH] Update aggregator hash. --- examples/aggregator/client/android/cpp/client.cc | 2 +- examples/aggregator/client/cpp/aggregator.cc | 2 +- examples/aggregator/config.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/aggregator/client/android/cpp/client.cc b/examples/aggregator/client/android/cpp/client.cc index 4056784b77f..54d6614e4de 100644 --- a/examples/aggregator/client/android/cpp/client.cc +++ b/examples/aggregator/client/android/cpp/client.cc @@ -55,7 +55,7 @@ JNIEXPORT void JNICALL Java_com_google_oak_aggregator_MainActivity_createChannel // The particular value corresponds to the hash on the `aggregator.wasm` line in // https://github.com/project-oak/oak/blob/hashes/reproducibility_index. oak::label::Label label = oak::WebAssemblyModuleHashLabel( - absl::HexStringToBytes("441733ff08c2536c78cd1f1ba46e831c42aa51fab58f7b27dc5bf014b3e52f3b")); + absl::HexStringToBytes("96cc2084cae2fb9be01687ef37a5ec0694610918b57482b35504a96cbc206b9e")); kChannel = Aggregator::NewStub(oak::ApplicationClient::CreateChannel( address, oak::ApplicationClient::GetTlsChannelCredentials(ca_cert), label)); JNI_LOG("gRPC channel has been created"); diff --git a/examples/aggregator/client/cpp/aggregator.cc b/examples/aggregator/client/cpp/aggregator.cc index 0fb540d8f45..69d1e4e4a1c 100644 --- a/examples/aggregator/client/cpp/aggregator.cc +++ b/examples/aggregator/client/cpp/aggregator.cc @@ -80,7 +80,7 @@ int main(int argc, char** argv) { // https://github.com/project-oak/oak/blob/hashes/reproducibility_index. // TODO(#1674): Add appropriate TLS endpoint tag to the label as well. oak::label::Label label = oak::WebAssemblyModuleHashLabel( - absl::HexStringToBytes("441733ff08c2536c78cd1f1ba46e831c42aa51fab58f7b27dc5bf014b3e52f3b")); + absl::HexStringToBytes("96cc2084cae2fb9be01687ef37a5ec0694610918b57482b35504a96cbc206b9e")); // Connect to the Oak Application. auto stub = Aggregator::NewStub(oak::ApplicationClient::CreateChannel( address, oak::ApplicationClient::GetTlsChannelCredentials(ca_cert), label)); diff --git a/examples/aggregator/config.toml b/examples/aggregator/config.toml index 73ca825a6c9..e0e2ea213b0 100644 --- a/examples/aggregator/config.toml +++ b/examples/aggregator/config.toml @@ -1,3 +1,3 @@ grpc_server_listen_address = "[::]:8080" backend_server_address = "https://localhost:8888" -aggregator_module_hash = "441733ff08c2536c78cd1f1ba46e831c42aa51fab58f7b27dc5bf014b3e52f3b" +aggregator_module_hash = "96cc2084cae2fb9be01687ef37a5ec0694610918b57482b35504a96cbc206b9e"