Skip to content

Commit 7f773c4

Browse files
committed
update clementine config to match main
1 parent d0f512d commit 7f773c4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/config/clementine.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,9 @@ pub struct ClementineConfig<E: Debug + Clone + ClementineEntityConfig> {
347347
/// Security council.
348348
pub security_council: SecurityCouncil,
349349

350+
/// The X25519 public key that will be used to encrypt the emergency stop message.
351+
pub emergency_stop_encryption_public_key: Option<[u8; 32]>,
352+
350353
// TLS certificates
351354
/// Path to the server certificate file.
352355
///
@@ -430,6 +433,13 @@ impl<E: ClementineEntityConfig> Default for ClementineConfig<E> {
430433
threshold: 1,
431434
},
432435

436+
emergency_stop_encryption_public_key: Some(
437+
hex::decode("025d32d10ec7b899df4eeb4d80918b7f0a1f2a28f6af24f71aa2a59c69c0d531")
438+
.expect("valid hex")
439+
.try_into()
440+
.expect("valid key"),
441+
),
442+
433443
server_cert_path: PathBuf::from("certs/server/server.pem"),
434444
server_key_path: PathBuf::from("certs/server/server.key"),
435445
client_cert_path: PathBuf::from("certs/client/client.pem"),

0 commit comments

Comments
 (0)