Skip to content

v8.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:26
b0ee8df

8.2.0 (2026-11-30)

Summary

DKIM verification now has a limit on how many DKIM-Signature fields it verifies per message, so one message can no longer cost an unbounded amount of memory and DNS queries. This release also adds an arcOnly option for callers that only need the ARC result.

Who should upgrade

  • Recommended for everyone who verifies inbound mail with authenticate() or dkimVerify(). Before this release every DKIM-Signature field was verified, and each one kept a copy of the header fields it signs, so a message with many signatures over a large header could use a lot of memory and key lookups.

Behavior change

  • Only the topmost 20 DKIM-Signature fields are verified. The rest get one dkim=neutral (too many signatures, N not verified) result. A message whose only valid signature sits below the first 20 no longer passes DKIM. Raise the limit with maxSignatures if you need to.

Highlights

  • New maxSignatures option for dkimVerify() and authenticate() (default 20), and report --max-signatures in the CLI. The newest ARC-Message-Signature is always verified and does not count.
  • New arcOnly option for dkimVerify(): verifies only the newest ARC-Message-Signature for arc(), skips the DKIM-Signature fields and their key lookups, and returns empty results.
  • Signatures that sign the same header field now share its string in signingHeaders.headers.

Features

  • dkim: add arcOnly option to dkimVerify (7e07282)

Bug Fixes

  • dkim: limit the number of signatures verified per message (b7ee61a)
  • dkim: limit the number of signatures verified per message (1e00a30)