Suped

DKIM2 draft 05 adds SHA-512 and tighter validation rules

News
Published 26 Aug 2026
Updated 27 Oct 2026
8 min read
Summarize with
DKIM2 draft 05 illustration with an envelope beside SHA-512 hashing and validation symbols.
Updated on 27 Oct 2026: We updated the DKIM2 draft status and clarified revision-specific validation tests.
The DKIM working group published draft-ietf-dkim-dkim2-spec-05 on August 25, 2026. The revision added SHA-512 for hash-function agility testing and tightened several parser and verifier rules. The official IETF Datatracker entry lists draft 07, published October 18, 2026, as the active Internet-Draft. Draft 05 is an earlier revision.
DKIM2 remains a proposal for experimental implementations. Draft 05 does not change current DKIM, SPF, or DMARC requirements, and it sets no production rollout date or operator deadline.
DKIM2 remains an Internet-Draft
Internet-Drafts can change, be replaced, or expire. Treat the proposed DKIM2 behavior below as experimental. Keep production mail on current DKIM, SPF, and DMARC practices.

What changed in DKIM2 draft 05

Draft 05 includes changes that matter to anyone building an experimental DKIM2 parser, signer, verifier, or conformance suite. Several changes close ambiguity that could otherwise let two implementations parse the same header field differently. The capitalization cleanup is editorial, while the other items affect data acceptance, algorithm coverage, or diagnostic output.

Area

Draft 05 proposal

Implementer effect

Unsigned fields
Match the header maintenance draft
Refresh ignore lists
Hashing
Add sha512
Exercise algorithm agility
Hash list
No repeated algorithm per Message-Instance field
Reject duplicates
Selectors
No repeated selector per DKIM2-Signature field
Reject duplicates
JSON Recipes
Lowercase header names
Enforce one form
Errors
Report JSON faults specifically
Improve diagnostics
Empty revisions
Drop the former SHOULD NOT
Avoid rejection for this condition alone
Editorial
Normalize capitalization
Reduce textual variation
Proposed changes in draft-ietf-dkim-dkim2-spec-05
The unsigned header field update ties the main specification to separate maintenance work. That matters because a DKIM2 hash covers a defined view of the message. If one implementation ignores a field and another hashes it, they will disagree even when both cryptographic calculations work. Shared maintenance text gives implementers one reference point for that exclusion set. Draft 05 also removes a former SHOULD NOT concerning extra Message-Instance fields that contain no Recipes and repeat the previous hashes. The draft now describes those fields as pointless overhead rather than forbidding them. A conformance test should therefore avoid rejecting a message for that condition alone. Capitalization changes elsewhere are editorial normalization, not new wire behavior.
DKIM2 draft 05 checks for unsigned headers, SHA-512, duplicate values, lowercase Recipe keys, and JSON errors.
DKIM2 draft 05 checks for unsigned headers, SHA-512, duplicate values, lowercase Recipe keys, and JSON errors.

SHA-512 tests hash-function agility

Draft 05 defines SHA-256 and SHA-512 for message header and body hashes. Its stated reason for adding SHA-512 is to test whether implementations can handle more than one hash function cleanly. That makes this an agility test, not a claim that current SHA-256 DKIM signing has become unacceptable.
Implementers need to keep message hashing separate from signature algorithm naming. In draft 05, SHA-512 applies to the hashes stored in Message-Instance fields. Draft 05 defines RSA-SHA256 and Ed25519-SHA256 as signature algorithms. A parser that assumes every DKIM2 hash identifier has sha256 in its name fails a valid draft 05 test case.
Proposed DKIM2 draft 05 behavior
  1. A signer can calculate SHA-256, SHA-512, or both under draft 05.
  2. Draft 05 requires experimental verifiers to implement both defined hashes and both signature algorithms.
  3. Each hash algorithm can occur only once in one Message-Instance field.
Current production behavior
  1. Existing DKIM signing and verification requirements do not change.
  2. Do not publish new keys or alter selectors for this draft.
  3. The draft imposes no production enforcement requirement on mailbox providers.
A useful test matrix should cover SHA-256 alone, SHA-512 alone, both in one field, an unknown algorithm, and a repeated known algorithm. A repeated hash algorithm should produce the draft's duplicate-hash PERMERROR. Unsupported algorithms are ignored under draft 05. Those tests belong in an isolated harness with captured messages, not live sending paths.

Duplicate values and JSON recipe validation rules

Draft 05 forbids repeating a hash algorithm within one Message-Instance field or a selector within one DKIM2-Signature field. The proposed uniqueness checks remove questions about whether order matters, whether a later value replaces an earlier value, or whether two results should be combined. Experimental signers should avoid creating duplicates. Experimental verifiers should return PERMERROR for these syntax or structure errors, using the draft's specific diagnostic messages.
The JSON Recipe rule is similarly concrete. Header field names used as JSON keys must be lowercase, although matching those names against message fields remains case-insensitive. The example below restores an earlier Subject value using the lowercase key subject. Changing that key to Subject violates draft 05. The JSON object is base64-encoded in the Message-Instance r= tag.
Draft 05 header Recipe with a lowercase keyjson
{ "h": { "subject": [ { "d": [ "Original subject" ] } ] } }
Verifiers are also asked to identify JSON problems specifically. That makes test failures easier to diagnose. Instead of reporting a generic DKIM2 header syntax failure for every malformed Recipe, a verifier can distinguish invalid JSON, a missing Message-Instance field, a duplicate hash algorithm, and a duplicate selector. Precise failures make interoperability sessions much faster because two teams can compare the same failure category before comparing cryptographic output.
DKIM2 draft 05 verifier flow through syntax checks, Recipe decoding, message reconstruction, and results.
DKIM2 draft 05 verifier flow through syntax checks, Recipe decoding, message reconstruction, and results.

What changed after draft 05

The IETF revision history records further changes after draft 05. Experimental test suites need to distinguish these revisions.
  1. Draft 06 corrected PERMFAIL references, refined duplicate-value diagnostics, and added replay checks. It also clarified that PASS does not establish that a message is safe.
  2. Draft 07 prohibits duplicate JSON keys and adds base64 "u" Recipe steps for non-UTF-8 data.
  3. Draft 07 removes the donotmodify and donotexplode flags. September working group discussion had raised problems with legitimate forwarding.
  4. Draft 07 adds the composite post-quantum signature algorithm MLDSA44-Ed25519-SHA512. This is separate from draft 05's SHA-512 message hashes.
September's DKIM2 and DMARC proposals are working material. They do not justify adding authentication methods to a production DMARC record.

Who should track this draft

The revision matters most to people already writing or testing DKIM2 code. It also gives operators of systems that modify or assess mail a clearer basis for experimental interoperability work. For background on the larger proposal, the DKIM2 overview explains the chain model and what remains familiar.
  1. Parser authors should update accepted hash identifiers, enforce lowercase Recipe keys, and reject repeated values.
  2. Signer authors should generate deterministic lists without duplicate algorithms or selectors.
  3. Verifier authors should add SHA-512 calculation paths and return the proposed error categories.
  4. Test maintainers should create positive and negative vectors for each new constraint and compare exact outcomes.
  5. Forwarders, mailing lists, mailbox providers, and ESPs should watch interoperability results without changing production handling.
  6. Standards watchers should track later revisions for changed requirements and progression toward an RFC.
Forwarders and mailing lists are especially relevant because DKIM2 proposes Recipes that let verifiers reconstruct earlier message states in a chain of custody. Mailbox providers and ESPs will care about parser consistency, validation cost, and useful diagnostics if the work advances. The draft imposes no deployment obligation on those groups.

What operators should do now

Most domain owners need to do nothing for DKIM2 draft 05. Keep operating current authentication, verify that today's DKIM records work, and continue monitoring DMARC results. Suped's DKIM checker checks current DKIM DNS records; it is not a DKIM2 draft readiness test.
Do not change production mail
Draft 05 creates no reason to rotate keys, publish a new DNS record, rename selectors, change signing algorithms, alter DMARC policy, or reject mail that lacks DKIM2 fields. This Internet-Draft sets no operator deadline or rollout date.
Implementers should keep DKIM2 experiments separate from production. Pin each test harness to a specific draft revision, record that revision alongside every vector, and expect later drafts to change requirements. Feed results back into standards discussion only after confirming that failures come from the selected draft rule being tested rather than MIME handling, base64 parsing, or message canonicalization.
  1. Watch the Datatracker version and working group discussion for replacements.
  2. Use synthetic or captured messages in a non-production environment.
  3. Test SHA-512 and duplicate values, plus JSON validation and diagnostic rules for the selected revision.
  4. Exchange vectors and expected errors with other experimental implementations.
  5. Wait for standards progress and explicit operational guidance before planning production changes.
Suped is our DMARC reporting and email authentication platform. Use its DMARC monitoring to review aggregate reports and investigate SPF or DKIM authentication failures for current sending sources. Those checks support deployed authentication; they do not measure DKIM2 draft conformance.
Domain owners looking for a decision can follow the current DKIM2 change guidance: keep existing records and production authentication intact.

Frequently asked questions

No. Draft 05 is an earlier Internet-Draft, superseded by draft 07. DKIM2 has not been published as an RFC.

No. SHA-512 was added to the DKIM2 draft to test hash-function agility. It does not change current DKIM requirements.

No. Do not change selectors, keys, DNS records, signing, or production authentication because of this draft.

Test SHA-512 hashes, duplicate algorithms, duplicate selectors, lowercase JSON Recipe keys, specific JSON errors, and the revised unsigned-header list in an isolated environment. Pin expected results to the draft revision; newer revisions add further checks.

No. This Internet-Draft sets no deployment deadline or mandatory production migration schedule. Experimental software availability does not create a sender requirement.
DMARC monitoring

Start monitoring your DMARC reports today

Suped DMARC platform dashboard
What you'll get with Suped
Real-time DMARC report monitoring and analysis
Automated alerts for authentication failures
Clear recommendations to improve email deliverability
Protection against phishing and domain spoofing