internetstandards / Internet.nl

Internet standards compliance test suite
https://internet.nl
171 stars 35 forks source link

Add checks for RFC8460, SMTP-TLS reporting (TLSRPT) #881 #1300

Open uwekamper opened 6 months ago

uwekamper commented 6 months ago

This PR adds support for checking the policy record (e.g. _smtp._tls.example.com). The check parses the record and results in a "WARNING" state when the TLSRPT policy record is either nonexistant or malformed. To check if the TLSRPT record is well formed, we include a TLSRPT policy record parser in this PR.

The respective descriptions have been updated for both "en" and "nl" translations – though the "nl" translations needs to be looked over by a native speaker.

The test results UI has been updated to include the TLSRPT check on the results page (as part of 'Authenticity marks against phishing' section).

TLSRPT record broken or non-existing:

tlsrpt-broken tlsrpt-nonexistant

TLSRPT record exists and is well-formed:

tlsrpt-good

bwbroersma commented 1 week ago

@mxsasha: