diff --git a/codex-rs/exec-server/src/noise_channel.rs b/codex-rs/exec-server/src/noise_channel.rs index 8daef309f8..1dfc75a4e5 100644 --- a/codex-rs/exec-server/src/noise_channel.rs +++ b/codex-rs/exec-server/src/noise_channel.rs @@ -21,7 +21,7 @@ use serde::Deserialize; use serde::Serialize; /// Identifies the handshake pattern and algorithms used by this channel. -pub const NOISE_CHANNEL_SUITE: &str = "Noise_hybridIK_X25519+MLKEM768_AESGCM_SHA256"; +pub(crate) const NOISE_CHANNEL_SUITE: &str = "Noise_hybridIK_X25519+MLKEM768_AESGCM_SHA256"; type DhKeyPair = KeyPair<::PubKey, ::PrivateKey>; type KemKeyPair = KeyPair<::PubKey, ::SecretKey>; @@ -64,14 +64,6 @@ pub struct NoiseChannelIdentity { kem: KemKeyPair, } -impl std::fmt::Debug for NoiseChannelIdentity { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - f.debug_struct("NoiseChannelIdentity") - .field("public_key", &self.public_key()) - .finish_non_exhaustive() - } -} - impl NoiseChannelIdentity { pub fn generate() -> Result { let dh = X25519::genkey()