{"record":{"id":"6d3df1cdeba9c59e","repo":"openai/codex","slug":"invalid-noise-channel-public-key-0","errorCode":null,"errorMessage":"invalid Noise channel public key: {0}","messagePattern":"invalid Noise channel public key: (.+?)","errorType":"exception","errorClass":"NoiseChannelError","httpStatus":null,"severity":"error","filePath":"codex-rs/exec-server/src/noise_channel.rs","lineNumber":299,"sourceCode":"    prologue.extend_from_slice(&len.to_be_bytes());\n    prologue.extend_from_slice(part);\n}\n\nfn ensure_noise_frame_len(\n    frame_len: usize,\n    message: &'static str,\n) -> Result<(), NoiseChannelError> {\n    if frame_len > MAX_MESSAGE_LEN {\n        return Err(NoiseChannelError::InvalidMessage(message));\n    }\n    Ok(())\n}\n\n#[derive(Debug, thiserror::Error)]\npub enum NoiseChannelError {\n    #[error(\"Noise channel key generation failed: {0}\")]\n    KeyGeneration(String),\n    #[error(\"invalid Noise channel public key: {0}\")]\n    InvalidPublicKey(&'static str),\n    #[error(\"invalid Noise channel message: {0}\")]\n    InvalidMessage(&'static str),\n    #[error(\"Noise channel handshake failed: {0}\")]\n    Handshake(String),\n    #[error(\"Noise channel transport failed: {0}\")]\n    Transport(String),\n}\n\nimpl From<clatter::error::HandshakeError> for NoiseChannelError {\n    fn from(error: clatter::error::HandshakeError) -> Self {\n        Self::Handshake(error.to_string())\n    }\n}\n\nimpl From<clatter::error::TransportError> for NoiseChannelError {\n    fn from(error: clatter::error::TransportError) -> Self {\n        Self::Transport(error.to_string())","sourceCodeStart":281,"sourceCodeEnd":317,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/exec-server/src/noise_channel.rs#L281-L317","documentation":"Error \"invalid Noise channel public key: {0}\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/exec-server/src/noise_channel.rs:299 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}