Re: [pkix] Managing Long-Lived CA certs

"Dr. Pala" <madwolf@openca.org> Thu, 20 July 2017 15:35 UTC

Return-Path: <madwolf@openca.org>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC414128BC8 for <pkix@ietfa.amsl.com>; Thu, 20 Jul 2017 08:35:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_HK_NAME_DR=0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YorBEXFbuHuf for <pkix@ietfa.amsl.com>; Thu, 20 Jul 2017 08:35:30 -0700 (PDT)
Received: from mail.katezarealty.com (mail.katezarealty.com [104.168.158.213]) by ietfa.amsl.com (Postfix) with ESMTP id EBA781252BA for <pkix@ietf.org>; Thu, 20 Jul 2017 08:35:29 -0700 (PDT)
Received: from dhcp-8e48.meeting.ietf.org (dhcp-8e48.meeting.ietf.org [31.133.142.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.katezarealty.com (Postfix) with ESMTPSA id 2CB913740F3C for <pkix@ietf.org>; Thu, 20 Jul 2017 11:35:28 -0400 (EDT)
To: pkix@ietf.org
References: <467c8936-f6aa-0853-878c-24fc8803c599@openca.org> <001501d2ff0e$00eddfa0$02c99ee0$@x500.eu> <1500348690922.69356@cs.auckland.ac.nz> <27d212b4-c5a6-19d1-2afd-f18adaf21031@nist.gov> <003d01d2ffdd$35d67c70$a1837550$@x500.eu> <d032d03f-6ece-44e1-58b7-e3141f3b8e3d@openca.org> <c66ebeda-21be-93fe-f315-7d1e7f069505@gmail.com> <b474e62e-64d3-5c9f-6dc3-4f96749f5440@free.fr>
From: "Dr. Pala" <madwolf@openca.org>
Message-ID: <01eab005-286c-0df9-400e-e1cecddfe50d@openca.org>
Date: Thu, 20 Jul 2017 17:35:27 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <b474e62e-64d3-5c9f-6dc3-4f96749f5440@free.fr>
Content-Type: multipart/alternative; boundary="------------655D833E2AE4AC7E5E49668F"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/pkix/ex0thitIstHa1mDyfTNtmUQi9Kw>
Subject: Re: [pkix] Managing Long-Lived CA certs
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Jul 2017 15:35:32 -0000

Hi Denis,

replies inline...


On 7/19/17 10:30 PM, Denis wrote:
> Max,
>
> Just my 1 cent ... since you said you would be interested to hear 
> opinions.
>
> PKI is still very useful and used for servers, but it is no more 
> adequate to be used for user authentication over the net.
Although I do disagree with you about this, I am not referring to this 
case specifically.
>
> Initially, privacy was not considered, but now it is. Using PKC for 
> users or clients allows to link user accounts between servers
> whereas it is not the case with FIDO which has been built using 
> "privacy by design" principles. What we need today for human users
> is no more only security but *both privacy and security* (where 
> privacy comes first).
As I said, I am not really aiming at providing privacy but trying to (a) 
improve the revocation support in PKIs (the most pressing issue) and (b) 
provide a support system that would help applications to more easily 
make use of Public Key technologies (in my mind the target is not 
exclusively X509 PKIs, but that's just my personal thoughts).

>
> Coming back to your original proposal, I quote your text below:
>
>     What I am thinking about would be adding an extension that says:
>     "This CA can issue certificates from up to 5 years from the
>     validFrom,
>     after this, just use it to provide revocation information". This
>     might provide some protection in case the CA key is compromised after
>     the initial 5 years of validity (e.g., certificates issued after
>     that date shall be rejected).
>
> The way you present the case violates one the fundamentals of PKI: A 
> certificate contains necessarily a validity period defined by:
>
> Validity ::= SEQUENCE {
> notBeforeTime,
> notAfterTime }
>
> A CA is not required to handle revocation, once the certificate has 
> expired.
You are totally correct, however the simple proposal is not about 
changing the validity of a certificate, but limit a scope in the key 
usage for a CA cert in particular (but actually could be extended, if 
needed, to EE certs and particular key usages).

>
> However, before that sentence you wrote:
>
>     Until we have a supported mechanism for reprovisioning devices
>     (...), one possible solution for limiting the exposure of the
>     private key
>     would be to have a scoped certificate issuance period.
>
> Hence you have identified the solution: work on a mechanism for 
> reprovisioning devices.
We are working on this. However, updating in-field devices might not be 
an option. An additional mechanism that addresses today's solution (not 
mutually exclusive like you seem to imply) is something that, I think, 
should be considered.
> RFC 2510 that was issued in the last century (March 1999) contains a 
> description on how to perform a root key change.
> See  section "2.4 Root CA key update". This might possibly help to 
> solve your problem.
Denis, I do not understand the reference. We are not talking about 
updating Root Keys here (4210 and 6712 update the reference). 
Cross-Certification between the old and new infrastructures, the use of 
bridge CAs, the publication of the cross-certificate pair are all 
options there, but they are not relevant to the problem at hand.

Can you please elaborate about how the Root CA rekeying is related to 
what I am tackling ?

Thanks for your replies, I do appreciate the conversation - especially 
coming from people with your experience and your current affiliation (I 
love different points of view!).

Cheers,
Max