From: Vsevolod Stakhov Date: Sun, 5 Oct 2025 15:27:00 +0000 (+0100) Subject: Merge branch 'master' into vstakhov-html-fuzzy X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92aa9b5dc01ea3c532328ea1456cedced03131d2;p=thirdparty%2Frspamd.git Merge branch 'master' into vstakhov-html-fuzzy --- 92aa9b5dc01ea3c532328ea1456cedced03131d2 diff --cc src/plugins/fuzzy_check.c index 9568cf8410,f538e6cb60..4d24f71821 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@@ -93,9 -92,13 +93,14 @@@ struct fuzzy_rule double io_timeout; struct rspamd_cryptobox_keypair *local_key; struct rspamd_cryptobox_pubkey *peer_key; + /* Separate encryption keys for read and write operations */ + struct rspamd_cryptobox_keypair *read_local_key; + struct rspamd_cryptobox_pubkey *read_peer_key; + struct rspamd_cryptobox_keypair *write_local_key; + struct rspamd_cryptobox_pubkey *write_peer_key; double max_score; double weight_threshold; + double html_weight; /* Weight multiplier for HTML hashes (default 1.0) */ enum fuzzy_rule_mode mode; gboolean skip_unknown; gboolean no_share;