[exim-dev] [Bug 1700] New: DKIM verification fails with pub…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1700] New: DKIM verification fails with pubkey_syntax for domainkey records published with spaces in base64 encoded publickey
https://bugs.exim.org/show_bug.cgi?id=1700

            Bug ID: 1700
           Summary: DKIM verification fails with pubkey_syntax for
                    domainkey records published with spaces in base64
                    encoded publickey
           Product: Exim
           Version: 4.86
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: DKIM
          Assignee: tom@???
          Reporter: bugs.exim@???
                CC: exim-dev@???


Exim reports a syntax error on parsing public keys which contain spaces within
the base64 encoded p= tag, which would otherwise pass validation.

As per http://dkim.org/specs/rfc4871-dkimbase.html#key-text spaces are
permitted within the base64 encoded p= tag.

An example is
dig +short bdk._domainkey.e.huntoffice.ie TXT
"v=DKIM1\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxB//
V3xdjXdGzOleXXn1d4AJ5nDBk00dZTzEVZLvJEdzYsx573qgw7q8x3gkKx20rfTQbh3/GFT6GjtMwc5ejzmneseM5fyC4pjcFELrXQvCm/NbRNSnQCFd8eGMZppxFhWSrwYI2bAprgVJxbVC3Z6qGTN6TKXI/dwPxaJR
QIDAQAB"

--
You are receiving this mail because:
You are on the CC list for the bug.