On Feb 26, 2007, at 6:11 AM, Michael Thomas wrote:

I suspect the key word here is "signed". All you know is that it has something that looks like a DKIM-SIGNATURE. The verifier has no way to differentiate sha0 from sha1024 since it is ignorant about both. Thus for all intents and purposes it is just as broken as any other reason that a signature might break, and needs to be handled in the identical way lest you give attackers a leg up.

The goal is to prevent a downgrade attack. A message is signed with algorithm A and B, where A is asserted to be deprecated, then when once both the signer and verifier support B, then A can be avoided. Not avoiding A when signer and verifier support both algorithms represents a vulnerability to a downgrade attack. That said, a policy that in effect says "only reject messages when you support B" would not be the best solution.

If the signature was broken, you know that (but not why it was broken). All those situations are to be classified as 'unsigned' (but more detailed information is available to you if you want to use it). So, being "unsigned", you consult the SSP, which maybe tells you "we sign everything". You might then reject it regardless on that basis and thus lose some genuine message simply because you couldn't verify the algorithm in use; more likely, you would want to allow such cases through (whilst also persuading your local geeks to implement the new algorithm ASAP).

Um, that sounds like a great way to make dkim completely impotent: if an attacker knows that you treat unverifiable signatures better, they only have to put those majick bytes in the signature header and voila.

You have a point, but unless there is some means to transition algorithms, it is not likely to happen soon enough and these changes will need to happen in a panic. "All this domain's messages are all signed with B" is a valid policy assertion that at least provides a forward path.

But, in the example quoted (message signed only by unverifiable algorithm B) you would then accept the bogus message. But an SSP response of "we sign everything with both A and B" would allow you to accept genuine messages from that site (because you can veriffy algorithm A) but reject the bogus one.

As I mentioned, you can already determine what algorithms are supported by a given selector. Why does putting in SSP help?

One can not determine what has been implied with respect to algorithms with just "this domain's messages are always signed". Signed using what algorithm? This becomes very important when there happens to be more than one.

-Doug

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

Reply via email to