Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

An email’s “hash,” its sender-domain policy, and an address exposed in a software commit are three different things. DKIM hashes and signs selected message content; DMARC checks whether authenticated sender identities align with the visible From domain and publishes a domain owner’s handling preference; commit metadata can expose a developer’s email address. None of those is a substitute for end-to-end email encryption or signing.

What each mechanism is for

Mechanism What it evaluates or protects Who controls the relevant key or policy What a successful check means
DKIM Canonicalized message body and selected headers The signing domain publishes a public key in DNS; the message carries a signature identifying the domain and selector The signed, hashed content has not changed since signing, and the signature verifies against the signing domain’s key
SPF Whether the sending host is authorized for the envelope sender identity (MAIL FROM) The domain owner publishes SPF information in DNS The sending host passed SPF for that identity; this alone does not establish alignment with the visible From domain
DMARC Alignment of the visible RFC 5322 From domain with an authenticated SPF or DKIM identity The From-domain owner publishes a DMARC policy in DNS At least one authenticated identifier both passes its own check and aligns with the visible From domain
End-to-end signing and encryption Message content for the communicating participants Participants manage the cryptographic keys and message protection A valid signature supports integrity and authenticity; encryption provides confidentiality
Commit metadata An email address recorded in Git history The developer or repository workflow determines what address is recorded The address may be exposed in repository metadata; this is not an email-authentication result

What does an email hash actually prove?

DKIM (DomainKeys Identified Mail) is a message-signing mechanism. Under RFC 6376, the signer and verifier compute two hashes: one over the message body and one over selected header fields together with the DKIM-Signature field, treating its signature-value portion as empty during that calculation. The signer signs the result. A receiver retrieves the public key using the signing domain and selector named in the signature, then verifies it.

In practical terms, canonicalization normalizes certain representation details before hashing, so permitted formatting differences need not invalidate a signature. It is applied during signing and verification; it does not rewrite the email being transmitted. MIME attachments are part of the message content covered by the body hash.

A valid DKIM signature supports a specific, limited conclusion: the signed content has not changed since it was signed, and the signature is associated with the signing domain’s key. RFC 6376 cautions that verification “asserts nothing else about ‘protecting’ the end-to-end integrity of the message.” It does not prove that the visible author personally sent the message, that the message is safe, or that every part of the message is covered. The signature covers only the headers selected by the signer and the body as specified by the signature.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How DMARC turns authentication into a domain policy

DMARC (Domain-based Message Authentication, Reporting, and Conformance) is a policy and alignment mechanism, not another content hash. A domain owner publishes a DMARC Policy Record as a DNS TXT record for the domain used in the visible RFC 5322 From field. The receiving mail system evaluates whether SPF or DKIM authenticated an identity that aligns with that From domain. DMARC passes when at least one of those aligned checks passes; an authentication pass for an unrelated domain is not enough.

  • SPF route: SPF validates the MAIL FROM identity and DMARC checks whether that identity aligns with the visible From domain.
  • DKIM route: DKIM validates the signing domain and signed content; DMARC checks whether the signing domain aligns with the visible From domain.

The DMARC record communicates the domain owner’s requested handling for messages that fail the aligned check and can request reports. It does not dictate every receiver’s final decision: the receiver performs the checks and applies its own handling in context. A DMARC pass is not a guarantee that mail will reach the inbox, and DMARC does not encrypt a message. Current terminology and policy framework are set out in RFC 9989.

Why end-to-end protection is a separate layer

DKIM and DMARC help receiving systems assess domain-level authentication. End-to-end cryptography instead aims to protect message content for the people communicating. IETF guidance in RFC 9787 covers S/MIME and OpenPGP/MIME: signatures provide integrity and authenticity, while encryption provides confidentiality. These mechanisms can complement domain authentication, but they answer different questions.

Message structure matters. RFC 9787 says a conformant mail user agent must not generate a message that is both encrypted and signed with its only signature outside the encryption. For a sender choosing both protections, the signature belongs inside the encrypted content so the protection applies to the message intended for the recipient. End-to-end protection also depends on correct key handling and on how mail software structures and renders messages; a DKIM pass does not supply it.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What “a commit” has to do with an email address

Git commit metadata may record an author or committer email address. That can expose an address in repository history and may create a privacy or account-security concern, especially if the address is used elsewhere. A 2019 study, “Large-Scale-Exploit of GitHub Repository Metadata and Preventive Measures”, discusses email addresses in GitHub repository metadata and their possible use in targeted attacks. Its abstract does not establish how prevalent exposure is or quantify a current risk rate.

A commit is not part of DKIM or DMARC, and its email address does not authenticate an email message. It is a separate metadata exposure issue: the address may help connect a developer’s repository activity with an identity or contact address. Treat public commit history as potentially persistent when choosing what address to put in commit metadata.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.