Skip to content

Releases: NC3-TestingPlatform/mailvalidator

v0.1.8

15 May 13:17
26e6e01

Choose a tag to compare

What's changed

Added

  • mailvalidator/constants.py — new module exposing SMTP_DEFAULT_PORT, DNS_TIMEOUT, SMTP_TIMEOUT, and HTTP_TIMEOUT constants.
  • pytest-mock>=3.12 added to dev extras.

Changed

  • models: FullReport deprecated alias removed; use MailReport directly.
  • assessor: assess() parameters after the first positional are now keyword-only (enforced by *,).
  • cli: check command gains a --timeout / -T option (default 5.0 s); exit code 1 is now raised when the calculated grade is D or F.
  • reporter: injectable console parameter on all print_* functions; Console created with highlight=False; save_report() raises ValueError for unsupported extensions.
  • print_verdict signature changed from (actions, grade) to (report, *, console=None) — verdict actions and grade are now extracted internally.
  • verdict: VerdictSeverity gains LOW (1 pt) and INFO (0 pt) members, aligning the enum with headersvalidator.

Impact

Harmonization pass 2. Migration: rename FullReportMailReport in any code that imported it directly. The --timeout flag is a new addition with no breaking effect.


Full changelog: https://github.com/NC3-TestingPlatform/mailvalidator/blob/master/CHANGELOG.md

v0.1.7

15 May 10:42
v0.1.7
52437d1

Choose a tag to compare

What's changed

Changed

  • __init__: added NullHandler on the "mailvalidator" logger so library
    users do not see spurious "No handler found" warnings, consistent with all
    other platform modules.
  • CLI: internal variable as_json renamed to json_output across all
    sub-commands, aligning with the platform-wide naming convention.

Impact

Maintenance release. Library users consuming mailvalidator as a Python
dependency will no longer see No handler found for logger "mailvalidator"
warnings. No functional changes to checks, scoring, or output formats.


Full changelog: https://github.com/NC3-TestingPlatform/mailvalidator/blob/master/CHANGELOG.md

v0.1.6

15 May 10:42
v0.1.6
2693bcd

Choose a tag to compare

What's changed

Added

  • PQC Key Exchange check — the TLS section now reports post-quantum
    cryptography readiness for each SMTP server. Uses the vendored
    quantumvalidator module (same pattern as chainvalidator) to probe
    whether a PQC hybrid key exchange group (e.g. X25519MLKEM768) was
    negotiated. Result status: GOOD (PQC-ready), WARNING (classical
    key exchange only), or INFO (probe unavailable — requires OpenSSL ≥ 3.0).
    Appears as a MEDIUM verdict action when the server is not PQC-ready.
  • quantumvalidator vendored dependency — added as a git submodule
    under vendor/quantumvalidator (CNSA 2.0, BSI TR-02102-2 standards).

Impact

SMTP servers are now probed for post-quantum cryptography readiness
alongside all existing TLS checks. Servers not using ML-KEM hybrid key
exchange (e.g. X25519MLKEM768) receive a new MEDIUM verdict action,
providing early visibility ahead of CNSA 2.0 deadlines. Requires
OpenSSL ≥ 3.0 on the host for the PQC probe to run.


Full changelog: https://github.com/NC3-TestingPlatform/mailvalidator/blob/master/CHANGELOG.md