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 <noreply@anthropic.com>
This commit is contained in:
@@ -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 {}: {}",
|
||||
|
||||
Reference in New Issue
Block a user