Re: [TLS] rfc4366-bis-03 Discuss #2: hash alg. agility for TrustedCA?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TLS] rfc4366-bis-03 Discuss #2: hash alg. agility for TrustedCA?
On Wed, 22 Oct 2008, Eric Rescorla wrote:
> At Wed, 22 Oct 2008 21:12:52 -0400 (EDT),
> Dean Anderson wrote:
> >
> > On Wed, 22 Oct 2008, Simon Josefsson wrote:
> >
> > > Alfred "=?hp-roman8?B?SM5uZXM=?=" <ah at tr-sys.de> writes:
> > >
> > > > (B) Non-uniqueness of x509_name in Trusted CA Keys TLS extension
> > > >
> > > > The 3rd-to-last paragraph of Section 6 in the -03 version
> > > > of the rfc4366-bis draft states:
> > > >
> > > > ! Note also that it is possible that a key hash or a Distinguished Name
> > > > ! alone may not uniquely identify a certificate issuer (for example, if
> > > > ! a particular CA has multiple key pairs). However, here we assume this
> > > > ! is the case following the use of Distinguished Names to identify
> > > > ! certificate issuers in TLS.
[...]
> The question is whether you can have multiple CA certificates with
> *identical* keys, not multiple certificates with the same modulus but
> different e/d. The answer to this is "yes". If you want to uniquely
> identify a cert you shoul duse a hash of the cert.
Ok. I follow this; the draft should really say that. So, just replace:
However, here we assume this is the case following the use of
Distinguished Names to identify certificate issuers in TLS.
with
Use a hash of the certificate to uniquely identify a certificate.
Of course, there could still be a hash collision, so the whole
certificate would need to be compared. But that isn't really enough,
because ASN.1 encoders can produce ambiguous encodings of the same data.
One really needs to compare the decoded ASN.1 data to see if it is the
same on two separate certificates.
--Dean
--
Av8 Internet Prepared to pay a premium for better service?
www.av8.net faster, more reliable, better service
617 344 9000
_______________________________________________
TLS mailing list
TLS at ietf.org
https://www.ietf.org/mailman/listinfo/tls
Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.