From 32431c6c26e0e031537d63163b88bc4f32de616e Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Mon, 27 May 2024 14:24:01 +0200 Subject: [PATCH] remove temp key warning --- crates/criticalup-dev/src/main.rs | 3 --- crates/criticalup/src/main.rs | 3 --- 2 files changed, 6 deletions(-) diff --git a/crates/criticalup-dev/src/main.rs b/crates/criticalup-dev/src/main.rs index e24ce2d..3f858f6 100644 --- a/crates/criticalup-dev/src/main.rs +++ b/crates/criticalup-dev/src/main.rs @@ -10,9 +10,6 @@ fn main() { http_user_agent: concat!("criticalup/", env!("CARGO_PKG_VERSION"), " (dev)"), download_server_url: "https://criticalup-downloads-dev.ferrocene.dev".into(), customer_portal_url: "https://customers-dev.ferrocene.dev".into(), - // TODO: this key is not permanent, and must be changed before criticalup is released. The - // key was ephemeral when it was generated, and is not persisted anywhere. If we keep it - // as-is in the binaries we release, we won't be able to change the signing keys. trust_root: PublicKey { role: KeyRole::Root, algorithm: KeyAlgorithm::EcdsaP256Sha256Asn1SpkiDer, diff --git a/crates/criticalup/src/main.rs b/crates/criticalup/src/main.rs index 2c1a122..56f247d 100644 --- a/crates/criticalup/src/main.rs +++ b/crates/criticalup/src/main.rs @@ -10,9 +10,6 @@ fn main() { http_user_agent: concat!("criticalup/", env!("CARGO_PKG_VERSION")), download_server_url: "https://criticalup-downloads.ferrocene.dev".into(), customer_portal_url: "https://customers.ferrocene.dev".into(), - // TODO: this key is not permanent, and must be changed before criticalup is released. The - // key was ephemeral when it was generated, and is not persisted anywhere. If we keep it - // as-is in the binaries we release, we won't be able to change the signing keys. trust_root: PublicKey { role: KeyRole::Root, algorithm: KeyAlgorithm::EcdsaP256Sha256Asn1SpkiDer,