Erik Andersen | 1 Dec 2011 15:55
Picon

Re: Unclear public-key certificate definition in X.509

Hi Kyle,

This is an important discussion.

I am completely aware that X.509 has a life outside directory, although
directories, especially LDAP systems, are often used for holding the
different PKI components. In my effort to modernize X.509, I am trying to
remove references to directory where it is not necessary. The main directory
content is the schema information (attribute types, object classes and
matching rules) for holding and accessing PKI/PMI components.

As to distinguished name, it seems too late to change that. It is part of
many profiles and also of RFC 5280.

I do not believe that it would be wise to separate the content of X.509 into
two different documents. X.509 is well established and well known. Putting
the non-directory stuff into a separate document will cause confusion and
many references will have to changed.

(ASN.1 was never part of X.500, but of X.400 (1984), and it was separated
quite early.)

Erik Andersen
Andersen's L-Service
Elsevej 48,
DK-3500 Vaerloese
Denmark
Mobile: +45 2097 1490
e-amail: era <at> x500.eu
Skype: andersen-erik
(Continue reading)

denis.pinkas | 1 Dec 2011 16:54
Picon

Re: Unclear public-key certificate definition in X.509

Erik and Kyle,

Erik, you said:

" I am completely aware that X.509 has a life outside directory, (...)
as to distinguished name, it seems too late to change that ".

It is never too late.

X.509 does not define what a DN is.

ITU-T Rec. X.501 (11/2008), alias  ISO/IEC 9594-2:2008, defines it only in the context of a DIT

9.1.3 distinguished name (of an entry): Every object entry, alias entry, and subentry has at least one distinguished name.
If any RDN for the entry or any superior entry includes an attribute for which there exist multiple distinguished
values differentiated by context (as described in 9.3), then the entry shall have multiple distinguished names
differentiated by context. The  primary distinguished name is that distinguished name in which each RDN has the
primary distinguished value of each contributing attribute as the main value in the RDN construct.

Furthermore, X.509 includes inappropriate sentences like:
"Although the CAs are unambiguously defined by a distinguished name in the DIT, .."

It is the time to allow the existence of X.509 without using a Directory.

---------------------------------------------------------------------------------------------------------------------------------------------------------
Kyle, you said: :

"Unfortunately, the original designers appear to have not thought about what
would happen if you had a DN collision with multiple certificates and keys".

I would rather say: "The original designers appear to have not given sufficient information about what
would happen if you had a DN collision".

The reality as that a DN name is only unique for the CA which has issued it.
This statement is valid for the next upper the CA, and until a root CA is reached.
This means that only the sequence of DN is unique for a given trust anchor.

In order to avoid any name collision when DN are used for access control purposes, in the most general case
the structure of name placed in an ACL should start with a trust anchor and be followed by a sequence of DNs.

When  there is a single trust anchor, the first element may be omitted,
... but only as long as there is not a second trust anchor later on.

When there is a single certification path under that single trust anchor, the intermediate DNs of the CAs may be omitted,
... but only as long as there is not a second certification path below that trust anchor.

This guidance is not given anywhere.

Denis

=========================================================================================
Hi Kyle,

This is an important discussion.

I am completely aware that X.509 has a life outside directory, although
directories, especially LDAP systems, are often used for holding the
different PKI components. In my effort to modernize X.509, I am trying to
remove references to directory where it is not necessary. The main directory
content is the schema information (attribute types, object classes and
matching rules) for holding and accessing PKI/PMI components.

As to distinguished name, it seems too late to change that. It is part of
many profiles and also of RFC 5280.

I do not believe that it would be wise to separate the content of X.509 into
two different documents. X.509 is well established and well known. Putting
the non-directory stuff into a separate document will cause confusion and
many references will have to changed.

(ASN.1 was never part of X.500, but of X.400 (1984), and it was separated
quite early.)

Erik Andersen
Andersen's L-Service
Elsevej 48,
DK-3500 Vaerloese
Denmark
Mobile: +45 2097 1490
e-amail: era <at> x500.eu
Skype: andersen-erik
http://www.x500.eu/
http://www.x500standard.com/
http://dk.linkedin.com/in/andersenerik

-----Oprindelig meddelelse-----
Fra: Kyle Hamilton [mailto:aerowolf <at> gmail.com]
Sendt: 1. december 2011 03:43
Til: Tom Gindin
Cc: Erik Andersen; PKIX
Emne: Re: [pkix] Unclear public-key certificate definition in X.509



On Fri, Nov 12, 2010 at 4:38 PM, Tom Gindin <tgindin <at> us.ibm.com> wrote:

>        It no longer has the problem which it had before.  Of course, it's
> a little odd to describe a certificate as a function of specifically the
> DN of the issuer, since the critical functional dependency is on the
> issuer's key pair.

The original X.509 use-case was that the Directory was everything, that
everything could be Distinguishably Named, and that the Distinguished Name
was the correct indexing system.  The problem is that the original designers
hadn't had the experience of a decade of nearly universal worldwide
deployment, with the format being extended into realms it was never intended
to go.

Perhaps X.509 could be formally decoupled from X.500, or (much like ASN.1)
the data format and semantics could be moved to a different standard while
the DIT bindings remain in X.509.

> The CA(A) expression just confuses me, because it suggests that the CA is
> a function of the subject name.

Unfortunately, the original designers appear to have not thought about what
would happen if you had a DN collision with multiple certificates and keys.

The key to the lock is unique, which means that it also meets the
requirement to be a database key.  The key is the key; the binding and all
the rest is just metadata.

-Kyle H



_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix
Erik Andersen | 1 Dec 2011 17:20
Picon

Re: [x500standard] Re: Unclear public-key certificate definition in X.509

Hi Denis

Thanks for your comments.

 

There has been several suggestions to remove the concept of alternative distinguished name (name with context). I have produced a proposal for the necessary text changes to remove that concept. I have for a long time been aware that alterative distinguished names do fit well into the X.509 concepts.

 

The note, to which you are referring, should just be deleted.

 

Erik Andersen

Andersen's L-Service

Elsevej 48,

DK-3500 Vaerloese

Denmark

Mobile: +45 2097 1490

e-amail: era <at> x500.eu

Skype: andersen-erik

http://www.x500.eu/

http://www.x500standard.com/

http://dk.linkedin.com/in/andersenerik

 

Fra: x500standard-bounce <at> freelists.org [mailto:x500standard-bounce <at> freelists.org] På vegne af denis.pinkas <at> bull.net
Sendt: 1. december 2011 16:55
Til: Erik Andersen
Cc: 'PKIX'; pkix-bounces <at> ietf.org; SG17-Q11; Directory list
Emne: [x500standard] Re: [pkix] Unclear public-key certificate definition in X.509

 

Erik and Kyle,

Erik, you said:

" I am completely aware that X.509 has a life outside directory, (...)
as to distinguished name, it seems too late to change that ".

It is never too late.

X.509 does not define what a DN is.

ITU-T Rec. X.501 (11/2008), alias  ISO/IEC 9594-2:2008, defines it only in the context of a DIT

9.1.3 distinguished name (of an entry): Every object entry, alias entry, and subentry has at least one distinguished name.
If any RDN for the entry or any superior entry includes an attribute for which there exist multiple distinguished

values differentiated by context (as described in 9.3), then the entry shall have multiple distinguished names
differentiated by context. The  primary distinguished name is that distinguished name in which each RDN has the

primary distinguished value of each contributing attribute as the main value in the RDN construct.

Furthermore, X.509 includes inappropriate sentences like:
"Although the CAs are unambiguously defined by a distinguished name in the DIT, .."

It is the time to allow the existence of X.509 without using a Directory.

---------------------------------------------------------------------------------------------------------------------------------------------------------
Kyle, you said: :

"Unfortunately, the original designers appear to have not thought about what
would happen if you had a DN collision with multiple certificates and keys".


I would rather say: "The original designers appear to have not given sufficient information about what
would happen if you had a DN collision".


The reality as that a DN name is only unique for the CA which has issued it.
This statement is valid for the next upper the CA, and until a root CA is reached.

This means that only the sequence of DN is unique for a given trust anchor.

In order to avoid any name collision when DN are used for access control purposes, in the most general case
the structure of name placed in an ACL should start with a trust anchor and be followed by a sequence of DNs.


When  there is a single trust anchor, the first element may be omitted,
... but only as long as there is not a second trust anchor later on.


When there is a single certification path under that single trust anchor, the intermediate DNs of the CAs may be omitted,
... but only as long as there is not a second certification path below that trust anchor.


This guidance is not given anywhere.

Denis

=========================================================================================
Hi Kyle,

This is an important discussion.

I am completely aware that X.509 has a life outside directory, although
directories, especially LDAP systems, are often used for holding the
different PKI components. In my effort to modernize X.509, I am trying to
remove references to directory where it is not necessary. The main directory
content is the schema information (attribute types, object classes and
matching rules) for holding and accessing PKI/PMI components.

As to distinguished name, it seems too late to change that. It is part of
many profiles and also of RFC 5280.

I do not believe that it would be wise to separate the content of X.509 into
two different documents. X.509 is well established and well known. Putting
the non-directory stuff into a separate document will cause confusion and
many references will have to changed.

(ASN.1 was never part of X.500, but of X.400 (1984), and it was separated
quite early.)

Erik Andersen
Andersen's L-Service
Elsevej 48,
DK-3500 Vaerloese
Denmark
Mobile: +45 2097 1490
e-amail: era <at> x500.eu
Skype: andersen-erik
http://www.x500.eu/
http://www.x500standard.com/
http://dk.linkedin.com/in/andersenerik

-----Oprindelig meddelelse-----
Fra: Kyle Hamilton [
mailto:aerowolf <at> gmail.com]
Sendt: 1. december 2011 03:43
Til: Tom Gindin
Cc: Erik Andersen; PKIX
Emne: Re: [pkix] Unclear public-key certificate definition in X.509



On Fri, Nov 12, 2010 at 4:38 PM, Tom Gindin <tgindin <at> us.ibm.com> wrote:


>        It no longer has the problem which it had before.  Of course, it's
> a little odd to describe a certificate as a function of specifically the
> DN of the issuer, since the critical functional dependency is on the
> issuer's key pair.

The original X.509 use-case was that the Directory was everything, that
everything could be Distinguishably Named, and that the Distinguished Name
was the correct indexing system.  The problem is that the original designers
hadn't had the experience of a decade of nearly universal worldwide
deployment, with the format being extended into realms it was never intended
to go.

Perhaps X.509 could be formally decoupled from X.500, or (much like ASN.1)
the data format and semantics could be moved to a different standard while
the DIT bindings remain in X.509.

> The CA(A) expression just confuses me, because it suggests that the CA is
> a function of the subject name.

Unfortunately, the original designers appear to have not thought about what
would happen if you had a DN collision with multiple certificates and keys.

The key to the lock is unique, which means that it also meets the
requirement to be a database key.  The key is the key; the binding and all
the rest is just metadata.

-Kyle H


_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix
Kyle Hamilton | 1 Dec 2011 03:42
Picon

Re: Unclear public-key certificate definition in X.509



On Fri, Nov 12, 2010 at 4:38 PM, Tom Gindin <tgindin <at> us.ibm.com> wrote:
>        It no longer has the problem which it had before.  Of course, it's
> a little odd to describe a certificate as a function of specifically the
> DN of the issuer, since the critical functional dependency is on the
> issuer's key pair.

The original X.509 use-case was that the Directory was everything, that everything could be
Distinguishably Named, and that the Distinguished Name was the correct indexing system.  The problem is
that the original designers hadn't had the experience of a decade of nearly universal worldwide
deployment, with the format being extended into realms it was never intended to go.

Perhaps X.509 could be formally decoupled from X.500, or (much like ASN.1) the data format and semantics
could be moved to a different standard while the DIT bindings remain in X.509.

> The CA(A) expression just confuses me, because it suggests that the CA is
> a function of the subject name.

Unfortunately, the original designers appear to have not thought about what would happen if you had a DN
collision with multiple certificates and keys.

The key to the lock is unique, which means that it also meets the requirement to be a database key.  The key is
the key; the binding and all the rest is just metadata.

-Kyle H
Attachment (Verify This Message with Penango.p7s): application/pkcs7-signature, 4030 bytes
_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix
Stephen Kent | 2 Dec 2011 16:52
Picon

Wg adoption of draft-turner-pkix-cmc-serverkeygeneration-00?

Folks,

Sean posted this doc back in July. There was some discussion o the PKIX
list but not a lot. the doc proposes extensions to CMC to support key
pair generation by a server. TYhere has been recent discussion about this
general topic, so it appears to be of interest to at least some set of folks.

Unless I hear otherwise over the next two weeks, I plan to approve 
adoption of this as a WG doc.

Steve
_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix

Anders Rundgren | 2 Dec 2011 18:49
Picon

Re: Wg adoption of draft-turner-pkix-cmc-serverkeygeneration-00?

On 2011-12-02 16:52, Stephen Kent wrote:
> Folks,
> 
> Sean posted this doc back in July. There was some discussion o the PKIX
> list but not a lot. the doc proposes extensions to CMC to support key
> pair generation by a server. TYhere has been recent discussion about this
> general topic, so it appears to be of interest to at least some set of folks.

I have no idea if CMC is interesting or not (CMP and SCEP seems to be
more popular) but the concept of generating keys on the server seems
like a better idea for encryption keys since it eliminates key
archiving from the client.

In my SKS/KeyGen2 scheme I originally had both key backup and key restore
but nowadays it only supports key restore which simplified the design and
possibly also reduces the attack space.

Anders

> 
> Unless I hear otherwise over the next two weeks, I plan to approve 
> adoption of this as a WG doc.
> 
> Steve
> _______________________________________________
> pkix mailing list
> pkix <at> ietf.org
> https://www.ietf.org/mailman/listinfo/pkix
> 

_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix

Kyle Hamilton | 3 Dec 2011 19:55

I-D draft-hamilton-crlwhitelist-00

All,

I've uploaded a new draft, documenting a supplemental production to
current CRLs.  It is a simple format to include certificate
authentication data as a crlEntryExtension, and a whitelist with the
same authenticated data format in a crlExtension.

There is no protocol from PKIX which can directly use or consume
certificate strong authentication data.  Nevertheless, until it's
provided in some manner, no protocol ever will be able to.

(If you don't like using the CRL for this data, please, will you write
something up to do it and propose it?  We need this capability, and we
need it soon.)

-Kyle H
_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix

Phillip Hallam-Baker | 9 Dec 2011 15:01
Picon

Re: fyi: Sovereign Keys: an EFF proposal for more secure TLS authentication

Agreed that 80% of the benefit without the practical difficulties is much better.


What happens in Sovereign keys when someone makes a mistake and either loses their key or discloses it? 'Be careful' is not an acceptable answer when non-specialized entities are meant to do this.


Where I think the security world has gone wrong over the past few decades is making access control the be all and end all of security and ignoring accountability as a tool.

An access control scheme cannot have more than 0% false positives which means that you have to tolerate a much higher degree of false negatives than you would like. Consider the Wikileaks situation where a low level clerk had access to half a million cables because he might have a plausible need to look at any one of them. 


Accountability does not block the bad action but combined with access control you can block what you know must never happen while still placing limits on what is allowed.

the useful contribution in sovereign keys seems to me to be the idea of having an unalterable audit log. Which is an opportunity to remind people once again that the Harber and Stornetta catenate cert patent has expired and now would be a good time to do something interesting there.

A general purpose notary protocol would have much wide application.


On Mon, Nov 28, 2011 at 8:49 AM, Miller, Timothy J. <tmiller <at> mitre.org> wrote:
I really don't see a heck of a lot of conceptual difference between this
proposal and several current and past proposals.  Functionally this is
just pushing the name binding back to a separate  level from the CA, only
now I need to trust both the CA and the Registrar to run things correctly.


Personally I think client-side incorporation of continuity-of-use data
into trust management--either individually or supported by independent
inspection points (see Perspectives, Convergence, or even Google's
Certificate Catalog,
http://googleonlinesecurity.blogspot.com/2011/04/improving-ssl-certificate-
security.html
)--probably nets 80% of the benefit and will be much easier
to accomplish in the decentralized Internet.  Yes, there  are observed
issues with current practices at server-side (ref. the SK proposal
Appendix A.3 and the cited blog from Andy Steingruebl), but if a
continuity-type model gains traction operational practice *will* change
and those false positives resolve themselves.

Finally this statement bugs me:

"""
Generalising from the above problem, Perspectives and Convergence rely on
parties other than the domain holder to characterise what state the
domain's operational deployment /should/ be in
"""


This ignores (common?) situation where site owner and domain owner can be
different entities.

-- T

On 11/21/11 6:25 PM, "=JeffH" <Jeff.Hodges <at> KingsMountain.com> wrote:

>Of possible interest...
>
>
>Subject: [SSL Observatory] Sovereign Keys: an EFF proposal for more secure
>       TLS authentication
>From: Peter Eckersley <pde <at> eff.org>
>Date: Fri, 18 Nov 2011 14:31:42 -0800
>To: observatory <at> eff.org
>
>For quite a while at EFF, we've been pondering different possible
>solutions to
>the structural insecurities that are present in PKIX (and, to a lesser but
>still quite significant extent, DNSSEC).
>
>This year, our thinking solidified around an idea for using append-only
>data
>structures to store keys.  We are publishing this proposal for the first
>time
>today:
>
>https://eff.org/sovereign-keys
>
>On that page you can find links to a high level overview and detailed
>design
>docs.  The design has a number of nice features, including very strong
>resistance to server impersonation attacks and automatic failover to
>secure
>routing methods (ideally, Tor hidden services) when server impersonation
>occurrs.
>
>It should be read as a long-term, moderately ambitious proposal.  Even if
>the
>Internet community likes this design or something similar, less systematic
>solutions (various forms of pinning, Perspectives/Convergence, the
>Decentralized SSL Observatory) will certainly remain necessary and
>important
>for at least a number of years.
>
>--
>Peter Eckersley                            pde <at> eff.org
>Technology Projects Director      Tel  +1 415 436 9333 x131
>Electronic Frontier Foundation    Fax  +1 415 436 9993
>
>
>
>_______________________________________________
>pkix mailing list
>pkix <at> ietf.org
>https://www.ietf.org/mailman/listinfo/pkix

_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix



--
Website: http://hallambaker.com/

_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix
Adam Langley | 9 Dec 2011 15:16
Picon
Favicon

Re: fyi: Sovereign Keys: an EFF proposal for more secure TLS authentication

On Fri, Dec 9, 2011 at 9:01 AM, Phillip Hallam-Baker <hallam <at> gmail.com> wrote:
> A general purpose notary protocol would have much wide application.

And, although it is probably superfluous, with a lead-in like that I
could hardly not mention Certificate Transparency, even in an inchoate
state: http://www.imperialviolet.org/2011/11/29/certtransparency.html

Cheers

AGL
_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix

Miller, Timothy J. | 9 Dec 2011 15:52
Picon
Favicon

Re: fyi: Sovereign Keys: an EFF proposal for more secure TLS authentication

On 12/9/11 8:16 AM, "Adam Langley" <agl <at> google.com> wrote:

>And, although it is probably superfluous, with a lead-in like that I
>could hardly not mention Certificate Transparency, even in an inchoate
>state: http://www.imperialviolet.org/2011/11/29/certtransparency.html

You may want to rethink the approach, or at least your arguments for it.

Your 10-second summary is functionally equivalent to a second CA that
signs atop certificates issued by other CAs.  We can pursue this course ad
infinitum and the same problems exist at all levels, so I really don't see
the point.

Additionally, while your definition of side-channels is fine as it stands,
you ignore approaches like OCSP stapling which similarly eliminate
side-channels under your definition.  So criticizing current practice for
requiring side-channels (as you define them) is inappropriate.

-- T

_______________________________________________
pkix mailing list
pkix <at> ietf.org
https://www.ietf.org/mailman/listinfo/pkix


Gmane