How it works
We canonicalise the headers and the body according to c= in the signature, compute the hash and verify the signature with WebCrypto. Only the public key is fetched from DNS. The email is not sent to us.
Why it can fail here
Email programs often change line breaks, character sets or spaces when you copy. Use the original .eml file for the best result.
How to get the original
- Gmail: open the email, choose the three-dot menu and Show original or Download message.
- Outlook on the web: choose more actions, View and View message source.
- Apple Mail: View, Message and Raw Source.
- Thunderbird: save the email as an .eml file.
What the results mean
- The body (bh) fails: the text was changed after signing, often by a mailing list or an antivirus program that adds a footer.
- The signature fails: a signed header was changed, or the key in DNS does not match.
- No key: the selector does not exist in DNS.
- Several signatures are common, for example one from the domain and one from the service that sent.