happyDeliver/pkg/analyzer
Pierre-Olivier Mercier 1b8627ef86 dkim: expose algorithm, hash list, and key size in DKIM record analysis
Parse k=, h=, a= tags and derive RSA key bit-length from the public key
so consumers can detect weak configurations (SHA-1, short keys).
Scoring now penalises rsa-sha1 (cap 60), RSA <1024 bit (cap 25), and
RSA <2048 bit (cap 75); Ed25519 receives no penalty.

Fixes: #37
2026-05-18 20:57:31 +08:00
..
analyzer.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
authentication_arc.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_arc_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_bimi.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_bimi_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_dkim.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_dkim_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_dmarc.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_dmarc_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_iprev.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_iprev_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_spf.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_spf_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_test.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
authentication_x_aligned_from.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
authentication_x_aligned_from_test.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
authentication_x_google_dkim.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_x_google_dkim_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
content.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
content_test.go Add multilingual unsubscribe keywords for link detection 2026-02-23 00:15:17 +07:00
dns.go dkim: expose algorithm, hash list, and key size in DKIM record analysis 2026-05-18 20:57:31 +08:00
dns_bimi.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
dns_bimi_test.go Split dns.go in one file per check 2025-10-25 03:31:29 +07:00
dns_dkim.go dkim: expose algorithm, hash list, and key size in DKIM record analysis 2026-05-18 20:57:31 +08:00
dns_dkim_test.go dkim: expose algorithm, hash list, and key size in DKIM record analysis 2026-05-18 20:57:31 +08:00
dns_dmarc.go dmarc: add support for np= non-existent subdomain policy tag 2026-05-18 17:03:58 +08:00
dns_dmarc_test.go dmarc: add support for np= non-existent subdomain policy tag 2026-05-18 17:03:58 +08:00
dns_fcr.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
dns_mx.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
dns_resolver.go Refactor DNS resolution: create an interface to have multiple implementations 2025-11-17 10:15:55 +07:00
dns_spf.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
dns_spf_test.go Handle RFC6652 2025-11-07 14:09:05 +07:00
dns_test.go Split dns.go in one file per check 2025-10-25 03:31:29 +07:00
headers.go dmarc: implement RFC 7489 org-domain fallback and RFC 9091 PSD DMARC 2026-05-18 17:03:58 +08:00
headers_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
parser.go Make receiver hostname configurable via --receiver-hostname flag 2026-03-25 12:12:08 +07:00
parser_test.go Make receiver hostname configurable via --receiver-hostname flag 2026-03-25 12:12:08 +07:00
rbl.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
rbl_test.go dmarc: implement RFC 7489 org-domain fallback and RFC 9091 PSD DMARC 2026-05-18 17:03:58 +08:00
report.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
report_test.go Add rspamd symbol descriptions from embedded/API lookup 2026-03-26 09:51:45 +07:00
rspamd-symbols-README.md Add rspamd symbol descriptions from embedded/API lookup 2026-03-26 09:51:45 +07:00
rspamd-symbols.json Add rspamd symbol descriptions from embedded/API lookup 2026-03-26 09:51:45 +07:00
rspamd.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
rspamd_symbols.go Add rspamd symbol descriptions from embedded/API lookup 2026-03-26 09:51:45 +07:00
rspamd_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
scoring.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
spamassassin.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
spamassassin_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00