From 48c7faa13554b5cf66e15ade6dd62a0093d57c2b Mon Sep 17 00:00:00 2001 From: "Andrew J. Stone" Date: Sat, 25 Jul 2026 19:29:29 +0000 Subject: [PATCH 1/2] Change the format of fake PlatformIds This makes explicit what the serials mean. Once this changes, there will need to be updates made to a4x2, voxel, and Omicron. --- tls/test-utils/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tls/test-utils/src/lib.rs b/tls/test-utils/src/lib.rs index 2c3f74f..3a2b579 100644 --- a/tls/test-utils/src/lib.rs +++ b/tls/test-utils/src/lib.rs @@ -520,7 +520,7 @@ pub fn generate_config_start_end(start: usize, end: usize) -> ValidDocument { /// Return the platform id string associated with the `nth` sprockets /// configuration pub fn platform_id(n: usize) -> String { - format!("PDV2:913-0000019:RRR:2{n:07}") + format!("PDV2:913-0000019:RRR:2FAKE{n:03}") } pub fn platform_id_prefix(n: usize) -> String { From 9696587e5be21a91441412240993d89e45c913ee Mon Sep 17 00:00:00 2001 From: "Andrew J. Stone" Date: Sat, 25 Jul 2026 20:12:58 +0000 Subject: [PATCH 2/2] fix test --- tls/test-keys/config.kdl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tls/test-keys/config.kdl b/tls/test-keys/config.kdl index 6f00699..0b10aca 100644 --- a/tls/test-keys/config.kdl +++ b/tls/test-keys/config.kdl @@ -85,7 +85,7 @@ key-pair "test-platformid-1" { entity "test-platformid-1" { country-name "US" organization-name "Oxide Computer Company" - common-name "PDV2:913-0000019:RRR:20000001" + common-name "PDV2:913-0000019:RRR:2FAKE001" } certificate "test-platformid-1" { @@ -261,7 +261,7 @@ key-pair "test-platformid-2" { entity "test-platformid-2" { country-name "US" organization-name "Oxide Computer Company" - common-name "PDV2:913-0000019:RRR:20000002" + common-name "PDV2:913-0000019:RRR:2FAKE002" } certificate "test-platformid-2" {