1. How to use the available message corpus to test the DKIM Verifier

Outlined here is just one of the possible way that the available Message Corpus can be used:

2. Tag values in DKIM-Signature:

Sample DKIM-Signature with Authentication-Results header:

 

DKIM-Signature: a=rsa-sha1; q=dns; l=86; t=1128384795; x=-1019098854;
            c=nowsp; s=testing1234; h=Subject:From:To:Cc:Date:Content-Type:Content-Transfer-Encoding:MIME-Version:X-DKIM;
            d=dkim.org; i=mickey@dkim.org; z=From:mickey@dkim.org|
            Subject:GM=20-=20Very=20Promising=20Beginning;
            b=wWNzEWwZ21vpEuSOMmTxPPCVJxNu+o18FRKP/JfG7D8JQl0oZzpAHhybEn5S2cHWNF3TYpgj
            89Tn2vbvPAbpcg==;
Authentication-Results: testing.dkim.org; header.From=mickey@dkim.org; dkim=pass (message from dkim.org verified; );
 

 

Tag

Meaning

v

Version (default = DKIM1.0)

a

Algorithm, e.g., rsa-sha1

b

Signature data

c

Body canonicalization, e.g., nowsp (default = simple)

d

Domain of signer

h

Signed headers

l

Body Count

i

Identity associated with signature

q

Key query method(s) (default = dns)

s

Selector specifying key to use

t

Signature timestamp

x

Signature expiration time

z

Copied headers

3. Tag Values of a DKIM Key Record

 

Tag

Meaning

v

Version (default = DKIM1.0)

g

Granularity of key (user or all users)

k

Key type (default = rsa)

n

Human-readable notes

p

Public key data

s

Service type (default = any)

t

Flags, e.g., testing

 

Records are stored in DNS TXT RRs as selector._domainkey.example.com

 

4. Test Cases:

There are only a limited number of Signed Messages included in the tarball, ten to be precise. This will increase as users contribute further suggestions and ideas. The purpose of these test cases is to test some of the basic functionalities of the DKIM Verifier being tested. Following is a brief listing of the test messages available in the Message Corpus and how they could be tested.

  1. Basic Test Case (Message: BasicTest_01)
  2. Signed Message with c=simple (Message: Simple_02)
  3. Signed Message with c=nowsp (Message: Nowsp_3)
  4. Message with MIME attachment and c=simple (Message: MIMEsimple_04)
  5. Message with MIME attachment and c=nowsp (Message: MIMEnowsp_05)
  6. Message with Multiple DKIM Signatures (Message: MultipleSig_06)
  7. Message with the presence of the "v=" tag (Message: AddedVtag_07)
  8. Multiple signed received headers (Message: MultipleReceived_08):
  9. Existing Pre-Signed Header (Message: PreSignedHeader_09):
  10. Presence of Multiple Authentication-Results headers (Message: MultipleAuthRes_10)

     

 

 

Last Modified:
Comments concerning this site should be sent to:
webmaster@testing.dkim.org