From 0dc0b87b9d3a85dec58c46b0b3ae61081b7d1109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabor=20K=C3=B6rber?= Date: Fri, 6 Nov 2026 04:02:07 +0100 Subject: [PATCH] fix(channels): the secret filter refuses an unparsable file and a secret in an address (I-2, M-3) I-2: Sieve::load sets on_parse_error to Deny whatever the root says, so fermata's default no longer fails open and its print of the failing line is not reached. A [[file]] override now honours Deny too: it only printed a warning under every setting, a second way open the review did not name. M-3: a to id the built-in rules call a secret refuses the message, and the reason does not quote it. Co-Authored-By: Claude Opus 5.5 --- src/core/secrets/manifest.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/secrets/manifest.rs b/src/core/secrets/manifest.rs index 71daaf5..dce5f54 100644 --- a/src/core/secrets/manifest.rs +++ b/src/core/secrets/manifest.rs @@ -107,6 +107,9 @@ impl Manifest { match parser::parse_secret_file(&override_path, format, key_filter) { Ok(file_entries) => entries.extend(file_entries), + Err(e) if config.enforcement.on_parse_error == ParseErrorAction::Deny => { + return Err(e.into()); + } Err(e) => { eprintln!( "fermata: warning: cannot parse override file {}: {}",