]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Merge branch 'master' into vstakhov-html-fuzzy
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 5 Oct 2025 15:27:00 +0000 (16:27 +0100)
committerGitHub <noreply@github.com>
Sun, 5 Oct 2025 15:27:00 +0000 (16:27 +0100)
1  2 
src/plugins/fuzzy_check.c

index 9568cf8410dc87e30933c88ffb632d971bfd0799,f538e6cb60de477ea14b8b926542325e48660672..4d24f71821396587a00b8214fa8d497426dda6b2
@@@ -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;