On Feb 25, 2007, at 2:09 PM, John Levine wrote:
I'm a receiver, a message shows up with some signatures. For each
signature that uses an algorithm I understand, I check and see if
it verifies, which either it does or it doesn't. For each one that
uses an algorithm I don't understand, what should I do? I can't
verify it. I can't assume it's good unless I want to create a whale-
sized security hole. So I ignore it.
So now let's say I have a message that has at least one good
signature. As far as I'm concerned, I'm done, it's verified. If I
were to check the SSP, the most that could happen is a variation on
the "I sign nothing" scenario, if the SSP claims there's some set
of signature algorithms other than what I found. That is not
useful to the receiver, other than perhaps to identify senders
insufficiently competent to publish consistent key and SSP records.
John,
Section 4.2. Interpretation states "a verifier that by policy chooses
not to accept signatures with 'deprecated' cryptographic algorithms
would consider such signatures invalid."
This represents a conceptual error, as previously described. An
invalid signature would not be "deprecated", but rather would be
"obsoleted". It is only possible for a signer to assert a signature
is "deprecated" by identifying a replacement, but such has not been
accommodated.
Imagine commerce related messages come to depend upon DKIM signatures
for assuring delivery. Say algorithm X proves problematic when some
weakness is occasionally exploited. The signer may decide it is less
disruptive to assert that algorithm X is "deprecated", and then
include an improved algorithm. Receiving just a deprecated signature
would be invalid. By allowing signers to assert algorithm X is
"deprecated," then once both verifier and signer support a common non-
deprecated algorithm, the "deprecated" algorithm can be avoided.
Avoiding an asserted "deprecated" algorithm when there is a common
non-deprecated algorithm supported prevents a type of downgrade attack.
The interval before a downgrade attack can be curtailed in current
scheme requires the problematic algorithm be "obsoleted". Such may
depend upon wide acceptance of a different algorithm to avoid greater
disruption, which might be measured in years. In addition, a
"deprecated" assertion should be within the key to minimize any
related overhead.
-Doug
_______________________________________________
NOTE WELL: This list operates according to
http://mipassoc.org/dkim/ietf-list-rules.html