From 71648a8fe81d847781d4981fb7d277c446baa8bc Mon Sep 17 00:00:00 2001 From: Heiko Seeberger Date: Sun, 15 Oct 2023 17:46:00 +0200 Subject: [PATCH] fix: change-compromised-key --- examples/simple.rs | 2 +- examples/transform.rs | 2 +- tests/integration_test.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/simple.rs b/examples/simple.rs index 6693e4f..7bb3719 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -27,7 +27,7 @@ async fn main() { async fn run() -> Result<(), Error> { let dir = env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".to_string()); - let key_path = format!("{dir}/secrets/active-road-365118-2eca6b7b8fd9.json"); + let key_path = format!("{dir}/secrets/active-road-365118-0214022979ee.json"); let pub_sub_client = PubSubClient::new(key_path, Duration::from_secs(30))?; let messages = vec!["Hello", "from pub-sub-client"] diff --git a/examples/transform.rs b/examples/transform.rs index 0eb74be..2a5febe 100644 --- a/examples/transform.rs +++ b/examples/transform.rs @@ -35,7 +35,7 @@ async fn main() { async fn run() -> Result<(), Error> { let dir = env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".to_string()); - let key_path = format!("{dir}/secrets/active-road-365118-2eca6b7b8fd9.json"); + let key_path = format!("{dir}/secrets/active-road-365118-0214022979ee.json"); let pub_sub_client = PubSubClient::new(key_path, Duration::from_secs(30))?; let messages = vec!["Hello", "from pub-sub-client"] diff --git a/tests/integration_test.rs b/tests/integration_test.rs index f3020a7..e4b8cca 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -55,7 +55,7 @@ async fn test() { // locally the file must be decrypted. env::set_var("PUB_SUB_BASE_URL", base_url); let pub_sub_client = PubSubClient::new( - "secrets/active-road-365118-2eca6b7b8fd9.json", + "secrets/active-road-365118-0214022979ee.json", Duration::from_secs(30), ); env::set_var("PUB_SUB_BASE_URL", "");