[ietf-dkim] domain keys, the h tag, and the reflector at sendmail.net

"dave" <dave.wanta@123aspx.com> Sat, 08 September 2007 03:30 UTC

Return-path: <ietf-dkim-bounces@mipassoc.org>
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1ITr1P-0005Gb-MM for ietf-dkim-archive@lists.ietf.org; Fri, 07 Sep 2007 23:30:11 -0400
Received: from mail.songbird.com ([208.184.79.10]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1ITr1O-0004xp-7z for ietf-dkim-archive@lists.ietf.org; Fri, 07 Sep 2007 23:30:11 -0400
Received: from mail.songbird.com (sb7.songbird.com [127.0.0.1]) by mail.songbird.com (8.12.11.20060308/8.12.11) with ESMTP id l883SIw4032704; Fri, 7 Sep 2007 20:28:25 -0700
Received: from mail.123aspx.com (www.123aspx.com [64.85.16.245]) by mail.songbird.com (8.12.11.20060308/8.12.11) with ESMTP id l883SG4L032687 for <ietf-dkim@mipassoc.org>; Fri, 7 Sep 2007 20:28:16 -0700
Received: from amh-bb-dynamic-pppoe8-29.dsl.airstreamcomm.net [208.157.184.30] by mail.123aspx.com with SMTP; Fri, 7 Sep 2007 21:15:23 -0700
Message-ID: <01a601c7f1c8$375885d0$0301a8c0@test93>
From: dave <dave.wanta@123aspx.com>
To: ietf-dkim@mipassoc.org
Date: Fri, 07 Sep 2007 22:27:40 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: [ietf-dkim] domain keys, the h tag, and the reflector at sendmail.net
X-BeenThere: ietf-dkim@mipassoc.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF DKIM Discussion List <ietf-dkim.mipassoc.org>
List-Unsubscribe: <http://mipassoc.org/mailman/listinfo/ietf-dkim>, <mailto:ietf-dkim-request@mipassoc.org?subject=unsubscribe>
List-Archive: <http://mipassoc.org/pipermail/ietf-dkim>
List-Post: <mailto:ietf-dkim@mipassoc.org>
List-Help: <mailto:ietf-dkim-request@mipassoc.org?subject=help>
List-Subscribe: <http://mipassoc.org/mailman/listinfo/ietf-dkim>, <mailto:ietf-dkim-request@mipassoc.org?subject=subscribe>
Sender: ietf-dkim-bounces@mipassoc.org
Errors-To: ietf-dkim-bounces@mipassoc.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3e15cc4fdc61d7bce84032741d11c8e5

Hi,
(If this isn't the right list, please let me know where I can ask this
question)

As an educational experiance, I'm writing my own domain keys signer. I'm
using the reflector at sendmail ( sa-test[at]sendmail.net ) for testing.
Everything is working fine, except when I try to use the "h" tag. Then my
domain-keys signature fails as BAD. I'm going off of the spec:
draft-delany-domainkeys-base-06, which I believe is the latest spec for
domain keys.

I hope I'm asking the right questions here, so, feel free to ask for
clarification.

It's my understanding that I use only the headers that are listed in the "h"
tag, and sign as if those were the only headers that existed.

for example, let's say I use the email sample found in the base-06 spec. It
has the following headers (hopefully this doesn't wrap too bad):

------------ Start Sample  --------
From: "Joe SixPack" <joe@football.example.com>
To: "Suzie Q" <suzie@shopping.example.net>
Subject: Is dinner ready?
Date: Fri, 11 Jul 2003 21:00:37 -0700 (PDT)
Message-ID: <20030712040037.46341.5F8J@football.example.com>

[body goes here]
------------ End Sample  --------

If the "h" tag is created like:

h="subject:from";

It's my understanding that I would actually sign this content:
------------ Start Sample  --------
Subject: Is dinner ready?
From: "Joe SixPack" <joe@football.example.com>

[body goes here]
------------ End Sample  --------

Is that correct? In other words, I concatonate the "subject" and "from"
headers (in that order), add my blank line, and then the body. I then sign
that combination.


Thanks!
Dave



_______________________________________________
NOTE WELL: This list operates according to 
http://mipassoc.org/dkim/ietf-list-rules.html