File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,9 @@ pub struct ClementineConfig<E: Debug + Clone + ClementineEntityConfig> {
347
347
/// Security council.
348
348
pub security_council : SecurityCouncil ,
349
349
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
+
350
353
// TLS certificates
351
354
/// Path to the server certificate file.
352
355
///
@@ -430,6 +433,13 @@ impl<E: ClementineEntityConfig> Default for ClementineConfig<E> {
430
433
threshold : 1 ,
431
434
} ,
432
435
436
+ emergency_stop_encryption_public_key : Some (
437
+ hex:: decode ( "025d32d10ec7b899df4eeb4d80918b7f0a1f2a28f6af24f71aa2a59c69c0d531" )
438
+ . expect ( "valid hex" )
439
+ . try_into ( )
440
+ . expect ( "valid key" ) ,
441
+ ) ,
442
+
433
443
server_cert_path : PathBuf :: from ( "certs/server/server.pem" ) ,
434
444
server_key_path : PathBuf :: from ( "certs/server/server.key" ) ,
435
445
client_cert_path : PathBuf :: from ( "certs/client/client.pem" ) ,
You can’t perform that action at this time.
0 commit comments