Finding library

    Weak DKIM key length

    EmailMedium

    The DKIM key that signs your outgoing mail is shorter than 2048 bits, and keys below 1024 bits can be broken with modest computing power.

    Why it matters

    An attacker who recovers the key can sign forged messages that pass DKIM and DMARC checks, so your strongest protection against spoofing stops working.

    How to check

    dig +short TXT selector._domainkey.example.com

    Replace selector with the selector name from the DKIM-Signature header of a message you sent. The length of the p value shows the key size.

    How to fix

    1. Generate a new 2048-bit key in your mail platform.
    2. Publish it under a new selector.
    3. Switch signing to the new selector, then remove the old record after a few days.

    ISO 27001 controls

    A.8.24

    Last reviewed: 15 November 2026.

    Skenify publishes a finding only after it has been confirmed on the live asset.

    Request a trial.