dmarc-report-converter icon indicating copy to clipboard operation
dmarc-report-converter copied to clipboard

incorrect parsing Auth results DKIM

Open incous opened this issue 10 months ago • 1 comments

It happen for not parsing the correct DKIM Auth Result as the message may got multiple DKIM signatures. Example:

<auth_results>
  <dkim>
    <domain>[domain1]</domain>
    <result>pass</result>
    <selector>select1</selector>
  </dkim>
  <dkim>
    <domain>[domain2]</domain>
    <result>fail</result>
    <selector>selector2</selector>
  </dkim>
  <spf>
    <domain>[domain1]</domain>
    <result>pass</result>
  </spf>
</auth_results>

I got this, and the parsed HTML show this entry as DKIM auth fail, SPF auth pass, but DMARC still pass for DKIM & SPF

incous avatar Mar 26 '24 05:03 incous

Hi @incous,

I merged PR that should fix this problem yesterday. I'm going to make a new release soon. It would be nice if you could build dmart-report-converter from master branch and do some tests.

Thank you

tierpod avatar Apr 15 '24 17:04 tierpod