Re: Anyone working on 4310-bis?

Edward Lewis <[email protected]>
Newsgroups gmane.ietf.provreg
Message-ID <a06240801c70e3feaed5b@[192.168.1.106]>
At 22:23 +0100 10/27/09, Patrik Fältström wrote:

>Yeah, also just saw this in 4034:
>
>>  The key tag is used to help select DNSKEY resource records
>>  efficiently, but it does not uniquely identify a single DNSKEY
>>  resource record.  It is possible for two distinct DNSKEY RRs to have
>>  the same owner name, the same algorithm type, and the same key tag.
>>  An implementation that uses only the key tag to select a DNSKEY RR
>>  might select the wrong public key in some circumstances.  Please see
>>  Appendix B for further details.
>
>Who the heck came up with this? ;-)

So Olafur and I are throwing rocks at each other over that question....

The idea of the keytag predates memory, the 
desire was to have someway to select one of the 
keys in an RRset.  (In DNS, there is no other 
selector "inside" an RRset.)

The reason that the keytag is non-unique is, 
well, the things it is trying to 
describe/compress in 16 bits are practically 
random.  You can't compress random data (think 
about it) without loss.  In this case, we lose 
uniqueness.

Perhaps you could hash the key instead ... hey, that's what the DS record does!

The mistake here is using the keytag and not the DS hash as the selector.
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Edward Lewis
NeuStar                    You can leave a voice message at +1-571-434-5468

As with IPv6, the problem with the deployment of frictionless surfaces is
that they're not getting traction.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
List run by majordomo software.  For (Un-)subscription and similar details
send "help" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.