On Feb 23, 2007, at 3:17 PM, Dave Crocker wrote:
Paul Hoffman wrote:
What Phill describes is not a downgrade attack: it is an attack
based on algorithm agility. If we allow multiple algorthims, and
not all the
1. If the signer publishes support for multiple algorithms, then
the publisher supports those algorithms. If they made poor
choices, that's their problem.
This problem is made more significant when policy is applied. When
acceptance depends upon verifier supported algorithms, and where an
improved algorithm might curtail a threat vector, both might be
applied in hopes verifiers will quickly adopt the improved
algorithm. This would be a case where some protection is better than
none, and where a policy can also still require more than none.
2. If the publication of multiple algorithm support is part of a
transition, then, yes, there is a window during which some
recipients will not support the new one, or might be unhappy with
signatures by the old one, or whatever.
This window of time will likely be measured in years. Without some
method to indicate a required superior algorithm, improved protection
is not be assured over this long transition window.
3. If a recipient cannot validate a signature, then the message is
to be treated as unsigned. -base is quite clear about this point.
Since there are myriad reasons a signature might validate, the case
being presented here does not seem anything other than one more.
While indeed one might declare a signature to be invalid, the base
draft also used incorrect terms regarding deprecated as being
something determined by the verifier. The problem is that a signer
must wait years before being assured of improvements possible with an
improved algorithm.
Doing something that causes a signature to fail is something I
class as a downgrade.
This is not about causing a signature to fail, but not being able to
depend upon an improved algorithm even when both the signer and
verifier happen to support the improved algorithm. This problem
exists because there is no practical means to negotiate which
algorithms should be applied to the message.
Since we have already dealt with the 'failed validation' case
extensively, I'm still missing what is interesting here.
One can envision several scenarios where this failing could prove to
have been a very poor choice in the algorithm.
I agree that this is an example of an SSP lookup for signed
messages. I
Then we have a very basic problem.
What happens when a mailing list signs their messages? What happens
when a provider signs messages independent of email-addresses used by
their customers? A signed message will not assure that a policy may
not prove beneficial.
hope it does not mean that we are opening the door for other
purposes. It is also not requiring an SSP lookup; the only time
you care if the message is signed with an algorithm you don't
understand is if you know that they sign all messages. Therefore,
you already did the SSP lookup to find out that information. The
algorithm list would come along with the "I sign everything"
information.
I'll translate this into: The SSP lookup would be after validation
failure, because at that point, the message is to be treated as
unsigned, and that's when an SSP lookup is to be done.
Again, a message with a valid signature may still allow a policy to
benefit the recipient.
Besides the technical hassle of adding overhead, this also means
that current potential adopters of DKIM will see DKIM -base use
as remaining unstable.
Only if you tell them that it is. SSP does not destabilize dkim-base.
If it requires lookup for a signed message -- as in, during
validation or after validation succeeds -- then yes it does.
This added step might also extend protections afforded by DKIM.
Unless there is an added benefit, there should be no expectation that
a recipient will go to the trouble. On the other hand, if the
policy offers an assurance that some expensive threat analysis can be
safely avoided, then the cost of obtaining the policy might be well
worth the effort.
Hence, SSP should be used for receipt of unsigned messages.
Statements like "I sign everything" and "I send no mail" are
examples.
...and so is "I sign everything with Algorithm A".
By its nature, that implies a lookup for a signed message,
including one that validates. Bad idea.
This mechanism belongs within the key. Placing this in the key
allows assertions without causing added transactions.
-Doug
_______________________________________________
NOTE WELL: This list operates according to
http://mipassoc.org/dkim/ietf-list-rules.html