[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AS#1 draft-ietf-ediint-as1-01.txt comments
[Note: MIC is "Message Integrity Check", which is a "one way hash" or
"digital fingerprint", meaning that like a human fingerprint, uniquely
identifies a piece of data.]
Rik Drummond (drummond@onramp.net) wrote:
: Below the question marks (????) are the mic from the initial message which
: looks like
: initial_message= rfc822+rfc1847(mime(data,..,rfc1767,...),signature(mic))
[The mic in (????) mentioned here is in the receipt.]
Not quite. The rfc822_headers cannot be part of the MIC since these
change as the message passes through MTAs. The MIC should be the decoded
(base64 or quoted-printable content-encoding) content, or in the case of
a multipart (e.g. rfc1847), the ASCII data following the initial blank
line up to the terminating separator. Note that it is very important to
be precise here, as implementors might use slightly different ways to
calculate the source of the MIC. It is also important to specify the
line termination, which is <CR><LF> in most other RFCs.
(By using undecoded content, this allows mailers to encode/decode content
without affecting the MIC.)
If the MDN (receipt) contains the rfc822_headers, then it would be
possible to use a mic over the rfc822_headers+contents.
: This logic holds for both the pkcs7 and pgp/mime stuff.
: Now, I forget, should the question marks be the mic or the signature(mic)?
: I think the signature(mic) but I think I was talked out of that.
You are talking about two very different ways of signing in a receipt, so
I wanted to elaborate here so everyone understands. Regarding the mic or
signature(mic), the former means the complete MDN is signed vs only the
original message is signed. Returning a signature of the original message
vs the complete receipt limits the nonrepudiation, as the receipt can be
altered. I belive it would be better to sign the complete MDN.
receipt = rfc822_headers+rfc1847_signed(mdn(blurb,mdn_hdr+mic,headers))
vs
receipt = rfc822_headers+mdn(blurb,mdn_hdr+signature(message_content),
headers)
--------------------------------------------------------------------------
Carl Hage C. Hage Associates
<email:carl@chage.com> Voice/Fax: 1-408-244-8410 1180 Reed Ave #51
<http://www.chage.com/chage/> Sunnyvale, CA 94086