
From nobody Mon May  2 11:59:27 2016
Return-Path: <iana-shared@icann.org>
X-Original-To: expand-draft-wallace-est-alt-challenge.all@virtual.ietf.org
Delivered-To: pkix@ietfa.amsl.com
Received: by ietfa.amsl.com (Postfix, from userid 65534) id 3ED3412D11C; Mon,  2 May 2016 11:59:26 -0700 (PDT)
X-Original-To: xfilter-draft-wallace-est-alt-challenge.all@ietfa.amsl.com
Delivered-To: xfilter-draft-wallace-est-alt-challenge.all@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C0A312D14F for <xfilter-draft-wallace-est-alt-challenge.all@ietfa.amsl.com>; Mon,  2 May 2016 11:59:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.195
X-Spam-Level: 
X-Spam-Status: No, score=-4.195 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] 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 QRqhyVu02m6l for <xfilter-draft-wallace-est-alt-challenge.all@ietfa.amsl.com>; Mon,  2 May 2016 11:59:24 -0700 (PDT)
Received: from smtp01.icann.org (smtp01.icann.org [192.0.46.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 81A8612D11C for <draft-wallace-est-alt-challenge.all@ietf.org>; Mon,  2 May 2016 11:59:24 -0700 (PDT)
Received: from request3.lax.icann.org (request1.lax.icann.org [10.32.11.221]) by smtp01.icann.org (8.13.8/8.13.8) with ESMTP id u42IxNg7032307 for <draft-wallace-est-alt-challenge.all@ietf.org>; Mon, 2 May 2016 18:59:23 GMT
Received: by request3.lax.icann.org (Postfix, from userid 48) id 7D65BC20604; Mon,  2 May 2016 18:59:23 +0000 (UTC)
RT-Owner: amanda.baber
From: "Amanda Baber via RT" <drafts-approval@iana.org>
In-Reply-To: <20160428174521.5461.51499.idtracker@ietfa.amsl.com>
References: <RT-Ticket-906310@icann.org> <20160428174521.5461.51499.idtracker@ietfa.amsl.com>
Message-ID: <rt-4.2.9-20744-1462215563-1990.906310-7-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #906310
X-Managed-BY: RT 4.2.9 (http://www.bestpractical.com/rt/)
X-RT-Originator: amanda.baber@icann.org
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Mon, 02 May 2016 18:59:23 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/RBqxwg4sgr7y5UFKW7ZBeVvTBOw>
Cc: draft-wallace-est-alt-challenge.all@ietf.org
Subject: [pkix] [IANA #906310] Protocol Action: 'Alternative Challenge Password Attributes for Enrollment over Secure Transport' to Proposed Standard (draft-wallace-est-alt-challenge-08.txt)
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
Reply-To: drafts-approval@iana.org
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: Mon, 02 May 2016 18:59:26 -0000

Dear Authors:

ATTENTION: A RESPONSE TO THIS MESSAGE IS NEEDED 

We've completed the IANA Actions for the following RFC-to-be:

draft-wallace-est-alt-challenge-08

ACTION 1: 

IANA has added the following entries to the SMI Security for S/MIME Attributes (1.2.840.113549.1.9.16.2) registry:

56	id-aa-otpChallenge	[RFC-wallace-est-alt-challenge-08]
57	id-aa-revocationChallenge	[RFC-wallace-est-alt-challenge-08]
58	id-aa-estIdentityLinking	[RFC-wallace-est-alt-challenge-08]

Please see
http://www.iana.org/assignments/smi-numbers


ACTION 2: 

IANA has added the following entry to the SMI Security for PKIX Module Identifier (1.3.6.1.5.5.7.0) registry:

87	id-mod-EST-Alt-Challenge	[RFC-wallace-est-alt-challenge-08]

Please see
http://www.iana.org/assignments/smi-numbers


Please let us know whether the above IANA Actions look OK. As soon as we receive your confirmation, we'll notify the RFC Editor that this document's IANA Actions are complete. If this document has a team of authors, one reply on behalf of everyone will suffice.

We'll update the reference when the RFC Editor notifies us that they've assigned a number.

Thanks,

Amanda Baber
IANA Senior Specialist
ICANN


From nobody Mon May  2 12:04:05 2016
Return-Path: <carl@redhoundsoftware.com>
X-Original-To: expand-draft-wallace-est-alt-challenge.all@virtual.ietf.org
Delivered-To: pkix@ietfa.amsl.com
Received: by ietfa.amsl.com (Postfix, from userid 65534) id 518CA12D603; Mon,  2 May 2016 12:04:04 -0700 (PDT)
X-Original-To: xfilter-draft-wallace-est-alt-challenge.all@ietfa.amsl.com
Delivered-To: xfilter-draft-wallace-est-alt-challenge.all@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BB9512D60A for <xfilter-draft-wallace-est-alt-challenge.all@ietfa.amsl.com>; Mon,  2 May 2016 12:04:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=redhoundsoftware-com.20150623.gappssmtp.com
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 2wh10n8zj1Hg for <xfilter-draft-wallace-est-alt-challenge.all@ietfa.amsl.com>; Mon,  2 May 2016 12:04:02 -0700 (PDT)
Received: from mail-qg0-x229.google.com (mail-qg0-x229.google.com [IPv6:2607:f8b0:400d:c04::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0CF512D603 for <draft-wallace-est-alt-challenge.all@ietf.org>; Mon,  2 May 2016 12:04:02 -0700 (PDT)
Received: by mail-qg0-x229.google.com with SMTP id w36so19568936qge.3 for <draft-wallace-est-alt-challenge.all@ietf.org>; Mon, 02 May 2016 12:04:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhoundsoftware-com.20150623.gappssmtp.com; s=20150623; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :references:in-reply-to:mime-version:content-transfer-encoding; bh=GL/y2R8/RA/ibxpII3E/h1L+kCLEY+V6+xuAbg9nnc4=; b=w8KHnApgc4TGxTQET3iLx5DPfvWsi+dr4JNwsbwTj4BmVy+3v8CZCDVhaXWqj2A418 WxyGUnk3PCyUa6bAmiEk0B5JNCfyIEQqEYy8f613Z4bpCHqjqiz2KkYD3zDXAVpBYkY2 /H/HGQQG3COTawIP5OQmgzTRDebXij0KAUOawPUrIXX4QXGM4CZngMiWceU59LlTNBui 8nic0RrEcao+xyK+F4BUBE0iEDfmMQfA+hOgfFXwgcBJ2/bfU5m/hXfYMYHyxFIjN/zE bixfrhT1Yd3sg6z+G00v1uLqK60Ponu0qRMFVIH2ZMSwHjFz77iJQXAqpondyGlWNPls cmcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:date:subject:from:to:cc:message-id :thread-topic:references:in-reply-to:mime-version :content-transfer-encoding; bh=GL/y2R8/RA/ibxpII3E/h1L+kCLEY+V6+xuAbg9nnc4=; b=fmMhQyPNJ2F0bpTI+wXPTq/sunim8jbk3R8UibFpGrEVPraPdyfY0mktyn1X2jttRY ewT3ZF0vXnjp/KNiEe9U576O4jZ1WumZgq2UuJanvFbgjQ7jT5wYuprPnPLcaTbVtFm4 uF2wS5lYVtNTBsv61sVdytqbolg8blaEWeUDk+TCV+02EVfW7tSmi2iDQJq4qg8kn/GE /h01FPjy5E7rWAnes3uVcAYvtiIbkeVxoKIhByIl0RotQMA+SWSKcgr8zLvM2zn37MkO e5WrYnyYf8HgKelXb5KBAiE1t2m8fmP/25TvnrFjMx/rwKbHP1lNu1FO50PcQT2e4Hek xCbA==
X-Gm-Message-State: AOPr4FVNCT2bKpx1c0dVwRAjGPHZtGQhTv5d54LQFLfhs94H5YYDVnJVdHJhb2trcqk7Eg==
X-Received: by 10.140.104.98 with SMTP id z89mr32807638qge.65.1462215841664; Mon, 02 May 2016 12:04:01 -0700 (PDT)
Received: from [192.168.2.27] (pool-96-255-23-4.washdc.fios.verizon.net. [96.255.23.4]) by smtp.gmail.com with ESMTPSA id a142sm9510966qha.12.2016.05.02.12.03.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 May 2016 12:04:00 -0700 (PDT)
User-Agent: Microsoft-MacOutlook/14.5.8.151023
Date: Mon, 02 May 2016 15:03:56 -0400
From: Carl Wallace <carl@redhoundsoftware.com>
To: <drafts-approval@iana.org>
Message-ID: <D34D1CC5.6136C%carl@redhoundsoftware.com>
Thread-Topic: [IANA #906310] Protocol Action: 'Alternative Challenge Password Attributes for Enrollment over Secure Transport' to Proposed Standard (draft-wallace-est-alt-challenge-08.txt)
References: <RT-Ticket-906310@icann.org> <20160428174521.5461.51499.idtracker@ietfa.amsl.com> <rt-4.2.9-20744-1462215563-1990.906310-7-0@icann.org>
In-Reply-To: <rt-4.2.9-20744-1462215563-1990.906310-7-0@icann.org>
Mime-version: 1.0
Content-type: text/plain; charset="UTF-8"
Content-transfer-encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/zCHBPaiYi-7eW0suyb-z6QPSEoI>
Cc: draft-wallace-est-alt-challenge.all@ietf.org
Subject: Re: [pkix] [IANA #906310] Protocol Action: 'Alternative Challenge Password Attributes for Enrollment over Secure Transport' to Proposed Standard (draft-wallace-est-alt-challenge-08.txt)
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 02 May 2016 19:04:04 -0000

Looks good to me. Thanks.

On 5/2/16, 2:59 PM, "Amanda Baber via RT" <drafts-approval@iana.org> wrote:

>Dear Authors:
>
>ATTENTION: A RESPONSE TO THIS MESSAGE IS NEEDED
>
>We've completed the IANA Actions for the following RFC-to-be:
>
>draft-wallace-est-alt-challenge-08
>
>ACTION 1: 
>
>IANA has added the following entries to the SMI Security for S/MIME
>Attributes (1.2.840.113549.1.9.16.2) registry:
>
>56	id-aa-otpChallenge	[RFC-wallace-est-alt-challenge-08]
>57	id-aa-revocationChallenge	[RFC-wallace-est-alt-challenge-08]
>58	id-aa-estIdentityLinking	[RFC-wallace-est-alt-challenge-08]
>
>Please see
>http://www.iana.org/assignments/smi-numbers
>
>
>ACTION 2: 
>
>IANA has added the following entry to the SMI Security for PKIX Module
>Identifier (1.3.6.1.5.5.7.0) registry:
>
>87	id-mod-EST-Alt-Challenge	[RFC-wallace-est-alt-challenge-08]
>
>Please see
>http://www.iana.org/assignments/smi-numbers
>
>
>Please let us know whether the above IANA Actions look OK. As soon as we
>receive your confirmation, we'll notify the RFC Editor that this
>document's IANA Actions are complete. If this document has a team of
>authors, one reply on behalf of everyone will suffice.
>
>We'll update the reference when the RFC Editor notifies us that they've
>assigned a number.
>
>Thanks,
>
>Amanda Baber
>IANA Senior Specialist
>ICANN
>



From nobody Mon May  2 12:06:56 2016
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: pkix@ietf.org
Delivered-To: pkix@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7984B12D60D; Mon,  2 May 2016 12:06:55 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
To: <pkix@ietf.org>, <draft-wallace-est-alt-challenge@ietf.org>, <housley@vigilsec.com>, <stephen.farrell@cs.tcd.ie>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.19.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160502190655.13997.54844.idtracker@ietfa.amsl.com>
Date: Mon, 02 May 2016 12:06:55 -0700
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/wO6DJ2vaMRMlN7-hYSbB58SW9FY>
Subject: [pkix] ID Tracker State Update Notice: <draft-wallace-est-alt-challenge-08.txt>
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 02 May 2016 19:06:55 -0000

IANA action state changed to Waiting on Authors
ID Tracker URL: https://datatracker.ietf.org/doc/draft-wallace-est-alt-challenge/


From nobody Mon May  2 14:07:16 2016
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: pkix@ietf.org
Delivered-To: pkix@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BE5B12D115; Mon,  2 May 2016 14:07:14 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
To: <pkix@ietf.org>, <draft-wallace-est-alt-challenge@ietf.org>, <housley@vigilsec.com>, <stephen.farrell@cs.tcd.ie>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.19.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160502210714.19165.44111.idtracker@ietfa.amsl.com>
Date: Mon, 02 May 2016 14:07:14 -0700
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/NA8NTQF_sYZkYUKHzTuyWdRAbHs>
Subject: [pkix] ID Tracker State Update Notice: <draft-wallace-est-alt-challenge-08.txt>
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 02 May 2016 21:07:14 -0000

IANA action state changed to Waiting on RFC Editor
ID Tracker URL: https://datatracker.ietf.org/doc/draft-wallace-est-alt-challenge/


From nobody Tue May  3 11:05:24 2016
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: pkix@ietf.org
Delivered-To: pkix@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 400CC12D88B; Tue,  3 May 2016 11:05:22 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
To: <pkix@ietf.org>, <draft-wallace-est-alt-challenge@ietf.org>, <housley@vigilsec.com>, <stephen.farrell@cs.tcd.ie>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.19.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160503180522.2555.9300.idtracker@ietfa.amsl.com>
Date: Tue, 03 May 2016 11:05:22 -0700
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/eWNcYqRdML8PGeoBGhTE9cXZse0>
Subject: [pkix] ID Tracker State Update Notice: <draft-wallace-est-alt-challenge-08.txt>
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 03 May 2016 18:05:23 -0000

IANA action state changed to RFC-Ed-Ack
ID Tracker URL: https://datatracker.ietf.org/doc/draft-wallace-est-alt-challenge/


From nobody Fri May  6 01:42:36 2016
Return-Path: <era@x500.eu>
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 A244612D7DA for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 01:42:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.72
X-Spam-Level: 
X-Spam-Status: No, score=-0.72 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 7v5PuPcJ4sjo for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 01:42:32 -0700 (PDT)
Received: from mail02.dandomain.dk (mail02.dandomain.dk [194.150.112.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6415412D1C9 for <pkix@ietf.org>; Fri,  6 May 2016 01:42:31 -0700 (PDT)
Received: from Morten ([62.44.134.166]) by mail02.dandomain.dk (DanDomain Mailserver) with ASMTP id 2201605061042254492; Fri, 06 May 2016 10:42:25 +0200
From: "Erik Andersen" <era@x500.eu>
To: "Directory list" <x500standard@freelists.org>, "PKIX" <pkix@ietf.org>
Date: Fri, 6 May 2016 10:42:26 +0200
Message-ID: <000901d1a773$379e1680$a6da4380$@x500.eu>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01D1A783.FB29A5A0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdGncGsdQAln46LETNahao0LuhC7Nw==
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/qwMmY9GMKAgJNeWOYFUu_A0vE5k>
Subject: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 08:42:35 -0000

This is a multipart message in MIME format.

------=_NextPart_000_000A_01D1A783.FB29A5A0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

X.509 has a specification of the Private key usage period extension
(8.2.2.5). This extension is a little confusing. It has notBefore and
notAfter specification. However, the text says:

 

The notBefore component indicates the earliest date and time at which the
private key could be used for signing. If the notBefore component is not
present, then no information is provided as to when the period of valid use
of the private key commences. The notAfter component indicates the latest
date and time at which the private key could be used for signing. If the
notAfter component is not present then no information is provided as to when
the period of valid use of the private key concludes.

 

With a little ill will, this can be read as the private key validation
period may extend beyond the validity of the public key. Note 1 adds to the
confusing, as it says:

 

NOTE 1 - The period of valid use of the private key may be different from
the certified validity of the public key as indicated by the certificate
validity period. With digital signature keys, the usage period for the
signing private key is typically shorter than that for the verifying public
key.

 

It is the word "typical" that confuses me. It implies it could be different.

 

This extension was included in RFC 3280 with a heavy health warning. It was
omitted from RFC 5280 (except for A.2).

 

In my mind, the validity of the private key should not spread outside the
validity period of the certificate.

 

Have I misunderstood something?

 

Erik


------=_NextPart_000_000A_01D1A783.FB29A5A0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.ASN1boldchar
	{mso-style-name:"ASN\.1 bold char";
	font-family:"Courier New";
	font-weight:bold;}
p.Note1, li.Note1, div.Note1
	{mso-style-name:"Note 1";
	margin-top:3.0pt;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:14.2pt;
	margin-bottom:.0001pt;
	text-align:justify;
	punctuation-wrap:simple;
	text-autospace:none;
	font-size:9.0pt;
	font-family:"Times New Roman",serif;
	mso-fareast-language:EN-US;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>X.509 has a specification of the Private key usage =
period extension (8.2.2.5). This extension is a little confusing. It has =
notBefore and notAfter specification. However, the text =
says:<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>The <span class=3DASN1boldchar><span =
style=3D'font-size:9.0pt'>notBefore</span></span> component indicates =
the earliest date and time at which the private key could be used for =
signing. If the <span class=3DASN1boldchar><span =
style=3D'font-size:9.0pt'>notBefore</span></span> component is not =
present, then no information is provided as to when the period of valid =
use of the private key commences. The <span class=3DASN1boldchar><span =
style=3D'font-size:9.0pt'>notAfter </span></span>component indicates the =
latest date and time at which the private key could be used for signing. =
If the <span class=3DASN1boldchar><span =
style=3D'font-size:9.0pt'>notAfter</span></span> component is not =
present then no information is provided as to when the period of valid =
use of the private key concludes.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>With a =
little ill will, this can be read as the private key validation period =
may extend beyond the validity of the public key. Note 1 adds to the =
confusing, as it says:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DNote1>NOTE&nbsp;1&nbsp;&#8211;&nbsp;The period of valid use of =
the private key may be different from the certified validity of the =
public key as indicated by the certificate validity period. With digital =
signature keys, the usage period for the signing private key is =
typically shorter than that for the verifying public =
key.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>It is the word &#8220;typical&#8221; that confuses me. =
It implies it could be different.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>This =
extension was included in RFC 3280 with a heavy health warning. It was =
omitted from RFC 5280 (except for A.2).<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In my mind, =
the validity of the private key should not spread outside the validity =
period of the certificate.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Have I =
misunderstood something?<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Erik<o:p></o:p></p></div></body></html>
------=_NextPart_000_000A_01D1A783.FB29A5A0--


From nobody Fri May  6 02:51:12 2016
Return-Path: <prvs=09344e319b=peter.rybar@nbusr.sk>
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 93EBD12D1C7 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 02:51:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.051
X-Spam-Level: 
X-Spam-Status: No, score=-0.051 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DOS_OUTLOOK_TO_MX=2.845, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=no 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 njFvj9PVLsc9 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 02:51:09 -0700 (PDT)
Received: from mail.nbusr.sk (mail.nbusr.sk [84.245.65.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CB8612B057 for <pkix@ietf.org>; Fri,  6 May 2016 02:51:08 -0700 (PDT)
From: =?iso-8859-2?Q?Peter_Ryb=E1r?= <peter.rybar@nbusr.sk>
To: "'Erik Andersen'" <era@x500.eu>, "'Directory list'" <x500standard@freelists.org>, "'PKIX'" <pkix@ietf.org>
References: <000901d1a773$379e1680$a6da4380$@x500.eu>
In-Reply-To: <000901d1a773$379e1680$a6da4380$@x500.eu>
Date: Fri, 6 May 2016 11:50:53 +0200
Message-ID: <201605060951.u469p536017433@mail.nbusr.sk>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0025_01D1A78D.8B0F5440"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJYEc9fvtVi9SNiQE1fwP6vqYjwqJ6e0hvA
Content-Language: sk
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level: 
X-NAI-Spam-Threshold: 6
X-NAI-Spam-Score: 0.4
X-NAI-Spam-Version: 2.3.0.9418 : core <5663> : inlines <4769> : streams <1630866> : uri <2204260>
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/fmHru4f7uIt3ID1LX4T1RVeCe3k>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 09:51:11 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0025_01D1A78D.8B0F5440
Content-Type: text/plain;
	charset="iso-8859-2"
Content-Transfer-Encoding: 7bit

One key pair can be included in many certificates e.g. cross-certificates.

The validity period of each cross-certificate can be different.

After the time value of notAfter field of the Private key usage period
extension of  the Private key used for signing,  any duplication of the
private key are deleted.

 

Peter

 

From: pkix [mailto:pkix-bounces@ietf.org] On Behalf Of Erik Andersen
Sent: Friday, May 6, 2016 10:42 AM
To: Directory list; PKIX
Subject: [pkix] Private key usage period extension

 

X.509 has a specification of the Private key usage period extension
(8.2.2.5). This extension is a little confusing. It has notBefore and
notAfter specification. However, the text says:

 

The notBefore component indicates the earliest date and time at which the
private key could be used for signing. If the notBefore component is not
present, then no information is provided as to when the period of valid use
of the private key commences. The notAfter component indicates the latest
date and time at which the private key could be used for signing. If the
notAfter component is not present then no information is provided as to when
the period of valid use of the private key concludes.

 

With a little ill will, this can be read as the private key validation
period may extend beyond the validity of the public key. Note 1 adds to the
confusing, as it says:

 

NOTE 1 - The period of valid use of the private key may be different from
the certified validity of the public key as indicated by the certificate
validity period. With digital signature keys, the usage period for the
signing private key is typically shorter than that for the verifying public
key.

 

It is the word "typical" that confuses me. It implies it could be different.

 

This extension was included in RFC 3280 with a heavy health warning. It was
omitted from RFC 5280 (except for A.2).

 

In my mind, the validity of the private key should not spread outside the
validity period of the certificate.

 

Have I misunderstood something?

 

Erik


------=_NextPart_000_0025_01D1A78D.8B0F5440
Content-Type: text/html;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-2"><meta name=3DGenerator content=3D"Microsoft Word =
14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.Note1, li.Note1, div.Note1
	{mso-style-name:"Note 1";
	margin-top:3.0pt;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:14.2pt;
	margin-bottom:.0001pt;
	text-align:justify;
	punctuation-wrap:simple;
	text-autospace:none;
	font-size:9.0pt;
	font-family:"Times New Roman","serif";
	mso-fareast-language:EN-US;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.ASN1boldchar
	{mso-style-name:"ASN\.1 bold char";
	font-family:"Courier New";
	font-weight:bold;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DSK =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal><span lang=3DEN-GB style=3D'color:#1F497D'>One key =
pair can be included in many certificates e.g. =
cross-certificates.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB style=3D'color:#1F497D'>The validity period of each =
cross-certificate can be different.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB style=3D'color:#1F497D'>After the =
time value of notAfter field of the Private key usage period extension =
of=A0 the Private key used for signing,=A0 any duplication of the =
private key are deleted.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'color:#1F497D'>Peter<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm'><p class=3DMsoNormal><b><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-l=
anguage:SK'>From:</span></b><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-l=
anguage:SK'> pkix [mailto:pkix-bounces@ietf.org] <b>On Behalf Of =
</b>Erik Andersen<br><b>Sent:</b> Friday, May 6, 2016 10:42 =
AM<br><b>To:</b> Directory list; PKIX<br><b>Subject:</b> [pkix] Private =
key usage period extension<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>X.509 has a specification of the =
Private key usage period extension (8.2.2.5). This extension is a little =
confusing. It has notBefore and notAfter specification. However, the =
text says:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>The </span><span class=3DASN1boldchar><span lang=3DEN-GB =
style=3D'font-size:9.0pt'>notBefore</span></span><span lang=3DEN-GB> =
component indicates the earliest date and time at which the private key =
could be used for signing. If the </span><span =
class=3DASN1boldchar><span lang=3DEN-GB =
style=3D'font-size:9.0pt'>notBefore</span></span><span lang=3DEN-GB> =
component is not present, then no information is provided as to when the =
period of valid use of the private key commences. The </span><span =
class=3DASN1boldchar><span lang=3DEN-GB =
style=3D'font-size:9.0pt'>notAfter </span></span><span =
lang=3DEN-GB>component indicates the latest date and time at which the =
private key could be used for signing. If the </span><span =
class=3DASN1boldchar><span lang=3DEN-GB =
style=3D'font-size:9.0pt'>notAfter</span></span><span lang=3DEN-GB> =
component is not present then no information is provided as to when the =
period of valid use of the private key =
concludes.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>With a little ill will, this can be read as the private key =
validation period may extend beyond the validity of the public key. Note =
1 adds to the confusing, as it says:<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p =
class=3DNote1><span lang=3DEN-GB>NOTE&nbsp;1&nbsp;&#8211;&nbsp;The =
period of valid use of the private key may be different from the =
certified validity of the public key as indicated by the certificate =
validity period. With digital signature keys, the usage period for the =
signing private key is typically shorter than that for the verifying =
public key.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>It is the word &#8220;typical&#8221; that confuses me. It =
implies it could be different.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>This extension was included in RFC =
3280 with a heavy health warning. It was omitted from RFC 5280 (except =
for A.2).<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>In my mind, the validity of the private key should not =
spread outside the validity period of the =
certificate.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>Have I misunderstood something?<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
lang=3DEN-GB>Erik<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_0025_01D1A78D.8B0F5440--


From nobody Fri May  6 02:53:13 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
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 0A04812D561 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 02:53:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.297
X-Spam-Level: 
X-Spam-Status: No, score=-5.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 9UB9pNARA1F8 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 02:53:08 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6624912D116 for <pkix@ietf.org>; Fri,  6 May 2016 02:53:08 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 8D8F4BE38; Fri,  6 May 2016 10:53:06 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pj9JljMnUq0Z; Fri,  6 May 2016 10:53:05 +0100 (IST)
Received: from [10.87.49.100] (unknown [86.46.26.141]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 92E42BE35; Fri,  6 May 2016 10:53:04 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1462528385; bh=FcWHDPoHSkGAMrgZn766wFqeFt4rvWKLFxYivpyF4RQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=wiF76SRAq7qMylD9Lixb07SBv76D61s174Hd7yqChL64W13WxmK4Y7w3WBiNZrtJV 6IA5WScwKhHDo1yyAu55JXJeQFlNNk3yBzultMWVAIiWKUVU5h8j2VAKMdu5Lc0+/s 51/Hyf4yG17ZTQOZS0a34dkFsT+7foQm2l43rXh0=
To: Erik Andersen <era@x500.eu>, Directory list <x500standard@freelists.org>,  PKIX <pkix@ietf.org>
References: <000901d1a773$379e1680$a6da4380$@x500.eu>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <572C6980.8000808@cs.tcd.ie>
Date: Fri, 6 May 2016 10:53:04 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <000901d1a773$379e1680$a6da4380$@x500.eu>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms010401080407030602060803"
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/dGjwXvWgyPLhtXQow897k8ZHNRA>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 09:53:11 -0000

This is a cryptographically signed message in MIME format.

--------------ms010401080407030602060803
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hi Erik,

I've a separate question: does anyone use this extension
or should we put it on a virtual/mental list of stuff to
be deprecated when/if someone has the energy?

S.

On 06/05/16 09:42, Erik Andersen wrote:
> X.509 has a specification of the Private key usage period extension
> (8.2.2.5). This extension is a little confusing. It has notBefore and
> notAfter specification. However, the text says:
>=20
> =20
>=20
> The notBefore component indicates the earliest date and time at which t=
he
> private key could be used for signing. If the notBefore component is no=
t
> present, then no information is provided as to when the period of valid=
 use
> of the private key commences. The notAfter component indicates the late=
st
> date and time at which the private key could be used for signing. If th=
e
> notAfter component is not present then no information is provided as to=
 when
> the period of valid use of the private key concludes.
>=20
> =20
>=20
> With a little ill will, this can be read as the private key validation
> period may extend beyond the validity of the public key. Note 1 adds to=
 the
> confusing, as it says:
>=20
> =20
>=20
> NOTE 1 - The period of valid use of the private key may be different fr=
om
> the certified validity of the public key as indicated by the certificat=
e
> validity period. With digital signature keys, the usage period for the
> signing private key is typically shorter than that for the verifying pu=
blic
> key.
>=20
> =20
>=20
> It is the word "typical" that confuses me. It implies it could be diffe=
rent.
>=20
> =20
>=20
> This extension was included in RFC 3280 with a heavy health warning. It=
 was
> omitted from RFC 5280 (except for A.2).
>=20
> =20
>=20
> In my mind, the validity of the private key should not spread outside t=
he
> validity period of the certificate.
>=20
> =20
>=20
> Have I misunderstood something?
>=20
> =20
>=20
> Erik
>=20
>=20
>=20
>=20
> _______________________________________________
> pkix mailing list
> pkix@ietf.org
> https://www.ietf.org/mailman/listinfo/pkix
>=20


--------------ms010401080407030602060803
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CvIwggUIMIID8KADAgECAhBPzaE7pzYviUJyhmHTFBdnMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwMjA5MDkyODE1WhcNMTcwMjA5MDkyODE1WjBOMSIwIAYDVQQDDBlzdGVw
aGVuLmZhcnJlbGxAY3MudGNkLmllMSgwJgYJKoZIhvcNAQkBFhlzdGVwaGVuLmZhcnJlbGxA
Y3MudGNkLmllMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtuC0rYze/2JinSra
C9F2RjGdQZjNALLcW9C3WKTwYII3wBslobmHuPEYE5JaGItmzuKnAW619R1rD/kfoNWC19N3
rBZ6UX9Cmb9D9exCwYIwVuSwjrCQWGxgCtNQTrwKzCCpI790GRiMTvxvO7UmzmBrCaBLiZW5
R0fBjK5Yn6hUhAzGBkNbkIEL28cLJqH0yVz7Kl92OlzrQqTPEts5m6cDnNdY/ADfeAX18c1r
dxZqcAxhLotrCqgsVA4ilbQDMMXGTLlB5TP35HeWZuGBU7xu003rLcFLdOkD8xvpJoYZy9Kt
3oABXPS5yqtMK+XCNdqmMn+4mOtLwQSMmPCSiQIDAQABo4IBuTCCAbUwCwYDVR0PBAQDAgSw
MB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAJBgNVHRMEAjAAMB0GA1UdDgQWBBQJ
QhvwQ5Fl372Z6xqo6fdn8XejTTAfBgNVHSMEGDAWgBQkgWw5Yb5JD4+3G0YrySi1J0htaDBv
BggrBgEFBQcBAQRjMGEwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbTA5
BggrBgEFBQcwAoYtaHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc2NhLmNsaWVudDEu
Y3J0MDgGA1UdHwQxMC8wLaAroCmGJ2h0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL3NjYS1jbGll
bnQxLmNybDAkBgNVHREEHTAbgRlzdGVwaGVuLmZhcnJlbGxAY3MudGNkLmllMCMGA1UdEgQc
MBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzBGBgNVHSAEPzA9MDsGCysGAQQBgbU3AQIE
MCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeTANBgkqhkiG
9w0BAQsFAAOCAQEArzrSv2C8PlBBmGuiGrzm2Wma46/KHtXmZYS0bsd43pM66Pc/MsqPE0HD
C1GzMFfwB6BfkJn8ijNSIhlgj898WzjvnpM/SO8KStjlB8719ig/xKISrOl5mX55XbFlQtX9
U6MrqRgbDIATxhD9IDr+ryvovDzChqgQj7mt2jYr4mdlRjsjod3H1VY6XglRmaaNGZfsCARM
aE/TU5SXIiqauwt5KxNGYAY67QkOBs7O1FkSXpTk7+1MmzJMF4nP8QQ5n8vhVNseF+/Wm7ai
9mtnrkLbaznMsy/ULo/C2yuLUWTbZZbf4EKNmVdme6tUDgYkFjAFOblfA7W1fSPiQGagYzCC
BeIwggPKoAMCAQICEGunin0K14jWUQr5WeTntOEwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UE
BhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFs
IENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g
QXV0aG9yaXR5MB4XDTE1MTIxNjAxMDAwNVoXDTMwMTIxNjAxMDAwNVowdTELMAkGA1UEBhMC
SUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmlj
YXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQTCC
ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL192vfDon2D9luC/dtbX64eG3XAtRmv
mCSsu1d52DXsCR58zJQbCtB2/A5uFqNxWacpXGGtTCRk9dEDBlmixEd8QiLkUfvHpJX/xKnm
VkS6Iye8wUbYzMsDzgnpazlPg19dnSqfhM+Cevdfa89VLnUztRr2cgmCfyO9Otrh7LJDPG+4
D8ZnAqDtVB8MKYJL6QgKyVhhaBc4y3bGWxKyXEtx7QIZZGxPwSkzK3WIN+VKNdkiwTubW5PI
dopmykwvIjLPqbJK7yPwFZYekKE015OsW6FV+s4DIM8UlVS8pkIsoGGJtMuWjLL4tq2hYQuu
N0jhrxK1ljz50hH23gA9cbMCAwEAAaOCAWQwggFgMA4GA1UdDwEB/wQEAwIBBjAdBgNVHSUE
FjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwEgYDVR0TAQH/BAgwBgEB/wIBADAyBgNVHR8EKzAp
MCegJaAjhiFodHRwOi8vY3JsLnN0YXJ0c3NsLmNvbS9zZnNjYS5jcmwwZgYIKwYBBQUHAQEE
WjBYMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5zdGFydHNzbC5jb20wMAYIKwYBBQUHMAKG
JGh0dHA6Ly9haWEuc3RhcnRzc2wuY29tL2NlcnRzL2NhLmNydDAdBgNVHQ4EFgQUJIFsOWG+
SQ+PtxtGK8kotSdIbWgwHwYDVR0jBBgwFoAUTgvvGqRAW6UXaYcwyjRoQ9BBrvIwPwYDVR0g
BDgwNjA0BgRVHSAAMCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3Bv
bGljeTANBgkqhkiG9w0BAQsFAAOCAgEAi+P3h+wBi4StDwECW5zhIycjBL008HACblIf26HY
0JdOruKbrWDsXUsiI0j/7Crft9S5oxvPiDtVqspBOB/y5uzSns1lZwh7sG96bYBZpcGzGxpF
NjDmQbcM3yl3WFIRS4WhNrsOY14V7y2IrUGsvetsD+bjyOngCIVeC/GmsmtbuLOzJ606tEc9
uRbhjTu/b0x2Fo+/e7UkQvKzNeo7OMhijixaULyINBfCBJb+e29bLafgu6JqjOUJ9eXXj20p
6q/CW+uVrZiSW57+q5an2P2i7hP85jQJcy5j4HzA0rSiF3YPhKGAWUxKPMAVGgcYoXzWydOv
Z3UDsTDTagXpRDIKQLZo02wrlxY6iMFqvlzsemVf1odhQJmi7Eh5TbxI40kDGcBOBHhwnaOu
mZhLP+SWJQnjpLpSlUOj95uf1zo9oz9e0NgIJoz/tdfrBzez76xtDsK0KfUDHt1/q59BvDI7
RX6gVr0fQoCyMczNzCTcRXYHY0tq2J0oT+bsb6sH2b4WVWAiJKnSYaWDjdA70qHX4mq9MIjO
/ZskmSY8wtAk24orAc0vwXgYanqNsBX5Yv4sN4Z9VyrwMdLcusP7HJgRdAGKpkR2I9U4zEsN
JQJewM7S4Jalo1DyPrLpL2nTET8ZrSl5Utp1UeGp/2deoprGevfnxWB+vHNQiu85o6MxggPM
MIIDyAIBATCBiTB1MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcG
A1UECxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0
Q29tIENsYXNzIDEgQ2xpZW50IENBAhBPzaE7pzYviUJyhmHTFBdnMA0GCWCGSAFlAwQCAQUA
oIICEzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNjA1MDYw
OTUzMDRaMC8GCSqGSIb3DQEJBDEiBCAchpDk3nRFj7jvZp/xaADL/TQ7ywfEDdPmnD4DAelv
sDBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcN
AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC
AgEoMIGaBgkrBgEEAYI3EAQxgYwwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMw
IQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzCB
nAYLKoZIhvcNAQkQAgsxgYyggYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYD
VQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzANBgkq
hkiG9w0BAQEFAASCAQCZRLHRCkrk7dKJ85N5jmDmD37rAHjV8NpBAvc7oT4OB3SkG5vgIX2D
z24OTWYBkobvM1bYq0RNnKN9bt9/L7lCY2ZW/Z5mhoyNKaj/EMD1QU8LmIxHC3GM3PzROyUc
CluPzkhduwha+mORHcBqQz7VIRbsoXDUiUuwsC5VbJKDtLL/EMQflkt9XUuRoUE5fSXkmpbL
64iFsjIBEXjGsbVaQPA33XCbA1R2YUAGpJ7SnO7nBl8yB+UCdGznuTn9UO8oEI7vEAtk6VDW
F9ccDcFrJm5DWO6XikNRI8E/7wKFDIYjSVXiNIOa+ESC+6KWXZJ3e4FP9CddmIbJu1F+0Bw0
AAAAAAAA
--------------ms010401080407030602060803--


From nobody Fri May  6 03:30:31 2016
Return-Path: <eabalea@gmail.com>
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 1C6BA12D578 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 03:30:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 9Jrk2LmJhW0c for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 03:30:27 -0700 (PDT)
Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74F6012D09E for <pkix@ietf.org>; Fri,  6 May 2016 03:30:26 -0700 (PDT)
Received: by mail-lf0-x233.google.com with SMTP id m64so126337921lfd.1 for <pkix@ietf.org>; Fri, 06 May 2016 03:30:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=r8e9Gj3yruKuVhgpAorGRqfzO3UJmN/BXrkViGdbjRo=; b=wckaW2+a8zMpKUfEw6I5dr72mg3wNZ1D6XP2IwZpHS+A0Xm6hpUU8x7G+LKs9QPhCd DvGFkCE5hv4ozpQjNKzfhsJjlGX3uXgSlCO9axbnvOPKTZ+EHbOVpv66mDPP4soMGL3i 4oClH21PbjghglnvQZKBR8HPE8XRFJ5B5Nwrs86K/nrjziNSm0nbnlSU7JGLj+4QcKrc jIbv/8yKI07fN3vy5vbpYL0y1z4zfTAQFi3VJPgih5ATNL55aeBYG9qUA2q7KsSPExh7 JcrfdlqYlDKmLmvMt9UUyz/7nmm3LTG8X7pYrmjLP+T2Qeb9rM5DYppX4VNEPgnY9Xvo Yn4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=r8e9Gj3yruKuVhgpAorGRqfzO3UJmN/BXrkViGdbjRo=; b=fxDp1iGL6xxZs2u00GCBM24T/DgkoOkqkN4YTHV4RFhy6nf8/1p9X1sqpiq1Cx/deQ dKn2tdCypWZJDDFO3YAH3fjU6r72KK+UahyQrmalWqk9qZvg8GcKwqknzPOP4r13gg3s wSuNGBTcD1L75ECmwyDnTtWsOdFt9l5pqRR83w3CaP5MyIhheqXGUvh2JMtmTTQdl0lt pyC3eMqkME5QXcAU6VubBojHrGbgpmeuBN1Il0Vd+az86Nfa6vFHg7KfDLI9O3U59Spn DGfGNZt5oPDbG/zEmv6eMIJ5TRCNY4KJANoQ4CwqaZoVjthmF6QkItGVMconmuX1Qisi M1AA==
X-Gm-Message-State: AOPr4FXeBsNkjmrSx5HkFtyo85yuNITUXsfAC6JHpr2MkXBl2gYmhUeMPc0UiuMSKmvgYb3cbEnHqmDL5wk0qQ==
MIME-Version: 1.0
X-Received: by 10.112.181.72 with SMTP id du8mr9193793lbc.137.1462530624652; Fri, 06 May 2016 03:30:24 -0700 (PDT)
Received: by 10.114.4.138 with HTTP; Fri, 6 May 2016 03:30:24 -0700 (PDT)
In-Reply-To: <572C6980.8000808@cs.tcd.ie>
References: <000901d1a773$379e1680$a6da4380$@x500.eu> <572C6980.8000808@cs.tcd.ie>
Date: Fri, 6 May 2016 12:30:24 +0200
Message-ID: <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com>
From: Erwann Abalea <eabalea@gmail.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Content-Type: multipart/alternative; boundary=001a11c36b8a5b10fb053229f218
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/yDSp96xR9Om2c1K_MO4e2TX3zVQ>
Cc: Directory list <x500standard@freelists.org>, PKIX <pkix@ietf.org>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 10:30:29 -0000

--001a11c36b8a5b10fb053229f218
Content-Type: text/plain; charset=UTF-8

Bonjour,

This extension is heavily used in electronic passports.
ICAO has set it to be mandatory for Root CA and Document Signer
certificates (subscriber certs used to verify data in passports), and
optional for MasterList signers.
See ICAO MRTD 9303 part 12 document (
http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf).
ICAO did a bad job here; this extension already hurt them in the past
(preventing some Roots to issue a fresh CRL), and their "solution" was to
change the Name comparison rule for CRL checking, so that CAs that don't
have the same Name but have the countryName in common are to be considered
the same CAs, except for China. Yes, it's that bad.

This extension was already deprecated in RFC2459.


2016-05-06 11:53 GMT+02:00 Stephen Farrell <stephen.farrell@cs.tcd.ie>:

>
> Hi Erik,
>
> I've a separate question: does anyone use this extension
> or should we put it on a virtual/mental list of stuff to
> be deprecated when/if someone has the energy?
>
> S.
>
> On 06/05/16 09:42, Erik Andersen wrote:
> > X.509 has a specification of the Private key usage period extension
> > (8.2.2.5). This extension is a little confusing. It has notBefore and
> > notAfter specification. However, the text says:
> >
> > The notBefore component indicates the earliest date and time at which the
> > private key could be used for signing. If the notBefore component is not
> > present, then no information is provided as to when the period of valid
> use
> > of the private key commences. The notAfter component indicates the latest
> > date and time at which the private key could be used for signing. If the
> > notAfter component is not present then no information is provided as to
> when
> > the period of valid use of the private key concludes.
> >
> > With a little ill will, this can be read as the private key validation
> > period may extend beyond the validity of the public key. Note 1 adds to
> the
> > confusing, as it says:
> >
> > NOTE 1 - The period of valid use of the private key may be different from
> > the certified validity of the public key as indicated by the certificate
> > validity period. With digital signature keys, the usage period for the
> > signing private key is typically shorter than that for the verifying
> public
> > key.
> >
> > It is the word "typical" that confuses me. It implies it could be
> different.
> >
> > This extension was included in RFC 3280 with a heavy health warning. It
> was
> > omitted from RFC 5280 (except for A.2).
> >
> > In my mind, the validity of the private key should not spread outside the
> > validity period of the certificate.
> >
> > Have I misunderstood something?
>


-- 
Erwann.

--001a11c36b8a5b10fb053229f218
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Bonjour,<div><br></div><div>This extension is heavily used=
 in electronic passports.</div><div>ICAO has set it to be mandatory for Roo=
t CA and Document Signer certificates (subscriber certs used to verify data=
 in passports), and optional for MasterList signers.</div><div>See ICAO MRT=
D 9303 part 12 document (<a href=3D"http://www.icao.int/publications/Docume=
nts/9303_p12_cons_en.pdf">http://www.icao.int/publications/Documents/9303_p=
12_cons_en.pdf</a>).</div><div>ICAO did a bad job here; this extension alre=
ady hurt them in the past (preventing some Roots to issue a fresh CRL), and=
 their &quot;solution&quot; was to change the Name comparison rule for CRL =
checking, so that CAs that don&#39;t have the same Name but have the countr=
yName in common are to be considered the same CAs, except for China. Yes, i=
t&#39;s that bad.</div><div><br></div><div>This extension was already depre=
cated in RFC2459.</div><div><br><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">2016-05-06 11:53 GMT+02:00 Stephen Farrell <span dir=3D"lt=
r">&lt;<a href=3D"mailto:stephen.farrell@cs.tcd.ie" target=3D"_blank">steph=
en.farrell@cs.tcd.ie</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:so=
lid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
Hi Erik,<br>
<br>
I&#39;ve a separate question: does anyone use this extension<br>
or should we put it on a virtual/mental list of stuff to<br>
be deprecated when/if someone has the energy?<br>
<br>
S.<br>
<span class=3D""><br>
On 06/05/16 09:42, Erik Andersen wrote:<br>
&gt; X.509 has a specification of the Private key usage period extension<br=
>
&gt; (8.2.2.5). This extension is a little confusing. It has notBefore and<=
br>
&gt; notAfter specification. However, the text says:<br>
&gt;<br>
&gt; The notBefore component indicates the earliest date and time at which =
the<br>
&gt; private key could be used for signing. If the notBefore component is n=
ot<br>
&gt; present, then no information is provided as to when the period of vali=
d use<br>
&gt; of the private key commences. The notAfter component indicates the lat=
est<br>
&gt; date and time at which the private key could be used for signing. If t=
he<br>
&gt; notAfter component is not present then no information is provided as t=
o when<br>
&gt; the period of valid use of the private key concludes.<br>
&gt;<br>
&gt; With a little ill will, this can be read as the private key validation=
<br>
&gt; period may extend beyond the validity of the public key. Note 1 adds t=
o the<br>
&gt; confusing, as it says:<br>
&gt;<br>
</span>&gt; NOTE 1 - The period of valid use of the private key may be diff=
erent from<br>
<span class=3D"">&gt; the certified validity of the public key as indicated=
 by the certificate<br>
&gt; validity period. With digital signature keys, the usage period for the=
<br>
&gt; signing private key is typically shorter than that for the verifying p=
ublic<br>
&gt; key.<br>
&gt;<br>
&gt; It is the word &quot;typical&quot; that confuses me. It implies it cou=
ld be different.<br>
&gt;<br>
&gt; This extension was included in RFC 3280 with a heavy health warning. I=
t was<br>
&gt; omitted from RFC 5280 (except for A.2).<br>
&gt;<br>
&gt; In my mind, the validity of the private key should not spread outside =
the<br>
&gt; validity period of the certificate.<br>
&gt;<br>
&gt; Have I misunderstood something?<br></span></blockquote></div><br clear=
=3D"all"><div><br></div>-- <br><div class=3D"gmail_signature">Erwann.</div>
</div></div></div>

--001a11c36b8a5b10fb053229f218--


From nobody Fri May  6 05:02:11 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
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 91C9D12D0CF for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 05:02:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.297
X-Spam-Level: 
X-Spam-Status: No, score=-5.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 ATSwQDKtBHqe for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 05:02:06 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AEDD12D115 for <pkix@ietf.org>; Fri,  6 May 2016 05:02:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id BA1D2BE38; Fri,  6 May 2016 13:02:04 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xrzDmpQBAqKe; Fri,  6 May 2016 13:02:04 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 274F1BE2F; Fri,  6 May 2016 13:02:04 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1462536124; bh=VfXm2fL//htHuWsB8htSHdldTfnq0ahsco5/6l2+8u4=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=KrYzxx1ih8cC7x8KEJ7jX2tF4MRxsAMpj8gpYo8BlPCgnXLWKp8uQOY3LGjQ9DWQg FhdxYNuDmZevyIeYPV2/pX3+v51clWZqWLcWmiC1UkMGv3uGDfEcp9qNWhN9rQtTpB NR/QKTk43Z5QUmWOM8NwPvoKnP45ubxSHSHKrRqM=
To: Erwann Abalea <eabalea@gmail.com>
References: <000901d1a773$379e1680$a6da4380$@x500.eu> <572C6980.8000808@cs.tcd.ie> <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <572C87BB.5000907@cs.tcd.ie>
Date: Fri, 6 May 2016 13:02:03 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020008020206030501090504"
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/pCa0eGyy7FpVIgQpRW9kcAbs_7M>
Cc: Directory list <x500standard@freelists.org>, PKIX <pkix@ietf.org>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 12:02:09 -0000

This is a cryptographically signed message in MIME format.

--------------ms020008020206030501090504
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Thanks both.

On 06/05/16 10:58, Denis wrote:
>
>
> It is used for certificates issued to Time-Stamping Units.

I could ask how many of those there are I guess, but we don't
need to go there.

On 06/05/16 11:30, Erwann Abalea wrote:
> Bonjour,
>=20
> This extension is heavily used in electronic passports.
> ICAO has set it to be mandatory for Root CA and Document Signer
> certificates (subscriber certs used to verify data in passports), and
> optional for MasterList signers.
> See ICAO MRTD 9303 part 12 document (
> http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf).
> ICAO did a bad job here; this extension already hurt them in the past
> (preventing some Roots to issue a fresh CRL), and their "solution" was =
to
> change the Name comparison rule for CRL checking, so that CAs that don'=
t
> have the same Name but have the countryName in common are to be conside=
red
> the same CAs, except for China. Yes, it's that bad.

Urgh.

>=20
> This extension was already deprecated in RFC2459.

Not quite - 2459 says CAs MUST NOT [1] include it,
3280 says it SHOULD NOT [2] be used on the Internet
and 5280 includes it in the ASN.1 module but nothing
much else. None of 'em quite come out and say "bad
idea to even include the code" but I guess given
there's some usage, 5280 is probably still good enough
for this.

S.

[1] https://tools.ietf.org/html/rfc2459#section-4.2.1.4
[2] https://tools.ietf.org/html/rfc3280#section-4.2.1.4
[3] https://tools.ietf.org/html/rfc5280#page-5

>=20
>=20
> 2016-05-06 11:53 GMT+02:00 Stephen Farrell <stephen.farrell@cs.tcd.ie>:=

>=20
>>
>> Hi Erik,
>>
>> I've a separate question: does anyone use this extension
>> or should we put it on a virtual/mental list of stuff to
>> be deprecated when/if someone has the energy?
>>
>> S.
>>
>> On 06/05/16 09:42, Erik Andersen wrote:
>>> X.509 has a specification of the Private key usage period extension
>>> (8.2.2.5). This extension is a little confusing. It has notBefore and=

>>> notAfter specification. However, the text says:
>>>
>>> The notBefore component indicates the earliest date and time at which=
 the
>>> private key could be used for signing. If the notBefore component is =
not
>>> present, then no information is provided as to when the period of val=
id
>> use
>>> of the private key commences. The notAfter component indicates the la=
test
>>> date and time at which the private key could be used for signing. If =
the
>>> notAfter component is not present then no information is provided as =
to
>> when
>>> the period of valid use of the private key concludes.
>>>
>>> With a little ill will, this can be read as the private key validatio=
n
>>> period may extend beyond the validity of the public key. Note 1 adds =
to
>> the
>>> confusing, as it says:
>>>
>>> NOTE 1 - The period of valid use of the private key may be different =
from
>>> the certified validity of the public key as indicated by the certific=
ate
>>> validity period. With digital signature keys, the usage period for th=
e
>>> signing private key is typically shorter than that for the verifying
>> public
>>> key.
>>>
>>> It is the word "typical" that confuses me. It implies it could be
>> different.
>>>
>>> This extension was included in RFC 3280 with a heavy health warning. =
It
>> was
>>> omitted from RFC 5280 (except for A.2).
>>>
>>> In my mind, the validity of the private key should not spread outside=
 the
>>> validity period of the certificate.
>>>
>>> Have I misunderstood something?
>>
>=20
>=20


--------------ms020008020206030501090504
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CvIwggUIMIID8KADAgECAhBPzaE7pzYviUJyhmHTFBdnMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwMjA5MDkyODE1WhcNMTcwMjA5MDkyODE1WjBOMSIwIAYDVQQDDBlzdGVw
aGVuLmZhcnJlbGxAY3MudGNkLmllMSgwJgYJKoZIhvcNAQkBFhlzdGVwaGVuLmZhcnJlbGxA
Y3MudGNkLmllMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtuC0rYze/2JinSra
C9F2RjGdQZjNALLcW9C3WKTwYII3wBslobmHuPEYE5JaGItmzuKnAW619R1rD/kfoNWC19N3
rBZ6UX9Cmb9D9exCwYIwVuSwjrCQWGxgCtNQTrwKzCCpI790GRiMTvxvO7UmzmBrCaBLiZW5
R0fBjK5Yn6hUhAzGBkNbkIEL28cLJqH0yVz7Kl92OlzrQqTPEts5m6cDnNdY/ADfeAX18c1r
dxZqcAxhLotrCqgsVA4ilbQDMMXGTLlB5TP35HeWZuGBU7xu003rLcFLdOkD8xvpJoYZy9Kt
3oABXPS5yqtMK+XCNdqmMn+4mOtLwQSMmPCSiQIDAQABo4IBuTCCAbUwCwYDVR0PBAQDAgSw
MB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAJBgNVHRMEAjAAMB0GA1UdDgQWBBQJ
QhvwQ5Fl372Z6xqo6fdn8XejTTAfBgNVHSMEGDAWgBQkgWw5Yb5JD4+3G0YrySi1J0htaDBv
BggrBgEFBQcBAQRjMGEwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbTA5
BggrBgEFBQcwAoYtaHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc2NhLmNsaWVudDEu
Y3J0MDgGA1UdHwQxMC8wLaAroCmGJ2h0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL3NjYS1jbGll
bnQxLmNybDAkBgNVHREEHTAbgRlzdGVwaGVuLmZhcnJlbGxAY3MudGNkLmllMCMGA1UdEgQc
MBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzBGBgNVHSAEPzA9MDsGCysGAQQBgbU3AQIE
MCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeTANBgkqhkiG
9w0BAQsFAAOCAQEArzrSv2C8PlBBmGuiGrzm2Wma46/KHtXmZYS0bsd43pM66Pc/MsqPE0HD
C1GzMFfwB6BfkJn8ijNSIhlgj898WzjvnpM/SO8KStjlB8719ig/xKISrOl5mX55XbFlQtX9
U6MrqRgbDIATxhD9IDr+ryvovDzChqgQj7mt2jYr4mdlRjsjod3H1VY6XglRmaaNGZfsCARM
aE/TU5SXIiqauwt5KxNGYAY67QkOBs7O1FkSXpTk7+1MmzJMF4nP8QQ5n8vhVNseF+/Wm7ai
9mtnrkLbaznMsy/ULo/C2yuLUWTbZZbf4EKNmVdme6tUDgYkFjAFOblfA7W1fSPiQGagYzCC
BeIwggPKoAMCAQICEGunin0K14jWUQr5WeTntOEwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UE
BhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFs
IENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g
QXV0aG9yaXR5MB4XDTE1MTIxNjAxMDAwNVoXDTMwMTIxNjAxMDAwNVowdTELMAkGA1UEBhMC
SUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmlj
YXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQTCC
ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL192vfDon2D9luC/dtbX64eG3XAtRmv
mCSsu1d52DXsCR58zJQbCtB2/A5uFqNxWacpXGGtTCRk9dEDBlmixEd8QiLkUfvHpJX/xKnm
VkS6Iye8wUbYzMsDzgnpazlPg19dnSqfhM+Cevdfa89VLnUztRr2cgmCfyO9Otrh7LJDPG+4
D8ZnAqDtVB8MKYJL6QgKyVhhaBc4y3bGWxKyXEtx7QIZZGxPwSkzK3WIN+VKNdkiwTubW5PI
dopmykwvIjLPqbJK7yPwFZYekKE015OsW6FV+s4DIM8UlVS8pkIsoGGJtMuWjLL4tq2hYQuu
N0jhrxK1ljz50hH23gA9cbMCAwEAAaOCAWQwggFgMA4GA1UdDwEB/wQEAwIBBjAdBgNVHSUE
FjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwEgYDVR0TAQH/BAgwBgEB/wIBADAyBgNVHR8EKzAp
MCegJaAjhiFodHRwOi8vY3JsLnN0YXJ0c3NsLmNvbS9zZnNjYS5jcmwwZgYIKwYBBQUHAQEE
WjBYMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5zdGFydHNzbC5jb20wMAYIKwYBBQUHMAKG
JGh0dHA6Ly9haWEuc3RhcnRzc2wuY29tL2NlcnRzL2NhLmNydDAdBgNVHQ4EFgQUJIFsOWG+
SQ+PtxtGK8kotSdIbWgwHwYDVR0jBBgwFoAUTgvvGqRAW6UXaYcwyjRoQ9BBrvIwPwYDVR0g
BDgwNjA0BgRVHSAAMCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3Bv
bGljeTANBgkqhkiG9w0BAQsFAAOCAgEAi+P3h+wBi4StDwECW5zhIycjBL008HACblIf26HY
0JdOruKbrWDsXUsiI0j/7Crft9S5oxvPiDtVqspBOB/y5uzSns1lZwh7sG96bYBZpcGzGxpF
NjDmQbcM3yl3WFIRS4WhNrsOY14V7y2IrUGsvetsD+bjyOngCIVeC/GmsmtbuLOzJ606tEc9
uRbhjTu/b0x2Fo+/e7UkQvKzNeo7OMhijixaULyINBfCBJb+e29bLafgu6JqjOUJ9eXXj20p
6q/CW+uVrZiSW57+q5an2P2i7hP85jQJcy5j4HzA0rSiF3YPhKGAWUxKPMAVGgcYoXzWydOv
Z3UDsTDTagXpRDIKQLZo02wrlxY6iMFqvlzsemVf1odhQJmi7Eh5TbxI40kDGcBOBHhwnaOu
mZhLP+SWJQnjpLpSlUOj95uf1zo9oz9e0NgIJoz/tdfrBzez76xtDsK0KfUDHt1/q59BvDI7
RX6gVr0fQoCyMczNzCTcRXYHY0tq2J0oT+bsb6sH2b4WVWAiJKnSYaWDjdA70qHX4mq9MIjO
/ZskmSY8wtAk24orAc0vwXgYanqNsBX5Yv4sN4Z9VyrwMdLcusP7HJgRdAGKpkR2I9U4zEsN
JQJewM7S4Jalo1DyPrLpL2nTET8ZrSl5Utp1UeGp/2deoprGevfnxWB+vHNQiu85o6MxggPM
MIIDyAIBATCBiTB1MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcG
A1UECxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0
Q29tIENsYXNzIDEgQ2xpZW50IENBAhBPzaE7pzYviUJyhmHTFBdnMA0GCWCGSAFlAwQCAQUA
oIICEzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNjA1MDYx
MjAyMDNaMC8GCSqGSIb3DQEJBDEiBCBdGR3/Hz8HkPzo5pxijYcSfccjJbdlBe5mqKODUGaw
DjBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcN
AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC
AgEoMIGaBgkrBgEEAYI3EAQxgYwwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMw
IQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzCB
nAYLKoZIhvcNAQkQAgsxgYyggYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYD
VQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzANBgkq
hkiG9w0BAQEFAASCAQAvUriw/YuE5Vp41eXLNoiTBKO0eAg4ldrf/JEVsJld530LSJuPe2Q1
0u/Xs1iELrfNvHgQB0AAb4ErroevQGF3mZhpXd37BwLdRD6CHvaueVUJTBSoA/N/Zpwf2HXM
D1ujVt+hEFoMnjCKghDbdKqfOuLk1Fm7xsmitiBrEBHYUK9rdtGn06yN6aV4wheRMq2QS0nw
RaFTdKdLDGR5qFdgrSioNYFbWhs4CAIt7bzXU6RQzx8Bj+EYqIrPFLNje41Ct4EPuHTy7d8n
jlT5nl7q+LB6G+uEZlLcHhnD9363Kdg/mQvROzhYMIPX5149avW5Cey2uU37l5+LwUzjOE3w
AAAAAAAA
--------------ms020008020206030501090504--


From nobody Fri May  6 05:25:51 2016
Return-Path: <era@x500.eu>
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 B75E412D968 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 05:25:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.619
X-Spam-Level: 
X-Spam-Status: No, score=-2.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 wkdx_7kapJwR for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 05:25:35 -0700 (PDT)
Received: from mail02.dandomain.dk (mail02.dandomain.dk [194.150.112.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A215512D95B for <pkix@ietf.org>; Fri,  6 May 2016 05:25:34 -0700 (PDT)
Received: from Morten ([62.44.135.87]) by mail02.dandomain.dk (DanDomain Mailserver) with ASMTP id 2201605061425317390; Fri, 06 May 2016 14:25:31 +0200
From: "Erik Andersen" <era@x500.eu>
To: "Directory list" <x500standard@freelists.org>, "PKIX" <pkix@ietf.org>
References: <000901d1a773$379e1680$a6da4380$@x500.eu>	<572C6980.8000808@cs.tcd.ie> <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com>
In-Reply-To: <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com>
Date: Fri, 6 May 2016 14:25:32 +0200
Message-ID: <005501d1a792$626cdb20$27469160$@x500.eu>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0056_01D1A7A3.25F77FE0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJYEc9fvtVi9SNiQE1fwP6vqYjwqAK1ra7zAi9++pqed9NP4A==
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/VY8OcTL7pTeXMzRyFhtHCgetH2c>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 12:25:47 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0056_01D1A7A3.25F77FE0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

OK, it is being used. I have seen no reason so far that the private key =
use period starts before and/or ends after the certificates validity =
period.

=20

If I get a message together with a certificate and the message is signed =
after the certificate validity period, but before the notAfter for the =
private key usage period, what do I do? Consider the certificate invalid =
and discard the message or do I validate the signature with the public =
key I am not supposed to use anymore.

=20

It is of no help to me that there may be another certificates with the =
same key pair, where the certificate validity period is different. I =
might not know those certificates.

=20

Regards,

=20

Erik

=20

Fra: Erwann Abalea [mailto:eabalea@gmail.com]=20
Sendt: 06 May 2016 12:30
Til: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: Erik Andersen <era@x500.eu>; Directory list =
<x500standard@freelists.org>; PKIX <pkix@ietf.org>
Emne: Re: [pkix] Private key usage period extension

=20

Bonjour,

=20

This extension is heavily used in electronic passports.

ICAO has set it to be mandatory for Root CA and Document Signer =
certificates (subscriber certs used to verify data in passports), and =
optional for MasterList signers.

See ICAO MRTD 9303 part 12 document =
(http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf).

ICAO did a bad job here; this extension already hurt them in the past =
(preventing some Roots to issue a fresh CRL), and their "solution" was =
to change the Name comparison rule for CRL checking, so that CAs that =
don't have the same Name but have the countryName in common are to be =
considered the same CAs, except for China. Yes, it's that bad.

=20

This extension was already deprecated in RFC2459.

=20

=20

2016-05-06 11:53 GMT+02:00 Stephen Farrell <stephen.farrell@cs.tcd.ie =
<mailto:stephen.farrell@cs.tcd.ie> >:


Hi Erik,

I've a separate question: does anyone use this extension
or should we put it on a virtual/mental list of stuff to
be deprecated when/if someone has the energy?

S.

On 06/05/16 09:42, Erik Andersen wrote:
> X.509 has a specification of the Private key usage period extension
> (8.2.2.5). This extension is a little confusing. It has notBefore and
> notAfter specification. However, the text says:
>
> The notBefore component indicates the earliest date and time at which =
the
> private key could be used for signing. If the notBefore component is =
not
> present, then no information is provided as to when the period of =
valid use
> of the private key commences. The notAfter component indicates the =
latest
> date and time at which the private key could be used for signing. If =
the
> notAfter component is not present then no information is provided as =
to when
> the period of valid use of the private key concludes.
>
> With a little ill will, this can be read as the private key validation
> period may extend beyond the validity of the public key. Note 1 adds =
to the
> confusing, as it says:
>
> NOTE 1 - The period of valid use of the private key may be different =
from
> the certified validity of the public key as indicated by the =
certificate
> validity period. With digital signature keys, the usage period for the
> signing private key is typically shorter than that for the verifying =
public
> key.
>
> It is the word "typical" that confuses me. It implies it could be =
different.
>
> This extension was included in RFC 3280 with a heavy health warning. =
It was
> omitted from RFC 5280 (except for A.2).
>
> In my mind, the validity of the private key should not spread outside =
the
> validity period of the certificate.
>
> Have I misunderstood something?




=20

--=20

Erwann.


------=_NextPart_000_0056_01D1A7A3.25F77FE0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>OK, it is being used. I have seen no reason =
so far that the private key use period starts before and/or ends after =
the certificates validity period.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>If I get a message together with a =
certificate and the message is signed after the certificate validity =
period, but before the notAfter for the private key usage period, what =
do I do? Consider the certificate invalid and discard the message or do =
I validate the signature with the public key I am not supposed to use =
anymore.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>It is of no help to me that there may be =
another certificates with the same key pair, where the certificate =
validity period is different. I might not know those =
certificates.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Erik<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><b><span lang=3DDA =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Fra:</span></=
b><span lang=3DDA =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> Erwann =
Abalea [mailto:eabalea@gmail.com] <br><b>Sendt:</b> 06 May 2016 =
12:30<br><b>Til:</b> Stephen Farrell =
&lt;stephen.farrell@cs.tcd.ie&gt;<br><b>Cc:</b> Erik Andersen =
&lt;era@x500.eu&gt;; Directory list &lt;x500standard@freelists.org&gt;; =
PKIX &lt;pkix@ietf.org&gt;<br><b>Emne:</b> Re: [pkix] Private key usage =
period extension<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>Bonjour,<o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>This extension is heavily used in electronic =
passports.<o:p></o:p></p></div><div><p class=3DMsoNormal>ICAO has set it =
to be mandatory for Root CA and Document Signer certificates (subscriber =
certs used to verify data in passports), and optional for MasterList =
signers.<o:p></o:p></p></div><div><p class=3DMsoNormal>See ICAO MRTD =
9303 part 12 document (<a =
href=3D"http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf">=
http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf</a>).<o:p=
></o:p></p></div><div><p class=3DMsoNormal>ICAO did a bad job here; this =
extension already hurt them in the past (preventing some Roots to issue =
a fresh CRL), and their &quot;solution&quot; was to change the Name =
comparison rule for CRL checking, so that CAs that don't have the same =
Name but have the countryName in common are to be considered the same =
CAs, except for China. Yes, it's that bad.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>This extension was already deprecated in =
RFC2459.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>2016-05-06 11:53 GMT+02:00 Stephen Farrell &lt;<a =
href=3D"mailto:stephen.farrell@cs.tcd.ie" =
target=3D"_blank">stephen.farrell@cs.tcd.ie</a>&gt;:<o:p></o:p></p><block=
quote style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm =
0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p =
class=3DMsoNormal><br>Hi Erik,<br><br>I've a separate question: does =
anyone use this extension<br>or should we put it on a virtual/mental =
list of stuff to<br>be deprecated when/if someone has the =
energy?<br><br>S.<br><br>On 06/05/16 09:42, Erik Andersen wrote:<br>&gt; =
X.509 has a specification of the Private key usage period =
extension<br>&gt; (8.2.2.5). This extension is a little confusing. It =
has notBefore and<br>&gt; notAfter specification. However, the text =
says:<br>&gt;<br>&gt; The notBefore component indicates the earliest =
date and time at which the<br>&gt; private key could be used for =
signing. If the notBefore component is not<br>&gt; present, then no =
information is provided as to when the period of valid use<br>&gt; of =
the private key commences. The notAfter component indicates the =
latest<br>&gt; date and time at which the private key could be used for =
signing. If the<br>&gt; notAfter component is not present then no =
information is provided as to when<br>&gt; the period of valid use of =
the private key concludes.<br>&gt;<br>&gt; With a little ill will, this =
can be read as the private key validation<br>&gt; period may extend =
beyond the validity of the public key. Note 1 adds to the<br>&gt; =
confusing, as it says:<br>&gt;<br>&gt; NOTE 1 - The period of valid use =
of the private key may be different from<br>&gt; the certified validity =
of the public key as indicated by the certificate<br>&gt; validity =
period. With digital signature keys, the usage period for the<br>&gt; =
signing private key is typically shorter than that for the verifying =
public<br>&gt; key.<br>&gt;<br>&gt; It is the word &quot;typical&quot; =
that confuses me. It implies it could be different.<br>&gt;<br>&gt; This =
extension was included in RFC 3280 with a heavy health warning. It =
was<br>&gt; omitted from RFC 5280 (except for A.2).<br>&gt;<br>&gt; In =
my mind, the validity of the private key should not spread outside =
the<br>&gt; validity period of the certificate.<br>&gt;<br>&gt; Have I =
misunderstood something?<o:p></o:p></p></blockquote></div><p =
class=3DMsoNormal><br clear=3Dall><o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><p class=3DMsoNormal>-- =
<o:p></o:p></p><div><p =
class=3DMsoNormal>Erwann.<o:p></o:p></p></div></div></div></div></div></b=
ody></html>
------=_NextPart_000_0056_01D1A7A3.25F77FE0--


From nobody Fri May  6 05:44:55 2016
Return-Path: <stefan@aaa-sec.com>
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 1EEF912D186 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 05:44:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] 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 xa5EhF1cC2uS for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 05:44:50 -0700 (PDT)
Received: from smtp.outgoing.loopia.se (smtp.outgoing.loopia.se [194.9.95.112]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EC2C012D16E for <pkix@ietf.org>; Fri,  6 May 2016 05:44:49 -0700 (PDT)
Received: from s554.loopia.se (localhost [127.0.0.1]) by s554.loopia.se (Postfix) with ESMTP id 79FB817005A8 for <pkix@ietf.org>; Fri,  6 May 2016 14:44:45 +0200 (CEST)
X-Loopia-Auth: user
X-Loopia-Originating-IP: 90.229.17.25
X-Loopia-User: stefan@fiddler.nu
Received: from s500.loopia.se (unknown [172.21.200.98]) by s554.loopia.se (Postfix) with ESMTP id 8F7EF947371; Fri,  6 May 2016 14:44:32 +0200 (CEST)
Received: from s405.loopia.se (unknown [172.21.200.105]) by s500.loopia.se (Postfix) with ESMTP id 8032BA9CA86; Fri,  6 May 2016 14:44:29 +0200 (CEST)
X-Virus-Scanned: amavisd-new at amavis.loopia.se
Received: from s500.loopia.se ([172.21.200.105]) by s405.loopia.se (s405.loopia.se [172.21.200.135]) (amavisd-new, port 10024) with LMTP id T-nrdzgG90gV; Fri,  6 May 2016 14:44:28 +0200 (CEST)
Received: from [10.0.1.51] (unknown [90.229.17.25]) (Authenticated sender: stefan@fiddler.nu) by s500.loopia.se (Postfix) with ESMTPSA id D9CB9A9CA09; Fri,  6 May 2016 14:44:28 +0200 (CEST)
User-Agent: Microsoft-MacOutlook/f.15.1.160411
Date: Fri, 06 May 2016 14:44:27 +0200
From: Stefan Santesson <stefan@aaa-sec.com>
To: <x500standard@freelists.org>, PKIX <pkix@ietf.org>
Message-Id: <4DF9B5CF-874E-4030-AA0A-AA5C12488D11@aaa-sec.com>
Thread-Topic: [x500standard] Private key usage period extension
References: <000901d1a773$379e1680$a6da4380$@x500.eu>
In-Reply-To: <000901d1a773$379e1680$a6da4380$@x500.eu>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_3545390668_854830121"
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/-wZ1BiRiLDvQn6MMT3JSgkaYQDg>
Subject: Re: [pkix] [x500standard] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 12:44:54 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3545390668_854830121
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

I think so Erik,

However, to me this belongs with the fuzzy parts of X.509 that would not be=
 designed this way, had the standard been written with the knowledge and exp=
erience we have today.
So to me this is a part of X.509 that has little or no value (and not reall=
y worth fixing).

Having said that, a private key can have a usage period that extends the ce=
rtificate, which is a quite common case when certificates are renewed.

At Microsoft, at the time I worked there, we came up with a potential use c=
ase  for this extension for CA:s when re-issuing a cert based on an existing=
 cert.
In this use-case the re-issued cert could only be re-issued if not contradi=
cted by the private key usage period extension in the old cert, if present, =
So in this case the private key usage period had to extend the old cert cert=
 and be honoured in the new cert.
This way you could for example issue a 1 year cert with a 5 year private ke=
y validity and make sure It was not renewed forever using the same key.
I think it was actually implemented in the CA but I doubt it was ever used =
in practice.

/Stefan


From:  <x500standard-bounce@freelists.org> on behalf of Erik Andersen <era@=
x500.eu>
Reply-To:  <x500standard@freelists.org>
Date:  Friday 6 May 2016 at 10:42
To:  Directory list <x500standard@freelists.org>, PKIX <pkix@ietf.org>
Subject:  [x500standard] Private key usage period extension

X.509 has a specification of the Private key usage period extension (8.2.2.=
5). This extension is a little confusing. It has notBefore and notAfter spec=
ification. However, the text says:

=20

The notBefore component indicates the earliest date and time at which the p=
rivate key could be used for signing. If the notBefore component is not pres=
ent, then no information is provided as to when the period of valid use of t=
he private key commences. The notAfter component indicates the latest date a=
nd time at which the private key could be used for signing. If the notAfter =
component is not present then no information is provided as to when the peri=
od of valid use of the private key concludes.

=20

With a little ill will, this can be read as the private key validation peri=
od may extend beyond the validity of the public key. Note 1 adds to the conf=
using, as it says:

=20

NOTE 1 =E2=80=93 The period of valid use of the private key may be different from=
 the certified validity of the public key as indicated by the certificate va=
lidity period. With digital signature keys, the usage period for the signing=
 private key is typically shorter than that for the verifying public key.

=20

It is the word =E2=80=9Ctypical=E2=80=9D that confuses me. It implies it could be diffe=
rent.

=20

This extension was included in RFC 3280 with a heavy health warning. It was=
 omitted from RFC 5280 (except for A.2).

=20

In my mind, the validity of the private key should not spread outside the v=
alidity period of the certificate.

=20

Have I misunderstood something?

=20

Erik


--B_3545390668_854830121
Content-type: text/html;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif;"><div><div>I think so Erik,</div><d=
iv><br></div><div>However, to me this belongs with the fuzzy parts of X.509 =
that would not be designed this way, had the standard been written with the =
knowledge and experience we have today.</div><div>So to me this is a part of=
 X.509 that has little or no value (and not really worth fixing).</div><div>=
<br></div><div>Having said that, a private key can have a usage period that =
extends the certificate, which is a quite common case when certificates are =
renewed.</div><div><br></div><div>At Microsoft, at the time I worked there, =
we came up with a potential use case &nbsp;for this extension for CA:s when =
re-issuing a cert based on an existing cert.</div><div>In this use-case the =
re-issued cert could only be re-issued if not contradicted by the private ke=
y usage period extension in the old cert, if present, So in this case the pr=
ivate key usage period had to extend the old cert cert and be honoured in th=
e new cert.</div><div>This way you could for example issue a 1 year cert wit=
h a 5 year private key validity and make sure It was not renewed forever usi=
ng the same key.</div><div>I think it was actually implemented in the CA but=
 I doubt it was ever used in practice.</div><div><br></div><div>/Stefan</div=
><div><br></div><div><div id=3D"MAC_OUTLOOK_SIGNATURE"></div></div></div><div>=
<br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; f=
ont-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BOR=
DER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT=
: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP=
: 3pt"><span style=3D"font-weight:bold">From: </span> &lt;<a href=3D"mailto:x500=
standard-bounce@freelists.org">x500standard-bounce@freelists.org</a>&gt; on =
behalf of Erik Andersen &lt;<a href=3D"mailto:era@x500.eu">era@x500.eu</a>&gt;=
<br><span style=3D"font-weight:bold">Reply-To: </span> &lt;<a href=3D"mailto:x50=
0standard@freelists.org">x500standard@freelists.org</a>&gt;<br><span style=3D"=
font-weight:bold">Date: </span> Friday 6 May 2016 at 10:42<br><span style=3D"f=
ont-weight:bold">To: </span> Directory list &lt;<a href=3D"mailto:x500standard=
@freelists.org">x500standard@freelists.org</a>&gt;, PKIX &lt;<a href=3D"mailto=
:pkix@ietf.org">pkix@ietf.org</a>&gt;<br><span style=3D"font-weight:bold">Subj=
ect: </span> [x500standard] Private key usage period extension<br></div><div=
><br></div><span style=3D"mso-bookmark:_MailOriginalBody"><blockquote id=3D"MAC_=
OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING=
:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmln=
s:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft=
-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"=
 xmlns=3D"http://www.w3.org/TR/REC-html40"><meta http-equiv=3D"Content-Type" con=
tent=3D"text/html; charset=3Dus-ascii"><meta name=3D"Generator" content=3D"Microsoft=
 Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.ASN1boldchar
	{mso-style-name:"ASN\.1 bold char";
	font-family:"Courier New";
	font-weight:bold;}
p.Note1, li.Note1, div.Note1
	{mso-style-name:"Note 1";
	margin-top:3.0pt;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:14.2pt;
	margin-bottom:.0001pt;
	text-align:justify;
	punctuation-wrap:simple;
	text-autospace:none;
	font-size:9.0pt;
	font-family:"Times New Roman",serif;
	mso-fareast-language:EN-US;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--><div lang=3D"EN-GB" link=3D"#0563C1" vlink=3D"#=
954F72"><div class=3D"WordSection1"><p class=3D"MsoNormal">X.509 has a specifica=
tion of the Private key usage period extension (8.2.2.5). This extension is =
a little confusing. It has notBefore and notAfter specification. However, th=
e text says:<o:p></o:p></p><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p clas=
s=3D"MsoNormal">The <span class=3D"ASN1boldchar"><span style=3D"font-size:9.0pt">n=
otBefore</span></span> component indicates the earliest date and time at whi=
ch the private key could be used for signing. If the <span class=3D"ASN1boldch=
ar"><span style=3D"font-size:9.0pt">notBefore</span></span> component is not p=
resent, then no information is provided as to when the period of valid use o=
f the private key commences. The <span class=3D"ASN1boldchar"><span style=3D"fon=
t-size:9.0pt">notAfter </span></span>component indicates the latest date and=
 time at which the private key could be used for signing. If the <span class=
=3D"ASN1boldchar"><span style=3D"font-size:9.0pt">notAfter</span></span> compone=
nt is not present then no information is provided as to when the period of v=
alid use of the private key concludes.<o:p></o:p></p><p class=3D"MsoNormal"><o=
:p>&nbsp;</o:p></p><p class=3D"MsoNormal">With a little ill will, this can be =
read as the private key validation period may extend beyond the validity of =
the public key. Note 1 adds to the confusing, as it says:<o:p></o:p></p><p c=
lass=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"Note1">NOTE&nbsp;1&nbsp;&#82=
11;&nbsp;The period of valid use of the private key may be different from th=
e certified validity of the public key as indicated by the certificate valid=
ity period. With digital signature keys, the usage period for the signing pr=
ivate key is typically shorter than that for the verifying public key.<o:p><=
/o:p></p><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"MsoNormal">It i=
s the word &#8220;typical&#8221; that confuses me. It implies it could be di=
fferent.<o:p></o:p></p><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"M=
soNormal">This extension was included in RFC 3280 with a heavy health warnin=
g. It was omitted from RFC 5280 (except for A.2).<o:p></o:p></p><p class=3D"Ms=
oNormal"><o:p>&nbsp;</o:p></p><p class=3D"MsoNormal">In my mind, the validity =
of the private key should not spread outside the validity period of the cert=
ificate.<o:p></o:p></p><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"M=
soNormal">Have I misunderstood something?<o:p></o:p></p><p class=3D"MsoNormal"=
><o:p>&nbsp;</o:p></p><p class=3D"MsoNormal">Erik<o:p></o:p></p></div></div></=
div></blockquote></span></span></body></html>

--B_3545390668_854830121--



From nobody Fri May  6 05:49:40 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
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 DCE8A12D16B for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 05:49:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.297
X-Spam-Level: 
X-Spam-Status: No, score=-5.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 62AYWAX6bt4O for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 05:49:36 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ACC6F12D14C for <pkix@ietf.org>; Fri,  6 May 2016 05:49:36 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 7BF5ABE47; Fri,  6 May 2016 13:49:35 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ORwug7Yw3qz8; Fri,  6 May 2016 13:49:35 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id DA94EBE38; Fri,  6 May 2016 13:49:34 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1462538975; bh=YgTUkmnqJjv7tKyznkkwX4toYYzYqb3KJyUV7D7EgIc=; h=Subject:To:References:From:Date:In-Reply-To:From; b=p8fanRXQ6TgxYRDZxxJE8oQpaZRsNS9yXzKdoSzxuTpburb1OOVjXYT4e48jBXBmg yQglNHo8XBesvE1QWYmP+0RaW5DCXNPBfZN9D2HdJUO5usGo04Se+prZVbvlUsqmu0 NJarBjyou0h7U2nrm+BG8XUML22gpmF4QNPg0l+0=
To: Erik Andersen <era@x500.eu>, Directory list <x500standard@freelists.org>,  PKIX <pkix@ietf.org>
References: <000901d1a773$379e1680$a6da4380$@x500.eu> <572C6980.8000808@cs.tcd.ie> <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com> <005501d1a792$626cdb20$27469160$@x500.eu>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <572C92DE.2020105@cs.tcd.ie>
Date: Fri, 6 May 2016 13:49:34 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <005501d1a792$626cdb20$27469160$@x500.eu>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms070403060302050605040500"
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/N71OxpgoXTC4KNninuwmMBqHGx4>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 12:49:39 -0000

This is a cryptographically signed message in MIME format.

--------------ms070403060302050605040500
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable



On 06/05/16 13:25, Erik Andersen wrote:
> OK, it is being used. I have seen no reason so far that the private
> key use period starts before and/or ends after the certificates
> validity period.
>=20
>=20
>=20
> If I get a message together with a certificate and the message is
> signed after the certificate validity period, but before the notAfter
> for the private key usage period, what do I do? Consider the
> certificate invalid and discard the message or do I validate the
> signature with the public key I am not supposed to use anymore.

The semantics of message signature validation is not a part
of RFC5280, and as we've seen nor is any semantics for that
particular extension, so you won't find an answer here I
figure.

If X.509 tries to specify such semantics, then IMO that's
broken. So my answer to your question is: go look at whatever
it is that specifies the semantics of that message signature.

S.

>=20
>=20
>=20
> It is of no help to me that there may be another certificates with
> the same key pair, where the certificate validity period is
> different. I might not know those certificates.
>=20
>=20
>=20
> Regards,
>=20
>=20
>=20
> Erik
>=20
>=20
>=20
> Fra: Erwann Abalea [mailto:eabalea@gmail.com] Sendt: 06 May 2016
> 12:30 Til: Stephen Farrell <stephen.farrell@cs.tcd.ie> Cc: Erik
> Andersen <era@x500.eu>; Directory list <x500standard@freelists.org>;
> PKIX <pkix@ietf.org> Emne: Re: [pkix] Private key usage period
> extension
>=20
>=20
>=20
> Bonjour,
>=20
>=20
>=20
> This extension is heavily used in electronic passports.
>=20
> ICAO has set it to be mandatory for Root CA and Document Signer
> certificates (subscriber certs used to verify data in passports), and
> optional for MasterList signers.
>=20
> See ICAO MRTD 9303 part 12 document
> (http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf).
>=20
> ICAO did a bad job here; this extension already hurt them in the past
> (preventing some Roots to issue a fresh CRL), and their "solution"
> was to change the Name comparison rule for CRL checking, so that CAs
> that don't have the same Name but have the countryName in common are
> to be considered the same CAs, except for China. Yes, it's that bad.
>=20
>=20
>=20
> This extension was already deprecated in RFC2459.
>=20
>=20
>=20
>=20
>=20
> 2016-05-06 11:53 GMT+02:00 Stephen Farrell <stephen.farrell@cs.tcd.ie
> <mailto:stephen.farrell@cs.tcd.ie> >:
>=20
>=20
> Hi Erik,
>=20
> I've a separate question: does anyone use this extension or should we
> put it on a virtual/mental list of stuff to be deprecated when/if
> someone has the energy?
>=20
> S.
>=20
> On 06/05/16 09:42, Erik Andersen wrote:
>> X.509 has a specification of the Private key usage period
>> extension (8.2.2.5). This extension is a little confusing. It has
>> notBefore and notAfter specification. However, the text says:
>>=20
>> The notBefore component indicates the earliest date and time at
>> which the private key could be used for signing. If the notBefore
>> component is not present, then no information is provided as to
>> when the period of valid use of the private key commences. The
>> notAfter component indicates the latest date and time at which the
>> private key could be used for signing. If the notAfter component is
>> not present then no information is provided as to when the period
>> of valid use of the private key concludes.
>>=20
>> With a little ill will, this can be read as the private key
>> validation period may extend beyond the validity of the public key.
>> Note 1 adds to the confusing, as it says:
>>=20
>> NOTE 1 - The period of valid use of the private key may be
>> different from the certified validity of the public key as
>> indicated by the certificate validity period. With digital
>> signature keys, the usage period for the signing private key is
>> typically shorter than that for the verifying public key.
>>=20
>> It is the word "typical" that confuses me. It implies it could be
>> different.
>>=20
>> This extension was included in RFC 3280 with a heavy health
>> warning. It was omitted from RFC 5280 (except for A.2).
>>=20
>> In my mind, the validity of the private key should not spread
>> outside the validity period of the certificate.
>>=20
>> Have I misunderstood something?
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> _______________________________________________ pkix mailing list=20
> pkix@ietf.org https://www.ietf.org/mailman/listinfo/pkix
>=20


--------------ms070403060302050605040500
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CvIwggUIMIID8KADAgECAhBPzaE7pzYviUJyhmHTFBdnMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwMjA5MDkyODE1WhcNMTcwMjA5MDkyODE1WjBOMSIwIAYDVQQDDBlzdGVw
aGVuLmZhcnJlbGxAY3MudGNkLmllMSgwJgYJKoZIhvcNAQkBFhlzdGVwaGVuLmZhcnJlbGxA
Y3MudGNkLmllMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtuC0rYze/2JinSra
C9F2RjGdQZjNALLcW9C3WKTwYII3wBslobmHuPEYE5JaGItmzuKnAW619R1rD/kfoNWC19N3
rBZ6UX9Cmb9D9exCwYIwVuSwjrCQWGxgCtNQTrwKzCCpI790GRiMTvxvO7UmzmBrCaBLiZW5
R0fBjK5Yn6hUhAzGBkNbkIEL28cLJqH0yVz7Kl92OlzrQqTPEts5m6cDnNdY/ADfeAX18c1r
dxZqcAxhLotrCqgsVA4ilbQDMMXGTLlB5TP35HeWZuGBU7xu003rLcFLdOkD8xvpJoYZy9Kt
3oABXPS5yqtMK+XCNdqmMn+4mOtLwQSMmPCSiQIDAQABo4IBuTCCAbUwCwYDVR0PBAQDAgSw
MB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAJBgNVHRMEAjAAMB0GA1UdDgQWBBQJ
QhvwQ5Fl372Z6xqo6fdn8XejTTAfBgNVHSMEGDAWgBQkgWw5Yb5JD4+3G0YrySi1J0htaDBv
BggrBgEFBQcBAQRjMGEwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbTA5
BggrBgEFBQcwAoYtaHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc2NhLmNsaWVudDEu
Y3J0MDgGA1UdHwQxMC8wLaAroCmGJ2h0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL3NjYS1jbGll
bnQxLmNybDAkBgNVHREEHTAbgRlzdGVwaGVuLmZhcnJlbGxAY3MudGNkLmllMCMGA1UdEgQc
MBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzBGBgNVHSAEPzA9MDsGCysGAQQBgbU3AQIE
MCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeTANBgkqhkiG
9w0BAQsFAAOCAQEArzrSv2C8PlBBmGuiGrzm2Wma46/KHtXmZYS0bsd43pM66Pc/MsqPE0HD
C1GzMFfwB6BfkJn8ijNSIhlgj898WzjvnpM/SO8KStjlB8719ig/xKISrOl5mX55XbFlQtX9
U6MrqRgbDIATxhD9IDr+ryvovDzChqgQj7mt2jYr4mdlRjsjod3H1VY6XglRmaaNGZfsCARM
aE/TU5SXIiqauwt5KxNGYAY67QkOBs7O1FkSXpTk7+1MmzJMF4nP8QQ5n8vhVNseF+/Wm7ai
9mtnrkLbaznMsy/ULo/C2yuLUWTbZZbf4EKNmVdme6tUDgYkFjAFOblfA7W1fSPiQGagYzCC
BeIwggPKoAMCAQICEGunin0K14jWUQr5WeTntOEwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UE
BhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFs
IENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g
QXV0aG9yaXR5MB4XDTE1MTIxNjAxMDAwNVoXDTMwMTIxNjAxMDAwNVowdTELMAkGA1UEBhMC
SUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmlj
YXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQTCC
ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL192vfDon2D9luC/dtbX64eG3XAtRmv
mCSsu1d52DXsCR58zJQbCtB2/A5uFqNxWacpXGGtTCRk9dEDBlmixEd8QiLkUfvHpJX/xKnm
VkS6Iye8wUbYzMsDzgnpazlPg19dnSqfhM+Cevdfa89VLnUztRr2cgmCfyO9Otrh7LJDPG+4
D8ZnAqDtVB8MKYJL6QgKyVhhaBc4y3bGWxKyXEtx7QIZZGxPwSkzK3WIN+VKNdkiwTubW5PI
dopmykwvIjLPqbJK7yPwFZYekKE015OsW6FV+s4DIM8UlVS8pkIsoGGJtMuWjLL4tq2hYQuu
N0jhrxK1ljz50hH23gA9cbMCAwEAAaOCAWQwggFgMA4GA1UdDwEB/wQEAwIBBjAdBgNVHSUE
FjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwEgYDVR0TAQH/BAgwBgEB/wIBADAyBgNVHR8EKzAp
MCegJaAjhiFodHRwOi8vY3JsLnN0YXJ0c3NsLmNvbS9zZnNjYS5jcmwwZgYIKwYBBQUHAQEE
WjBYMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5zdGFydHNzbC5jb20wMAYIKwYBBQUHMAKG
JGh0dHA6Ly9haWEuc3RhcnRzc2wuY29tL2NlcnRzL2NhLmNydDAdBgNVHQ4EFgQUJIFsOWG+
SQ+PtxtGK8kotSdIbWgwHwYDVR0jBBgwFoAUTgvvGqRAW6UXaYcwyjRoQ9BBrvIwPwYDVR0g
BDgwNjA0BgRVHSAAMCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3Bv
bGljeTANBgkqhkiG9w0BAQsFAAOCAgEAi+P3h+wBi4StDwECW5zhIycjBL008HACblIf26HY
0JdOruKbrWDsXUsiI0j/7Crft9S5oxvPiDtVqspBOB/y5uzSns1lZwh7sG96bYBZpcGzGxpF
NjDmQbcM3yl3WFIRS4WhNrsOY14V7y2IrUGsvetsD+bjyOngCIVeC/GmsmtbuLOzJ606tEc9
uRbhjTu/b0x2Fo+/e7UkQvKzNeo7OMhijixaULyINBfCBJb+e29bLafgu6JqjOUJ9eXXj20p
6q/CW+uVrZiSW57+q5an2P2i7hP85jQJcy5j4HzA0rSiF3YPhKGAWUxKPMAVGgcYoXzWydOv
Z3UDsTDTagXpRDIKQLZo02wrlxY6iMFqvlzsemVf1odhQJmi7Eh5TbxI40kDGcBOBHhwnaOu
mZhLP+SWJQnjpLpSlUOj95uf1zo9oz9e0NgIJoz/tdfrBzez76xtDsK0KfUDHt1/q59BvDI7
RX6gVr0fQoCyMczNzCTcRXYHY0tq2J0oT+bsb6sH2b4WVWAiJKnSYaWDjdA70qHX4mq9MIjO
/ZskmSY8wtAk24orAc0vwXgYanqNsBX5Yv4sN4Z9VyrwMdLcusP7HJgRdAGKpkR2I9U4zEsN
JQJewM7S4Jalo1DyPrLpL2nTET8ZrSl5Utp1UeGp/2deoprGevfnxWB+vHNQiu85o6MxggPM
MIIDyAIBATCBiTB1MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcG
A1UECxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0
Q29tIENsYXNzIDEgQ2xpZW50IENBAhBPzaE7pzYviUJyhmHTFBdnMA0GCWCGSAFlAwQCAQUA
oIICEzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNjA1MDYx
MjQ5MzRaMC8GCSqGSIb3DQEJBDEiBCClOWohoWYgw0YgGnLD/zf1zepmjC8UI9pGxSS1P7V/
pzBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcN
AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC
AgEoMIGaBgkrBgEEAYI3EAQxgYwwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMw
IQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzCB
nAYLKoZIhvcNAQkQAgsxgYyggYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYD
VQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzANBgkq
hkiG9w0BAQEFAASCAQA2oQdGbia9bgQEJmBvMU3Ssb5g1biDsGstFoEvdAYJ8/Ips+Ggfauu
fsMZaI1+IwQS6mNJ5BhdJU9mz0TXF7Simx8hQBatGBlQ+WkM6zdwveOfQd/C3UrjNIhEqXFb
KAOrXwPHfpScJkFauMegviG3fiVVYYseTuWNwYtNhxFgLN2EUcF2Dbpj6RtqkYqrBDwWAHxG
/px7F0mrs6Wrma9nQXwjxzyJZuMRQSEslO9lN/nK8skHnBcp8aLXTbFE9yh3omPLkT+P68NE
+baSL/Hkt2STml2p0DDSdaKF5UOltHiVhxC2JwSkx2xRCua8jzaM3Qfw0jVvvtezszDW4xA/
AAAAAAAA
--------------ms070403060302050605040500--


From nobody Fri May  6 06:01:24 2016
Return-Path: <prvs=09344e319b=peter.rybar@nbusr.sk>
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 C04CC12D150 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 06:01:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.051
X-Spam-Level: 
X-Spam-Status: No, score=-0.051 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DOS_OUTLOOK_TO_MX=2.845, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=no 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 cSRUp7yKIEgB for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 06:01:21 -0700 (PDT)
Received: from mail.nbusr.sk (mail.nbusr.sk [84.245.65.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C20612D1BE for <pkix@ietf.org>; Fri,  6 May 2016 06:01:20 -0700 (PDT)
From: =?UTF-8?Q?Peter_Ryb=C3=A1r?= <peter.rybar@nbusr.sk>
To: "'Erik Andersen'" <era@x500.eu>, "'Directory list'" <x500standard@freelists.org>, "'PKIX'" <pkix@ietf.org>
References: <000901d1a773$379e1680$a6da4380$@x500.eu>	<572C6980.8000808@cs.tcd.ie> <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com> <005501d1a792$626cdb20$27469160$@x500.eu>
In-Reply-To: <005501d1a792$626cdb20$27469160$@x500.eu>
Date: Fri, 6 May 2016 15:01:05 +0200
Message-ID: <201605061301.u46D1H0a018382@mail.nbusr.sk>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_004B_01D1A7A8.1D3B60B0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJYEc9fvtVi9SNiQE1fwP6vqYjwqAK1ra7zAi9++poB/9jKa55n4Nuw
Content-Language: sk
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level: 
X-NAI-Spam-Threshold: 6
X-NAI-Spam-Score: 0.4
X-NAI-Spam-Version: 2.3.0.9418 : core <5664> : inlines <4770> : streams <1630939> : uri <2204347>
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/-yxoTNLMf8B0kBlomElyNha2OJE>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 13:01:24 -0000

This is a multipart message in MIME format.

------=_NextPart_000_004B_01D1A7A8.1D3B60B0
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

You can see many certificates with the same key and with different =
validity period e.g. in Austria trusted list:

=20

http://tlbrowser.tsl.website/tools/index.jsp=20

=20

- AT        Rundfunk und Telekom Regulierungs-GmbH

-- Trust Service Providers=20

--- A-Trust Gesellschaft f=C3=BCr Sicherheitssysteme im elektronischen =
Datenverkehr GmbH

--- Trust Services

---- a-sign-Premium-Sig-01 (key no. 1)

=20

Certificate (1)

Serial number: 6164

Subject: =
CN=3Da-sign-Premium-Sig-01,OU=3Da-sign-Premium-Sig-01,O=3DA-Trust Ges. =
f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=3DAT

Valid not before: Thu Jan 23 00:00:00 CET 2003

      not after: Mon Jan 23 00:00:00 CET 2006

SubjectKeyIdentifier

40:D7:F3:9E:1B:87:3A:CC

=20

Certificate (2)

Serial number: 57998

Subject: =
CN=3Da-sign-Premium-Sig-01,OU=3Da-sign-Premium-Sig-01,O=3DA-Trust Ges. =
f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=3DAT

Valid not before: Mon Dec 06 00:00:00 CET 2004

      not after: Mon Dec 01 00:00:00 CET 2008

SubjectKeyIdentifier

40:D7:F3:9E:1B:87:3A:CC

=20

Certificate (3)

Serial number: 307164

Subject: =
CN=3Da-sign-Premium-Sig-01,OU=3Da-sign-Premium-Sig-01,O=3DA-Trust Ges. =
f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=3DAT

Valid not before: Mon Dec 01 00:00:00 CET 2008

      not after: Sat Dec 01 00:00:00 CET 2012

SubjectKeyIdentifier

40:D7:F3:9E:1B:87:3A:CC

=20

...

=20

Peter

=20

From: pkix [mailto:pkix-bounces@ietf.org] On Behalf Of Erik Andersen
Sent: Friday, May 6, 2016 2:26 PM
To: Directory list; PKIX
Subject: Re: [pkix] Private key usage period extension

=20

OK, it is being used. I have seen no reason so far that the private key =
use period starts before and/or ends after the certificates validity =
period.

=20

If I get a message together with a certificate and the message is signed =
after the certificate validity period, but before the notAfter for the =
private key usage period, what do I do? Consider the certificate invalid =
and discard the message or do I validate the signature with the public =
key I am not supposed to use anymore.

=20

It is of no help to me that there may be another certificates with the =
same key pair, where the certificate validity period is different. I =
might not know those certificates.

=20

Regards,

=20

Erik

=20

Fra: Erwann Abalea [mailto:eabalea@gmail.com]=20
Sendt: 06 May 2016 12:30
Til: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: Erik Andersen <era@x500.eu>; Directory list =
<x500standard@freelists.org>; PKIX <pkix@ietf.org>
Emne: Re: [pkix] Private key usage period extension

=20

Bonjour,

=20

This extension is heavily used in electronic passports.

ICAO has set it to be mandatory for Root CA and Document Signer =
certificates (subscriber certs used to verify data in passports), and =
optional for MasterList signers.

See ICAO MRTD 9303 part 12 document =
(http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf).

ICAO did a bad job here; this extension already hurt them in the past =
(preventing some Roots to issue a fresh CRL), and their "solution" was =
to change the Name comparison rule for CRL checking, so that CAs that =
don't have the same Name but have the countryName in common are to be =
considered the same CAs, except for China. Yes, it's that bad.

=20

This extension was already deprecated in RFC2459.

=20

=20

2016-05-06 11:53 GMT+02:00 Stephen Farrell <stephen.farrell@cs.tcd.ie>:


Hi Erik,

I've a separate question: does anyone use this extension
or should we put it on a virtual/mental list of stuff to
be deprecated when/if someone has the energy?

S.

On 06/05/16 09:42, Erik Andersen wrote:
> X.509 has a specification of the Private key usage period extension
> (8.2.2.5). This extension is a little confusing. It has notBefore and
> notAfter specification. However, the text says:
>
> The notBefore component indicates the earliest date and time at which =
the
> private key could be used for signing. If the notBefore component is =
not
> present, then no information is provided as to when the period of =
valid use
> of the private key commences. The notAfter component indicates the =
latest
> date and time at which the private key could be used for signing. If =
the
> notAfter component is not present then no information is provided as =
to when
> the period of valid use of the private key concludes.
>
> With a little ill will, this can be read as the private key validation
> period may extend beyond the validity of the public key. Note 1 adds =
to the
> confusing, as it says:
>
> NOTE 1 - The period of valid use of the private key may be different =
from
> the certified validity of the public key as indicated by the =
certificate
> validity period. With digital signature keys, the usage period for the
> signing private key is typically shorter than that for the verifying =
public
> key.
>
> It is the word "typical" that confuses me. It implies it could be =
different.
>
> This extension was included in RFC 3280 with a heavy health warning. =
It was
> omitted from RFC 5280 (except for A.2).
>
> In my mind, the validity of the private key should not spread outside =
the
> validity period of the certificate.
>
> Have I misunderstood something?




=20

--=20

Erwann.


------=_NextPart_000_004B_01D1A7A8.1D3B60B0
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 14 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Text bubliny Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.TextbublinyChar
	{mso-style-name:"Text bubliny Char";
	mso-style-priority:99;
	mso-style-link:"Text bubliny";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DSK link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>You can see many certificates with the same key and with different =
validity period e.g. in Austria trusted list:<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><a =
href=3D"http://tlbrowser.tsl.website/tools/index.jsp">http://tlbrowser.ts=
l.website/tools/index.jsp</a> <o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>- AT=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Rundfunk und Telekom =
Regulierungs-GmbH<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>-- Trust Service Providers <o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>--- A-Trust Gesellschaft f=C3=BCr Sicherheitssysteme im =
elektronischen Datenverkehr GmbH<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>--- Trust Services<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>---- a-sign-Premium-Sig-01 (key no. 1)<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Certificate (1)<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Serial number: 6164<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Subject: =
CN=3Da-sign-Premium-Sig-01,OU=3Da-sign-Premium-Sig-01,O=3DA-Trust Ges. =
f. Sicherheitssysteme im elektr. Datenverkehr =
GmbH,C=3DAT<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Valid not before: Thu Jan 23 00:00:00 CET =
2003<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 not after: Mon Jan 23 00:00:00 CET =
2006<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>SubjectKeyIdentifier<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>40:D7:F3:9E:1B:87:3A:CC<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Certificate (2)<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Serial number: 57998<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Subject: =
CN=3Da-sign-Premium-Sig-01,OU=3Da-sign-Premium-Sig-01,O=3DA-Trust Ges. =
f. Sicherheitssysteme im elektr. Datenverkehr =
GmbH,C=3DAT<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Valid not before: Mon Dec 06 00:00:00 CET =
2004<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 not after: Mon Dec 01 00:00:00 CET =
2008<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>SubjectKeyIdentifier<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>40:D7:F3:9E:1B:87:3A:CC<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Certificate (3)<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Serial number: 307164<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Subject: =
CN=3Da-sign-Premium-Sig-01,OU=3Da-sign-Premium-Sig-01,O=3DA-Trust Ges. =
f. Sicherheitssysteme im elektr. Datenverkehr =
GmbH,C=3DAT<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Valid not before: Mon Dec 01 00:00:00 CET =
2008<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 not after: Sat Dec 01 00:00:00 CET =
2012<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>SubjectKeyIdentifier<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>40:D7:F3:9E:1B:87:3A:CC<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>...<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Peter<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm'><p class=3DMsoNormal><b><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> pkix =
[mailto:pkix-bounces@ietf.org] <b>On Behalf Of </b>Erik =
Andersen<br><b>Sent:</b> Friday, May 6, 2016 2:26 PM<br><b>To:</b> =
Directory list; PKIX<br><b>Subject:</b> Re: [pkix] Private key usage =
period extension<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'>OK, it is being used. I have seen no =
reason so far that the private key use period starts before and/or ends =
after the certificates validity period.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'>If I get a message together with a =
certificate and the message is signed after the certificate validity =
period, but before the notAfter for the private key usage period, what =
do I do? Consider the certificate invalid and discard the message or do =
I validate the signature with the public key I am not supposed to use =
anymore.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'>It is of no help to me that there may be =
another certificates with the same key pair, where the certificate =
validity period is different. I might not know those =
certificates.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'>Erik<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><b><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>Fra:</span>=
</b><span lang=3DEN-GB =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'> Erwann =
Abalea [<a =
href=3D"mailto:eabalea@gmail.com">mailto:eabalea@gmail.com</a>] =
<br><b>Sendt:</b> 06 May 2016 12:30<br><b>Til:</b> Stephen Farrell =
&lt;<a =
href=3D"mailto:stephen.farrell@cs.tcd.ie">stephen.farrell@cs.tcd.ie</a>&g=
t;<br><b>Cc:</b> Erik Andersen &lt;<a =
href=3D"mailto:era@x500.eu">era@x500.eu</a>&gt;; Directory list &lt;<a =
href=3D"mailto:x500standard@freelists.org">x500standard@freelists.org</a>=
&gt;; PKIX &lt;<a =
href=3D"mailto:pkix@ietf.org">pkix@ietf.org</a>&gt;<br><b>Emne:</b> Re: =
[pkix] Private key usage period extension<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><div><p =
class=3DMsoNormal><span =
lang=3DEN-GB>Bonjour,<o:p></o:p></span></p><div><p =
class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p></div><div><p =
class=3DMsoNormal><span lang=3DEN-GB>This extension is heavily used in =
electronic passports.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span lang=3DEN-GB>ICAO has set it to be mandatory for =
Root CA and Document Signer certificates (subscriber certs used to =
verify data in passports), and optional for MasterList =
signers.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
lang=3DEN-GB>See ICAO MRTD 9303 part 12 document (<a =
href=3D"http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf">=
http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf</a>).<o:p=
></o:p></span></p></div><div><p class=3DMsoNormal><span =
lang=3DEN-GB>ICAO did a bad job here; this extension already hurt them =
in the past (preventing some Roots to issue a fresh CRL), and their =
&quot;solution&quot; was to change the Name comparison rule for CRL =
checking, so that CAs that don't have the same Name but have the =
countryName in common are to be considered the same CAs, except for =
China. Yes, it's that bad.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p></div><div><p =
class=3DMsoNormal><span lang=3DEN-GB>This extension was already =
deprecated in RFC2459.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><div><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><div><p =
class=3DMsoNormal><span lang=3DEN-GB>2016-05-06 11:53 GMT+02:00 Stephen =
Farrell &lt;<a href=3D"mailto:stephen.farrell@cs.tcd.ie" =
target=3D"_blank">stephen.farrell@cs.tcd.ie</a>&gt;:<o:p></o:p></span></p=
><blockquote style=3D'border:none;border-left:solid #CCCCCC =
1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5=
.0pt'><p class=3DMsoNormal><span lang=3DEN-GB><br>Hi Erik,<br><br>I've a =
separate question: does anyone use this extension<br>or should we put it =
on a virtual/mental list of stuff to<br>be deprecated when/if someone =
has the energy?<br><br>S.<br><br>On 06/05/16 09:42, Erik Andersen =
wrote:<br>&gt; X.509 has a specification of the Private key usage period =
extension<br>&gt; (8.2.2.5). This extension is a little confusing. It =
has notBefore and<br>&gt; notAfter specification. However, the text =
says:<br>&gt;<br>&gt; The notBefore component indicates the earliest =
date and time at which the<br>&gt; private key could be used for =
signing. If the notBefore component is not<br>&gt; present, then no =
information is provided as to when the period of valid use<br>&gt; of =
the private key commences. The notAfter component indicates the =
latest<br>&gt; date and time at which the private key could be used for =
signing. If the<br>&gt; notAfter component is not present then no =
information is provided as to when<br>&gt; the period of valid use of =
the private key concludes.<br>&gt;<br>&gt; With a little ill will, this =
can be read as the private key validation<br>&gt; period may extend =
beyond the validity of the public key. Note 1 adds to the<br>&gt; =
confusing, as it says:<br>&gt;<br>&gt; NOTE 1 - The period of valid use =
of the private key may be different from<br>&gt; the certified validity =
of the public key as indicated by the certificate<br>&gt; validity =
period. With digital signature keys, the usage period for the<br>&gt; =
signing private key is typically shorter than that for the verifying =
public<br>&gt; key.<br>&gt;<br>&gt; It is the word &quot;typical&quot; =
that confuses me. It implies it could be different.<br>&gt;<br>&gt; This =
extension was included in RFC 3280 with a heavy health warning. It =
was<br>&gt; omitted from RFC 5280 (except for A.2).<br>&gt;<br>&gt; In =
my mind, the validity of the private key should not spread outside =
the<br>&gt; validity period of the certificate.<br>&gt;<br>&gt; Have I =
misunderstood something?<o:p></o:p></span></p></blockquote></div><p =
class=3DMsoNormal><span lang=3DEN-GB><br =
clear=3Dall><o:p></o:p></span></p><div><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p></div><p =
class=3DMsoNormal><span lang=3DEN-GB>-- <o:p></o:p></span></p><div><p =
class=3DMsoNormal><span =
lang=3DEN-GB>Erwann.<o:p></o:p></span></p></div></div></div></div></div><=
/body></html>
------=_NextPart_000_004B_01D1A7A8.1D3B60B0--


From nobody Fri May  6 06:10:34 2016
Return-Path: <stefan@aaa-sec.com>
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 8CAF812D51D for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 06:10:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] 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 4njWpYYA2GLA for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 06:10:28 -0700 (PDT)
Received: from smtp.outgoing.loopia.se (smtp.outgoing.loopia.se [194.9.95.112]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB30512D5F3 for <pkix@ietf.org>; Fri,  6 May 2016 06:10:27 -0700 (PDT)
Received: from s554.loopia.se (localhost [127.0.0.1]) by s554.loopia.se (Postfix) with ESMTP id 92566170196C for <pkix@ietf.org>; Fri,  6 May 2016 15:10:25 +0200 (CEST)
X-Loopia-Auth: user
X-Loopia-Originating-IP: 90.229.17.25
X-Loopia-User: stefan@fiddler.nu
Received: from s498.loopia.se (unknown [172.21.200.96]) by s554.loopia.se (Postfix) with ESMTP id 75B7A94709A; Fri,  6 May 2016 15:10:25 +0200 (CEST)
Received: from s406.loopia.se (unknown [172.21.200.105]) by s498.loopia.se (Postfix) with ESMTP id 6F7D0461A24; Fri,  6 May 2016 15:10:25 +0200 (CEST)
X-Virus-Scanned: amavisd-new at amavis.loopia.se
Received: from s499.loopia.se ([172.21.200.105]) by s406.loopia.se (s406.loopia.se [172.21.200.136]) (amavisd-new, port 10024) with LMTP id hOd6Vf8A-3l2; Fri,  6 May 2016 15:10:24 +0200 (CEST)
Received: from [10.0.1.51] (unknown [90.229.17.25]) (Authenticated sender: stefan@fiddler.nu) by s499.loopia.se (Postfix) with ESMTPSA id A8A3613634E8; Fri,  6 May 2016 15:10:24 +0200 (CEST)
User-Agent: Microsoft-MacOutlook/f.15.1.160411
Date: Fri, 06 May 2016 15:10:23 +0200
From: Stefan Santesson <stefan@aaa-sec.com>
To: <x500standard@freelists.org>, PKIX <pkix@ietf.org>
Message-Id: <AC93E3F3-8F1E-4395-84A6-245E5EE8B5CE@aaa-sec.com>
Thread-Topic: [x500standard] SV: [pkix] Private key usage period extension
References: <000901d1a773$379e1680$a6da4380$@x500.eu> <572C6980.8000808@cs.tcd.ie> <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com> <005501d1a792$626cdb20$27469160$@x500.eu>
In-Reply-To: <005501d1a792$626cdb20$27469160$@x500.eu>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_3545392224_1385492806"
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/EIt0JiMJG9tzD--836U0JG-uaLc>
Subject: Re: [pkix] [x500standard] SV:  Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 13:10:31 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3545392224_1385492806
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

In line;

From:  <x500standard-bounce@freelists.org> on behalf of Erik Andersen <era@=
x500.eu>
OK, it is being used. I have seen no reason so far that the private key use=
 period starts before and/or ends after the certificates validity period.

=20


I just posed one.
Actually I would rather see this period extend the certificate than being s=
horter than the certificate.

Having it longer than the certificate will not impact validation (see below=
). Having it shorter may cause confusion and potentially security issues.
Having a shorter private key period may create expectations that a verifier=
 will honor this period fail validation if a signature was created outside o=
f this period.
I doubt that there are many signature validation applications that actually=
 would process this extension if present. Resulting in false positive valida=
tion result.

If I get a message together with a certificate and the message is signed af=
ter the certificate validity period, but before the notAfter for the private=
 key usage period, what do I do? Consider the certificate invalid and discar=
d the message


Yes, because you don=E2=80=99t have a valid certificate for this signature.

 or do I validate the signature with the public key I am not supposed to us=
e anymore.


No. As the certificate is not valid, you stop there. No information in a ce=
rtificate that is not valid is of any interest to you.

=20

It is of no help to me that there may be another certificates with the same=
 key pair, where the certificate validity period is different. I might not k=
now those certificates.


Exactly. If you don=E2=80=99t have a valid certificate. You fail.


=20

Regards,

=20

Erik

=20

Fra: Erwann Abalea [mailto:eabalea@gmail.com]=20
=20

This extension is heavily used in electronic passports.

ICAO has set it to be mandatory for Root CA and Document Signer certificate=
s (subscriber certs used to verify data in passports), and optional for Mast=
erList signers.


It is typical that closed community applications can make use of odd extens=
ions in a successful manner as they are governed by extended specifications =
and profiles.

=20

This extension was already deprecated in RFC2459.

=20

=20

2016-05-06 11:53 GMT+02:00 Stephen Farrell <stephen.farrell@cs.tcd.ie>:


Hi Erik,

I've a separate question: does anyone use this extension
or should we put it on a virtual/mental list of stuff to
be deprecated when/if someone has the energy?

S.

On 06/05/16 09:42, Erik Andersen wrote:
> X.509 has a specification of the Private key usage period extension
> (8.2.2.5). This extension is a little confusing. It has notBefore and
> notAfter specification. However, the text says:
>
> The notBefore component indicates the earliest date and time at which the
> private key could be used for signing. If the notBefore component is not
> present, then no information is provided as to when the period of valid u=
se
> of the private key commences. The notAfter component indicates the latest
> date and time at which the private key could be used for signing. If the
> notAfter component is not present then no information is provided as to w=
hen
> the period of valid use of the private key concludes.
>
> With a little ill will, this can be read as the private key validation
> period may extend beyond the validity of the public key. Note 1 adds to t=
he
> confusing, as it says:
>
> NOTE 1 - The period of valid use of the private key may be different from
> the certified validity of the public key as indicated by the certificate
> validity period. With digital signature keys, the usage period for the
> signing private key is typically shorter than that for the verifying publ=
ic
> key.
>
> It is the word "typical" that confuses me. It implies it could be differe=
nt.
>
> This extension was included in RFC 3280 with a heavy health warning. It w=
as
> omitted from RFC 5280 (except for A.2).
>
> In my mind, the validity of the private key should not spread outside the
> validity period of the certificate.
>
> Have I misunderstood something?


=20

--=20

Erwann.


--B_3545392224_1385492806
Content-type: text/html;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif;"><div><div><div>In line;</div><div>=
<div id=3D"MAC_OUTLOOK_SIGNATURE"></div></div></div></div><div><br></div><span=
 id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:12pt; =
text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: mediu=
m none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-T=
OP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span st=
yle=3D"font-weight:bold">From: </span> &lt;<a href=3D"mailto:x500standard-bounce=
@freelists.org">x500standard-bounce@freelists.org</a>&gt; on behalf of Erik =
Andersen &lt;<a href=3D"mailto:era@x500.eu">era@x500.eu</a>&gt;<br></div><span=
 style=3D"mso-bookmark:_MailOriginalBody"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUT=
ION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN=
:0 0 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas=
-microsoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://w=
ww.w3.org/TR/REC-html40"><meta http-equiv=3D"Content-Type" content=3D"text/html;=
 charset=3Dutf-8"><meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--><div lang=3D"EN-GB" link=3D"blue" vlink=3D"purp=
le"><div class=3D"WordSection1"><p class=3D"MsoNormal"><span style=3D"font-size:11=
.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-la=
nguage:EN-US">OK, it is being used. I have seen no reason so far that the pr=
ivate key use period starts before and/or ends after the certificates validi=
ty period.<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-=
language:EN-US"><o:p>&nbsp;</o:p></span></p></div></div></div></blockquote><=
/span></span><div><br></div><div>I just posed one.</div><div>Actually I woul=
d rather see this period extend the certificate than being shorter than the =
certificate.</div><div><br></div><div>Having it longer than the certificate =
will not impact validation (see below). Having it shorter may cause confusio=
n and potentially security issues.</div><div>Having a shorter private key pe=
riod may create expectations that a verifier will honor this period fail val=
idation if a signature was created outside of this period.</div><div>I doubt=
 that there are many signature validation applications that actually would p=
rocess this extension if present. Resulting in false positive validation res=
ult.</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><span style=3D"mso-bo=
okmark:_MailOriginalBody"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE=
" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><di=
v xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com=
:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"htt=
p://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/R=
EC-html40"><div lang=3D"EN-GB" link=3D"blue" vlink=3D"purple"><div class=3D"WordSect=
ion1"><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;C=
alibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">If I get a=
 message together with a certificate and the message is signed after the cer=
tificate validity period, but before the notAfter for the private key usage =
period, what do I do? Consider the certificate invalid and discard the messa=
ge</span></p></div></div></div></blockquote></span></span><div><br></div><di=
v>Yes, because you don&#8217;t have a valid certificate for this signature.<=
/div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><span style=3D"mso-bookmar=
k:_MailOriginalBody"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" sty=
le=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div xml=
ns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:offi=
ce:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://s=
chemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-ht=
ml40"><div lang=3D"EN-GB" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1"=
><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibr=
i&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> or do I valida=
te the signature with the public key I am not supposed to use anymore.<o:p><=
/o:p></span></p></div></div></div></blockquote></span></span><div><br></div>=
<div>No. As the certificate is not valid, you stop there. No information in =
a certificate that is not valid is of any interest to you.</div><div><br></d=
iv><span id=3D"OLK_SRC_BODY_SECTION"><span style=3D"mso-bookmark:_MailOriginalBo=
dy"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: =
#b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:schemas=
-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:=
w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.=
com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D"=
EN-GB" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNor=
mal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-seri=
f;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p><p c=
lass=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quo=
t;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">It is of no help to =
me that there may be another certificates with the same key pair, where the =
certificate validity period is different. I might not know those certificate=
s.<o:p></o:p></span></p></div></div></div></blockquote></span></span><div><b=
r></div><div>Exactly. If you don&#8217;t have a valid certificate. You fail.=
</div><div><br></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><span st=
yle=3D"mso-bookmark:_MailOriginalBody"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION=
_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 =
0 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-mi=
crosoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.=
w3.org/TR/REC-html40"><div lang=3D"EN-GB" link=3D"blue" vlink=3D"purple"><div clas=
s=3D"WordSection1"><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"=
><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:11.=
0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-lan=
guage:EN-US">Regards,<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D=
"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;m=
so-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal">=
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;col=
or:#1F497D;mso-fareast-language:EN-US">Erik<o:p></o:p></span></p><p class=3D"M=
soNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans=
-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p=
><p class=3D"MsoNormal"><b><span lang=3D"DA" style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,sans-serif">Fra:</span></b><span lang=3D"DA" style=3D"font-=
size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Erwann Abalea [<a h=
ref=3D"mailto:eabalea@gmail.com">mailto:eabalea@gmail.com</a>] <br></span></p>=
<div><div><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p></div><div><p class=3D"Mso=
Normal">This extension is heavily used in electronic passports.<o:p></o:p></=
p></div><div><p class=3D"MsoNormal">ICAO has set it to be mandatory for Root C=
A and Document Signer certificates (subscriber certs used to verify data in =
passports), and optional for MasterList signers.</p></div></div></div></div>=
</div></blockquote></span></span><div><br></div><div>It is typical that clos=
ed community applications can make use of odd extensions in a successful man=
ner as they are governed by extended specifications and profiles.</div><div>=
<br></div><span id=3D"OLK_SRC_BODY_SECTION"><span style=3D"mso-bookmark:_MailOri=
ginalBody"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER=
-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:=
schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office"=
 xmlns:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.mic=
rosoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div=
 lang=3D"EN-GB" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1"><div><div=
><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p></div><div><p class=3D"MsoNormal">T=
his extension was already deprecated in RFC2459.<o:p></o:p></p></div><div><p=
 class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><div><p class=3D"MsoNormal"><o:p>&nbsp=
;</o:p></p><div><p class=3D"MsoNormal">2016-05-06 11:53 GMT+02:00 Stephen Farr=
ell &lt;<a href=3D"mailto:stephen.farrell@cs.tcd.ie" target=3D"_blank">stephen.f=
arrell@cs.tcd.ie</a>&gt;:<o:p></o:p></p><blockquote style=3D"border:none;borde=
r-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margi=
n-right:0cm"><p class=3D"MsoNormal"><br>Hi Erik,<br><br>I've a separate questi=
on: does anyone use this extension<br>or should we put it on a virtual/menta=
l list of stuff to<br>be deprecated when/if someone has the energy?<br><br>S=
.<br><br>On 06/05/16 09:42, Erik Andersen wrote:<br>&gt; X.509 has a specifi=
cation of the Private key usage period extension<br>&gt; (8.2.2.5). This ext=
ension is a little confusing. It has notBefore and<br>&gt; notAfter specific=
ation. However, the text says:<br>&gt;<br>&gt; The notBefore component indic=
ates the earliest date and time at which the<br>&gt; private key could be us=
ed for signing. If the notBefore component is not<br>&gt; present, then no i=
nformation is provided as to when the period of valid use<br>&gt; of the pri=
vate key commences. The notAfter component indicates the latest<br>&gt; date=
 and time at which the private key could be used for signing. If the<br>&gt;=
 notAfter component is not present then no information is provided as to whe=
n<br>&gt; the period of valid use of the private key concludes.<br>&gt;<br>&=
gt; With a little ill will, this can be read as the private key validation<b=
r>&gt; period may extend beyond the validity of the public key. Note 1 adds =
to the<br>&gt; confusing, as it says:<br>&gt;<br>&gt; NOTE 1 - The period of=
 valid use of the private key may be different from<br>&gt; the certified va=
lidity of the public key as indicated by the certificate<br>&gt; validity pe=
riod. With digital signature keys, the usage period for the<br>&gt; signing =
private key is typically shorter than that for the verifying public<br>&gt; =
key.<br>&gt;<br>&gt; It is the word "typical" that confuses me. It implies i=
t could be different.<br>&gt;<br>&gt; This extension was included in RFC 328=
0 with a heavy health warning. It was<br>&gt; omitted from RFC 5280 (except =
for A.2).<br>&gt;<br>&gt; In my mind, the validity of the private key should=
 not spread outside the<br>&gt; validity period of the certificate.<br>&gt;<=
br>&gt; Have I misunderstood something?<o:p></o:p></p></blockquote></div><p =
class=3D"MsoNormal"><br clear=3D"all"><o:p></o:p></p><div><p class=3D"MsoNormal"><=
o:p>&nbsp;</o:p></p></div><p class=3D"MsoNormal">-- <o:p></o:p></p><div><p cla=
ss=3D"MsoNormal">Erwann.<o:p></o:p></p></div></div></div></div></div></div></d=
iv></blockquote></span></span></body></html>

--B_3545392224_1385492806--



From nobody Fri May  6 06:46:37 2016
Return-Path: <era@x500.eu>
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 8402C12D57F for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 06:46:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.619
X-Spam-Level: 
X-Spam-Status: No, score=-2.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 LdMdthx_l9Zq for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 06:46:33 -0700 (PDT)
Received: from mail04.dandomain.dk (mail04.dandomain.dk [194.150.112.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B145212D197 for <pkix@ietf.org>; Fri,  6 May 2016 06:46:32 -0700 (PDT)
Received: from Morten ([62.44.134.200]) by mail04.dandomain.dk (DanDomain Mailserver) with ASMTP id 4201605061546262207; Fri, 06 May 2016 15:46:26 +0200
From: "Erik Andersen" <era@x500.eu>
To: <x500standard@freelists.org>, "'PKIX'" <pkix@ietf.org>
References: <000901d1a773$379e1680$a6da4380$@x500.eu> <572C6980.8000808@cs.tcd.ie> <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com> <005501d1a792$626cdb20$27469160$@x500.eu> <AC93E3F3-8F1E-4395-84A6-245E5EE8B5CE@aaa-sec.com>
In-Reply-To: <AC93E3F3-8F1E-4395-84A6-245E5EE8B5CE@aaa-sec.com>
Date: Fri, 6 May 2016 15:46:27 +0200
Message-ID: <007d01d1a79d$b0410410$10c30c30$@x500.eu>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_007E_01D1A7AE.73CBF6F0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJYEc9fvtVi9SNiQE1fwP6vqYjwqAK1ra7zAi9++poB/9jKawGvQ6J4nlpwAYA=
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/9rLS-VEv3rO-02AaeJXJVgEaMaw>
Subject: Re: [pkix] [x500standard] Re: SV: Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 13:46:36 -0000

This is a multipart message in MIME format.

------=_NextPart_000_007E_01D1A7AE.73CBF6F0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi Stefan,

=20

Thanks for the clarification. You wrote at some time that the extension =
is not worth fixing. It is against my responsibility as rapporteur and =
editor. If it is broken it shall be fixed or deprecated.

=20

I have one issue left. I do not like that either notBefore or notAfter =
can be omitted. notAfter could mean that the private key is valid until =
the sun burns out. If not specified, it could default the end of the =
validity of the cert validity period. Something similar for an omitted =
notBefore.

=20

Erik

=20

Fra: x500standard-bounce@freelists.org =
[mailto:x500standard-bounce@freelists.org] P=C3=A5 vegne af Stefan =
Santesson
Sendt: 06 May 2016 15:10
Til: x500standard@freelists.org; PKIX <pkix@ietf.org>
Emne: [x500standard] Re: SV: [pkix] Private key usage period extension

=20

In line;

=20

From: <x500standard-bounce@freelists.org =
<mailto:x500standard-bounce@freelists.org> > on behalf of Erik Andersen =
<era@x500.eu <mailto:era@x500.eu> >

OK, it is being used. I have seen no reason so far that the private key =
use period starts before and/or ends after the certificates validity =
period.

=20

=20

I just posed one.

Actually I would rather see this period extend the certificate than =
being shorter than the certificate.

=20

Having it longer than the certificate will not impact validation (see =
below). Having it shorter may cause confusion and potentially security =
issues.

Having a shorter private key period may create expectations that a =
verifier will honor this period fail validation if a signature was =
created outside of this period.

I doubt that there are many signature validation applications that =
actually would process this extension if present. Resulting in false =
positive validation result.

=20

If I get a message together with a certificate and the message is signed =
after the certificate validity period, but before the notAfter for the =
private key usage period, what do I do? Consider the certificate invalid =
and discard the message

=20

Yes, because you don=E2=80=99t have a valid certificate for this =
signature.

=20

or do I validate the signature with the public key I am not supposed to =
use anymore.

=20

No. As the certificate is not valid, you stop there. No information in a =
certificate that is not valid is of any interest to you.

=20

=20

It is of no help to me that there may be another certificates with the =
same key pair, where the certificate validity period is different. I =
might not know those certificates.

=20

Exactly. If you don=E2=80=99t have a valid certificate. You fail.

=20

=20

=20

Regards,

=20

Erik

=20

Fra: Erwann Abalea [mailto:eabalea@gmail.com]=20

=20

This extension is heavily used in electronic passports.

ICAO has set it to be mandatory for Root CA and Document Signer =
certificates (subscriber certs used to verify data in passports), and =
optional for MasterList signers.

=20

It is typical that closed community applications can make use of odd =
extensions in a successful manner as they are governed by extended =
specifications and profiles.

=20

=20

This extension was already deprecated in RFC2459.

=20

=20

2016-05-06 11:53 GMT+02:00 Stephen Farrell <stephen.farrell@cs.tcd.ie =
<mailto:stephen.farrell@cs.tcd.ie> >:


Hi Erik,

I've a separate question: does anyone use this extension
or should we put it on a virtual/mental list of stuff to
be deprecated when/if someone has the energy?

S.

On 06/05/16 09:42, Erik Andersen wrote:
> X.509 has a specification of the Private key usage period extension
> (8.2.2.5). This extension is a little confusing. It has notBefore and
> notAfter specification. However, the text says:
>
> The notBefore component indicates the earliest date and time at which =
the
> private key could be used for signing. If the notBefore component is =
not
> present, then no information is provided as to when the period of =
valid use
> of the private key commences. The notAfter component indicates the =
latest
> date and time at which the private key could be used for signing. If =
the
> notAfter component is not present then no information is provided as =
to when
> the period of valid use of the private key concludes.
>
> With a little ill will, this can be read as the private key validation
> period may extend beyond the validity of the public key. Note 1 adds =
to the
> confusing, as it says:
>
> NOTE 1 - The period of valid use of the private key may be different =
from
> the certified validity of the public key as indicated by the =
certificate
> validity period. With digital signature keys, the usage period for the
> signing private key is typically shorter than that for the verifying =
public
> key.
>
> It is the word "typical" that confuses me. It implies it could be =
different.
>
> This extension was included in RFC 3280 with a heavy health warning. =
It was
> omitted from RFC 5280 (except for A.2).
>
> In my mind, the validity of the private key should not spread outside =
the
> validity period of the certificate.
>
> Have I misunderstood something?




=20

--=20

Erwann.


------=_NextPart_000_007E_01D1A7AE.73CBF6F0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Hi Stefan,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Thanks for the clarification. You wrote at =
some time that the extension is not worth fixing. It is against my =
responsibility as rapporteur and editor. If it is broken it shall be =
fixed or deprecated.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>I have one issue left. I do not like that =
either notBefore or notAfter can be omitted. notAfter could mean that =
the private key is valid until the sun burns out. If not specified, it =
could default the end of the validity of the cert validity period. =
Something similar for an omitted notBefore.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Erik<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm'><p class=3DMsoNormal><b><span lang=3DDA =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Fra:</span></=
b><span lang=3DDA =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> =
x500standard-bounce@freelists.org =
[mailto:x500standard-bounce@freelists.org] <b>P=C3=A5 vegne af =
</b>Stefan Santesson<br><b>Sendt:</b> 06 May 2016 15:10<br><b>Til:</b> =
x500standard@freelists.org; PKIX &lt;pkix@ietf.org&gt;<br><b>Emne:</b> =
[x500standard] Re: SV: [pkix] Private key usage period =
extension<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>I=
n line;<o:p></o:p></span></p></div></div></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm'><p class=3DMsoNormal><b><span =
style=3D'font-family:"Calibri",sans-serif;color:black'>From: =
</span></b><span =
style=3D'font-family:"Calibri",sans-serif;color:black'>&lt;<a =
href=3D"mailto:x500standard-bounce@freelists.org">x500standard-bounce@fre=
elists.org</a>&gt; on behalf of Erik Andersen &lt;<a =
href=3D"mailto:era@x500.eu">era@x500.eu</a>&gt;<o:p></o:p></span></p></di=
v><blockquote style=3D'border:none;border-left:solid #B5C4DF =
4.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-right:0cm' =
id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>OK, it is being used. I have seen no reason =
so far that the private key use period starts before and/or ends after =
the certificates validity period.</span><span =
style=3D'color:black'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>&nbsp;</span><span =
style=3D'color:black'><o:p></o:p></span></p></div></div></blockquote><div=
><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>I=
 just posed one.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>A=
ctually I would rather see this period extend the certificate than being =
shorter than the certificate.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>H=
aving it longer than the certificate will not impact validation (see =
below). Having it shorter may cause confusion and potentially security =
issues.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>H=
aving a shorter private key period may create expectations that a =
verifier will honor this period fail validation if a signature was =
created outside of this period.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>I=
 doubt that there are many signature validation applications that =
actually would process this extension if present. Resulting in false =
positive validation result.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><blockquote =
style=3D'border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm =
4.0pt;margin-left:3.75pt;margin-right:0cm' =
id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>If I get a message together with a =
certificate and the message is signed after the certificate validity =
period, but before the notAfter for the private key usage period, what =
do I do? Consider the certificate invalid and discard the =
message</span><span =
style=3D'color:black'><o:p></o:p></span></p></div></div></blockquote><div=
><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>Y=
es, because you don=E2=80=99t have a valid certificate for this =
signature.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><blockquote =
style=3D'border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm =
4.0pt;margin-left:3.75pt;margin-right:0cm' =
id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>or do I validate the signature with the =
public key I am not supposed to use anymore.</span><span =
style=3D'color:black'><o:p></o:p></span></p></div></div></blockquote><div=
><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>N=
o. As the certificate is not valid, you stop there. No information in a =
certificate that is not valid is of any interest to =
you.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><blockquote =
style=3D'border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm =
4.0pt;margin-left:3.75pt;margin-right:0cm' =
id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>&nbsp;</span><span =
style=3D'color:black'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>It is of no help to me that there may be =
another certificates with the same key pair, where the certificate =
validity period is different. I might not know those =
certificates.</span><span =
style=3D'color:black'><o:p></o:p></span></p></div></div></blockquote><div=
><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>E=
xactly. If you don=E2=80=99t have a valid certificate. You =
fail.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><blockquote =
style=3D'border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm =
4.0pt;margin-left:3.75pt;margin-right:0cm' =
id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>&nbsp;</span><span =
style=3D'color:black'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Regards,</span><span =
style=3D'color:black'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>&nbsp;</span><span =
style=3D'color:black'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Erik</span><span =
style=3D'color:black'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>&nbsp;</span><span =
style=3D'color:black'><o:p></o:p></span></p><p =
class=3DMsoNormal><b><span lang=3DDA =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'>F=
ra:</span></b><span lang=3DDA =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'> =
Erwann Abalea [<a =
href=3D"mailto:eabalea@gmail.com">mailto:eabalea@gmail.com</a>] =
</span><span style=3D'color:black'><o:p></o:p></span></p><div><div><p =
class=3DMsoNormal><span =
style=3D'color:black'>&nbsp;<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span style=3D'color:black'>This extension is heavily =
used in electronic passports.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span style=3D'color:black'>ICAO has set it to be =
mandatory for Root CA and Document Signer certificates (subscriber certs =
used to verify data in passports), and optional for MasterList =
signers.<o:p></o:p></span></p></div></div></div></div></blockquote><div><=
p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'>I=
t is typical that closed community applications can make use of odd =
extensions in a successful manner as they are governed by extended =
specifications and profiles.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri",sans-serif;color:black'><=
o:p>&nbsp;</o:p></span></p></div><blockquote =
style=3D'border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm =
4.0pt;margin-left:3.75pt;margin-right:0cm' =
id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"><div><div><div><div><p =
class=3DMsoNormal><span =
style=3D'color:black'>&nbsp;<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span style=3D'color:black'>This extension was already =
deprecated in RFC2459.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
style=3D'color:black'>&nbsp;<o:p></o:p></span></p><div><p =
class=3DMsoNormal><span =
style=3D'color:black'>&nbsp;<o:p></o:p></span></p><div><p =
class=3DMsoNormal><span style=3D'color:black'>2016-05-06 11:53 GMT+02:00 =
Stephen Farrell &lt;<a href=3D"mailto:stephen.farrell@cs.tcd.ie" =
target=3D"_blank">stephen.farrell@cs.tcd.ie</a>&gt;:<o:p></o:p></span></p=
><blockquote style=3D'border:none;border-left:solid #CCCCCC =
1.0pt;padding:0cm 0cm 0cm =
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5=
.0pt'><p class=3DMsoNormal><span style=3D'color:black'><br>Hi =
Erik,<br><br>I've a separate question: does anyone use this =
extension<br>or should we put it on a virtual/mental list of stuff =
to<br>be deprecated when/if someone has the energy?<br><br>S.<br><br>On =
06/05/16 09:42, Erik Andersen wrote:<br>&gt; X.509 has a specification =
of the Private key usage period extension<br>&gt; (8.2.2.5). This =
extension is a little confusing. It has notBefore and<br>&gt; notAfter =
specification. However, the text says:<br>&gt;<br>&gt; The notBefore =
component indicates the earliest date and time at which the<br>&gt; =
private key could be used for signing. If the notBefore component is =
not<br>&gt; present, then no information is provided as to when the =
period of valid use<br>&gt; of the private key commences. The notAfter =
component indicates the latest<br>&gt; date and time at which the =
private key could be used for signing. If the<br>&gt; notAfter component =
is not present then no information is provided as to when<br>&gt; the =
period of valid use of the private key concludes.<br>&gt;<br>&gt; With a =
little ill will, this can be read as the private key validation<br>&gt; =
period may extend beyond the validity of the public key. Note 1 adds to =
the<br>&gt; confusing, as it says:<br>&gt;<br>&gt; NOTE 1 - The period =
of valid use of the private key may be different from<br>&gt; the =
certified validity of the public key as indicated by the =
certificate<br>&gt; validity period. With digital signature keys, the =
usage period for the<br>&gt; signing private key is typically shorter =
than that for the verifying public<br>&gt; key.<br>&gt;<br>&gt; It is =
the word &quot;typical&quot; that confuses me. It implies it could be =
different.<br>&gt;<br>&gt; This extension was included in RFC 3280 with =
a heavy health warning. It was<br>&gt; omitted from RFC 5280 (except for =
A.2).<br>&gt;<br>&gt; In my mind, the validity of the private key should =
not spread outside the<br>&gt; validity period of the =
certificate.<br>&gt;<br>&gt; Have I misunderstood =
something?<o:p></o:p></span></p></blockquote></div><p =
class=3DMsoNormal><span style=3D'color:black'><br =
clear=3Dall><o:p></o:p></span></p><div><p class=3DMsoNormal><span =
style=3D'color:black'>&nbsp;<o:p></o:p></span></p></div><p =
class=3DMsoNormal><span style=3D'color:black'>-- =
<o:p></o:p></span></p><div><p class=3DMsoNormal><span =
style=3D'color:black'>Erwann.<o:p></o:p></span></p></div></div></div></di=
v></div></div></blockquote></div></body></html>
------=_NextPart_000_007E_01D1A7AE.73CBF6F0--


From nobody Fri May  6 09:54:18 2016
Return-Path: <stefan@aaa-sec.com>
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 DC5ED12D1BC for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 09:54:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] 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 ad8crr4BWtE5 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 09:54:14 -0700 (PDT)
Received: from smtp.outgoing.loopia.se (smtp.outgoing.loopia.se [194.9.95.112]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DA22F12B032 for <pkix@ietf.org>; Fri,  6 May 2016 09:54:13 -0700 (PDT)
Received: from s554.loopia.se (localhost [127.0.0.1]) by s554.loopia.se (Postfix) with ESMTP id A6C1B170215C for <pkix@ietf.org>; Fri,  6 May 2016 18:52:45 +0200 (CEST)
X-Loopia-Auth: user
X-Loopia-Originating-IP: 90.229.17.25
X-Loopia-User: stefan@fiddler.nu
Received: from s498.loopia.se (unknown [172.21.200.96]) by s554.loopia.se (Postfix) with ESMTP id 8B53D9472E7; Fri,  6 May 2016 18:52:45 +0200 (CEST)
Received: from s549.loopia.se (unknown [172.21.200.105]) by s498.loopia.se (Postfix) with ESMTP id 88B474605C5; Fri,  6 May 2016 18:52:45 +0200 (CEST)
X-Virus-Scanned: amavisd-new at amavis.loopia.se
Received: from s498.loopia.se ([172.21.200.105]) by s549.loopia.se (s549.loopia.se [172.21.200.137]) (amavisd-new, port 10024) with LMTP id GxgQ-Wkh5OKy; Fri,  6 May 2016 18:52:45 +0200 (CEST)
Received: from [10.0.1.51] (unknown [90.229.17.25]) (Authenticated sender: stefan@fiddler.nu) by s498.loopia.se (Postfix) with ESMTPSA id 345E6460DD0; Fri,  6 May 2016 18:52:45 +0200 (CEST)
User-Agent: Microsoft-MacOutlook/f.15.1.160411
Date: Fri, 06 May 2016 18:52:43 +0200
From: Stefan Santesson <stefan@aaa-sec.com>
To: <x500standard@freelists.org>, 'PKIX' <pkix@ietf.org>
Message-Id: <7E6E49F9-EDA2-4B2C-AFD4-961300167D89@aaa-sec.com>
Thread-Topic: [x500standard] SV: Re: SV: [pkix] Private key usage period extension
References: <000901d1a773$379e1680$a6da4380$@x500.eu> <572C6980.8000808@cs.tcd.ie> <CA+i=0E6oo1hZSbyN_xYM1oB4-gKiuxCx-OotqAVz+G6Z7S6uJA@mail.gmail.com> <005501d1a792$626cdb20$27469160$@x500.eu> <AC93E3F3-8F1E-4395-84A6-245E5EE8B5CE@aaa-sec.com> <007d01d1a79d$b0410410$10c30c30$@x500.eu>
In-Reply-To: <007d01d1a79d$b0410410$10c30c30$@x500.eu>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_3545405565_862273897"
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/ntO_FT9SKlF1O7Trl9EsyROVmsk>
Subject: Re: [pkix] [x500standard] SV: Re: SV: Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 16:54:17 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3545405565_862273897
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

Hi Erik

From:  <x500standard-bounce@freelists.org> on behalf of Erik Andersen <era@=
x500.eu>Hi Stefan,
=20

Thanks for the clarification. You wrote at some time that the extension is =
not worth fixing. It is against my responsibility as rapporteur and editor. =
If it is broken it shall be fixed or deprecated.



I have one issue left. I do not like that either notBefore or notAfter can =
be omitted. notAfter could mean that the private key is valid until the sun =
burns out. If not specified, it could default the end of the validity of the=
 cert validity period. Something similar for an omitted notBefore.


I=E2=80=99m afraid I do not agree.

The default function of a certificate is that both notBefore and notAfter a=
re undefined with regard to private key usage period.
This means that the verifier using this certificate can assume that the pri=
vate key can be used at least during the validity of the certificate.

In this extension you can set the notBefore and notAfter independently.

I don=E2=80=99t see anything strange or broken with that. It means that the undef=
ined time is undefined =3D default behaviour.

/stefan




--B_3545405565_862273897
Content-type: text/html;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif;"><div><div><div>Hi Erik</div><div><=
div id=3D"MAC_OUTLOOK_SIGNATURE"></div></div></div></div><div><br></div><span =
id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:12pt; t=
ext-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium=
 none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TO=
P: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span sty=
le=3D"font-weight:bold">From: </span> &lt;<a href=3D"mailto:x500standard-bounce@=
freelists.org">x500standard-bounce@freelists.org</a>&gt; on behalf of Erik A=
ndersen &lt;<a href=3D"mailto:era@x500.eu">era@x500.eu</a>&gt;<span style=3D"col=
or: rgb(31, 73, 125); font-family: Calibri, sans-serif; font-size: 11pt;">Hi=
 Stefan,</span></div><span style=3D"mso-bookmark:_MailOriginalBody"><blockquot=
e id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 soli=
d; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com=
:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schemas=
-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/200=
4/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D"EN-GB" link=3D"b=
lue" vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNormal"><span sty=
le=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497=
D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNorma=
l"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;=
color:#1F497D;mso-fareast-language:EN-US">Thanks for the clarification. You =
wrote at some time that the extension is not worth fixing. It is against my =
responsibility as rapporteur and editor. If it is broken it shall be fixed o=
r deprecated.<o:p></o:p></span></p></div></div></div></blockquote></span></s=
pan><span id=3D"OLK_SRC_BODY_SECTION"><span style=3D"mso-bookmark:_MailOriginalB=
ody"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:schema=
s-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns=
:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft=
.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D=
"EN-GB" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNo=
rmal"><br></p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">I =
have one issue left. I do not like that either notBefore or notAfter can be =
omitted. notAfter could mean that the private key is valid until the sun bur=
ns out. If not specified, it could default the end of the validity of the ce=
rt validity period. Something similar for an omitted notBefore.<o:p></o:p></=
span></p></div></div></div></blockquote></span></span><div><br></div><div>I&=
#8217;m afraid I do not agree.</div><div><br></div><div>The default function=
 of a certificate is that both notBefore and notAfter are undefined with reg=
ard to private key usage period.</div><div>This means that the verifier usin=
g this certificate can assume that the private key can be used at least duri=
ng the validity of the certificate.</div><div><br></div><div>In this extensi=
on you can set the notBefore and notAfter independently.</div><div><br></div=
><div>I don&#8217;t see anything strange or broken with that. It means that =
the undefined time is undefined =3D default behaviour.</div><div><br></div><di=
v>/stefan</div><div><br></div><div><br></div><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style></body></html>

--B_3545405565_862273897--



From nobody Fri May  6 12:03:53 2016
Return-Path: <housley@vigilsec.com>
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 C209D12D162 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 12:03:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.899
X-Spam-Level: 
X-Spam-Status: No, score=-101.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100] 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 kjdiussitUer for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 12:03:49 -0700 (PDT)
Received: from mail.smetech.net (x-bolt-wan.smeinc.net [209.135.219.146]) by ietfa.amsl.com (Postfix) with ESMTP id A825E12B027 for <pkix@ietf.org>; Fri,  6 May 2016 12:03:49 -0700 (PDT)
Received: from localhost (ronin.smetech.net [209.135.209.5]) by mail.smetech.net (Postfix) with ESMTP id 135CEF2401F; Fri,  6 May 2016 15:03:49 -0400 (EDT)
X-Virus-Scanned: amavisd-new at smetech.net
Received: from mail.smetech.net ([209.135.209.4]) by localhost (ronin.smeinc.net [209.135.209.5]) (amavisd-new, port 10024) with ESMTP id n5+AhzRWYhMd; Fri,  6 May 2016 14:47:19 -0400 (EDT)
Received: from russellsleysmbp.home (pool-108-51-128-219.washdc.fios.verizon.net [108.51.128.219]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.smetech.net (Postfix) with ESMTP id 46F1DF24013; Fri,  6 May 2016 15:03:48 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_67DE8347-48AE-4261-8215-CB1858C98EF6"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <000901d1a773$379e1680$a6da4380$@x500.eu>
Date: Fri, 6 May 2016 15:03:47 -0400
Message-Id: <243C9E60-552F-4F0D-B76B-8E2343564CD5@vigilsec.com>
References: <000901d1a773$379e1680$a6da4380$@x500.eu>
To: Erik Andersen <era@x500.eu>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/xsTgVAXLkRdA08M873jiqJRCuX0>
Cc: Directory list <x500standard@freelists.org>, IETF PKIX <pkix@ietf.org>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 May 2016 19:03:52 -0000

--Apple-Mail=_67DE8347-48AE-4261-8215-CB1858C98EF6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

We had a very long discussion about this back in the day.  You can look =
in the mail list archive.

Really, only the owner of the private key can control when the private =
key is used.  This is not something involves the relying party, so it =
does not need to go into the certificate.

Russ


On May 6, 2016, at 4:42 AM, Erik Andersen <era@x500.eu> wrote:

> X.509 has a specification of the Private key usage period extension =
(8.2.2.5). This extension is a little confusing. It has notBefore and =
notAfter specification. However, the text says:
> =20
> The notBefore component indicates the earliest date and time at which =
the private key could be used for signing. If the notBefore component is =
not present, then no information is provided as to when the period of =
valid use of the private key commences. The notAfter component indicates =
the latest date and time at which the private key could be used for =
signing. If the notAfter component is not present then no information is =
provided as to when the period of valid use of the private key =
concludes.
> =20
> With a little ill will, this can be read as the private key validation =
period may extend beyond the validity of the public key. Note 1 adds to =
the confusing, as it says:
> =20
> NOTE 1 =96 The period of valid use of the private key may be different =
from the certified validity of the public key as indicated by the =
certificate validity period. With digital signature keys, the usage =
period for the signing private key is typically shorter than that for =
the verifying public key.
> =20
> It is the word =93typical=94 that confuses me. It implies it could be =
different.
> =20
> This extension was included in RFC 3280 with a heavy health warning. =
It was omitted from RFC 5280 (except for A.2).
> =20
> In my mind, the validity of the private key should not spread outside =
the validity period of the certificate.
> =20
> Have I misunderstood something?
> =20
> Erik


--Apple-Mail=_67DE8347-48AE-4261-8215-CB1858C98EF6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">We had =
a very long discussion about this back in the day. &nbsp;You can look in =
the mail list archive.<div><br></div><div>Really, only the owner of the =
private key can control when the private key is used. &nbsp;This is not =
something involves the relying party, so it does not need to go into the =
certificate.</div><div><br></div><div>Russ</div><div><br></div><div><br><d=
iv><div><div>On May 6, 2016, at 4:42 AM, Erik Andersen &lt;<a =
href=3D"mailto:era@x500.eu">era@x500.eu</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
lang=3D"EN-GB" link=3D"#0563C1" vlink=3D"#954F72" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;"><div class=3D"WordSection1" =
style=3D"page: WordSection1;"><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;">X.509 has a =
specification of the Private key usage period extension (8.2.2.5). This =
extension is a little confusing. It has notBefore and notAfter =
specification. However, the text says:<o:p></o:p></div><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0cm =
0cm 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;">The<span class=3D"Apple-converted-space">&nbsp;</span><span =
class=3D"ASN1boldchar" style=3D"font-family: 'Courier New'; font-weight: =
bold;"><span style=3D"font-size: 9pt;">notBefore</span></span><span =
class=3D"Apple-converted-space">&nbsp;</span>component indicates the =
earliest date and time at which the private key could be used for =
signing. If the<span class=3D"Apple-converted-space">&nbsp;</span><span =
class=3D"ASN1boldchar" style=3D"font-family: 'Courier New'; font-weight: =
bold;"><span style=3D"font-size: 9pt;">notBefore</span></span><span =
class=3D"Apple-converted-space">&nbsp;</span>component is not present, =
then no information is provided as to when the period of valid use of =
the private key commences. The<span =
class=3D"Apple-converted-space">&nbsp;</span><span class=3D"ASN1boldchar" =
style=3D"font-family: 'Courier New'; font-weight: bold;"><span =
style=3D"font-size: 9pt;">notAfter<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span>component =
indicates the latest date and time at which the private key could be =
used for signing. If the<span =
class=3D"Apple-converted-space">&nbsp;</span><span class=3D"ASN1boldchar" =
style=3D"font-family: 'Courier New'; font-weight: bold;"><span =
style=3D"font-size: 9pt;">notAfter</span></span><span =
class=3D"Apple-converted-space">&nbsp;</span>component is not present =
then no information is provided as to when the period of valid use of =
the private key concludes.<o:p></o:p></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">With a =
little ill will, this can be read as the private key validation period =
may extend beyond the validity of the public key. Note 1 adds to the =
confusing, as it says:<o:p></o:p></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><p class=3D"Note1" style=3D"margin: =
3pt 0cm 0.0001pt 14.2pt; text-align: justify; font-size: 9pt; =
font-family: 'Times New Roman', serif;">NOTE&nbsp;1&nbsp;=96&nbsp;The =
period of valid use of the private key may be different from the =
certified validity of the public key as indicated by the certificate =
validity period. With digital signature keys, the usage period for the =
signing private key is typically shorter than that for the verifying =
public key.<o:p></o:p></p><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">It is the =
word =93typical=94 that confuses me. It implies it could be =
different.<o:p></o:p></div><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">This =
extension was included in RFC 3280 with a heavy health warning. It was =
omitted from RFC 5280 (except for A.2).<o:p></o:p></div><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0cm =
0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">In my =
mind, the validity of the private key should not spread outside the =
validity period of the certificate.<o:p></o:p></div><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">Have I =
misunderstood something?<o:p></o:p></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;">Erik<o:p></o:p></div></div></div></blockquote></div><br></div=
></div></body></html>=

--Apple-Mail=_67DE8347-48AE-4261-8215-CB1858C98EF6--


From nobody Fri May  6 22:09:39 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
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 4FAF812D18B for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 22:09:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.196
X-Spam-Level: 
X-Spam-Status: No, score=-5.196 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 x2W0OMgZfzbO for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 22:09:36 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6BB3412D56E for <pkix@ietf.org>; Fri,  6 May 2016 22:09:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1462597774; x=1494133774; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=jRTwbS11PLkARmI4oBr4cchp7ZXabWuPQ3g5bY/NiB4=; b=keP9mT1U5nhzEBsU/TdaX5CKWI3c2iM008854WqdwEIio5R/rXvKyqVS ccZmgfkonRNbYHy/xsV42kTx3nrhMfEdJ/fOwswqyoPMFUVOCd35fP8Fs bVfaIncLe++cgJ6lJpWWKfwgHwtBjM6qwrsV3Qn2y5FTXXlw5x1ivPJK6 UUFC1r5tFTDUNL+RQbUuHCjfCDjeVzClNC0URYylZRSL2rLij7LwthKe9 DMlaURc8Mi93gVdZS09OeU4O73jgUG79cyEiIF/YQQCT+UkUtvZVfGlP0 M8BV7lTO3BN8Rcski0fslqudioWAzGXV7MJDBkKbmNWCrHJIDwMZtaAMB A==;
X-IronPort-AV: E=Sophos;i="5.24,589,1454929200"; d="scan'208";a="84297369"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.112 - Outgoing - Outgoing
Received: from uxchange10-fe1.uoa.auckland.ac.nz ([130.216.4.112]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 07 May 2016 17:09:29 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe1.UoA.auckland.ac.nz ([130.216.4.112]) with mapi id 14.03.0266.001; Sat, 7 May 2016 17:09:28 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Erik Andersen <era@x500.eu>, Directory list <x500standard@freelists.org>,  PKIX <pkix@ietf.org>
Thread-Topic: [pkix] Private key usage period extension
Thread-Index: AdGncGsdQAln46LETNahao0LuhC7NwArgSjQ
Date: Sat, 7 May 2016 05:09:28 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4C7B87A@uxcn10-5.UoA.auckland.ac.nz>
References: <000901d1a773$379e1680$a6da4380$@x500.eu>
In-Reply-To: <000901d1a773$379e1680$a6da4380$@x500.eu>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.3.3]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/-49Z6Z5KE5kZY152lq_H5AWtbrk>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Sat, 07 May 2016 05:09:38 -0000

Erik Andersen <era@x500.eu> writes:=0A=
=0A=
>This extension was included in RFC 3280 with a heavy health warning. It wa=
s=0A=
>omitted from RFC 5280 (except for A.2).=0A=
=0A=
It's been deprecated since RFC 2459.  At that time no-one was ever able to=
=0A=
give a coherent explanation for this that got much beyond "PKIX doesn't do=
=0A=
that sort of thing" [0].=0A=
 =0A=
>In my mind, the validity of the private key should not spread outside the=
=0A=
>validity period of the certificate.=0A=
=0A=
It's not meant for that, in fact it's the exact opposite, it's an extremely=
=0A=
useful extension for when you want to say that, for example, a signing key =
is=0A=
valid for one year but the certificate used to verify its signatures is val=
id=0A=
for ten years.  The lack of a capability for doing this has been plaguing=
=0A=
cert-based signatures for years, leading to all manner of workaround hacks =
to=0A=
deal with verifying signatures after the cert has expired.=0A=
=0A=
Peter.=0A=
=0A=
[0] Years later people retconned explanations for it, but none of them were=
 =0A=
    terribly credible.=0A=
=0A=


From nobody Fri May  6 22:53:51 2016
Return-Path: <era@x500.eu>
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 B33BE12D512 for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 22:53:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level: 
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 sR6ecaaI-nOD for <pkix@ietfa.amsl.com>; Fri,  6 May 2016 22:53:47 -0700 (PDT)
Received: from mail02.dandomain.dk (mail02.dandomain.dk [194.150.112.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D55112B036 for <pkix@ietf.org>; Fri,  6 May 2016 22:53:46 -0700 (PDT)
Received: from Morten ([62.44.135.181]) by mail02.dandomain.dk (DanDomain Mailserver) with ASMTP id 2201605070753418377; Sat, 07 May 2016 07:53:41 +0200
From: "Erik Andersen" <era@x500.eu>
To: "'Directory list'" <x500standard@freelists.org>, "'PKIX'" <pkix@ietf.org>
References: <000901d1a773$379e1680$a6da4380$@x500.eu> <9A043F3CF02CD34C8E74AC1594475C73F4C7B87A@uxcn10-5.UoA.auckland.ac.nz>
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4C7B87A@uxcn10-5.UoA.auckland.ac.nz>
Date: Sat, 7 May 2016 07:53:41 +0200
Message-ID: <000001d1a824$cf6496e0$6e2dc4a0$@x500.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJYEc9fvtVi9SNiQE1fwP6vqYjwqAKM1/Vknou8tEA=
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/jI8x_waXvnPH4IE58LfooNkBwx4>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Sat, 07 May 2016 05:53:50 -0000

It seem like we just leave as it is. I could suggest a new note saying
something like "This Specification does not specify any semantic associated
with this extension. This has to be defined for the individual usage".

Regards,

Erik

-----Oprindelig meddelelse-----
Fra: Peter Gutmann [mailto:pgut001@cs.auckland.ac.nz] 
Sendt: 07 May 2016 07:09
Til: Erik Andersen <era@x500.eu>; Directory list
<x500standard@freelists.org>; PKIX <pkix@ietf.org>
Emne: RE: [pkix] Private key usage period extension

Erik Andersen <era@x500.eu> writes:

>This extension was included in RFC 3280 with a heavy health warning. It 
>was omitted from RFC 5280 (except for A.2).

It's been deprecated since RFC 2459.  At that time no-one was ever able to
give a coherent explanation for this that got much beyond "PKIX doesn't do
that sort of thing" [0].
 
>In my mind, the validity of the private key should not spread outside 
>the validity period of the certificate.

It's not meant for that, in fact it's the exact opposite, it's an extremely
useful extension for when you want to say that, for example, a signing key
is valid for one year but the certificate used to verify its signatures is
valid for ten years.  The lack of a capability for doing this has been
plaguing cert-based signatures for years, leading to all manner of
workaround hacks to deal with verifying signatures after the cert has
expired.

Peter.

[0] Years later people retconned explanations for it, but none of them were 
    terribly credible.

=


From nobody Mon May  9 00:16:17 2016
Return-Path: <era@x500.eu>
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 13B6912B074 for <pkix@ietfa.amsl.com>; Mon,  9 May 2016 00:16:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.851
X-Spam-Level: 
X-Spam-Status: No, score=0.851 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_WEB=0.77] 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 YL_btw-hUjti for <pkix@ietfa.amsl.com>; Mon,  9 May 2016 00:16:13 -0700 (PDT)
Received: from mail02.dandomain.dk (mail02.dandomain.dk [194.150.112.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 81AB412D0A6 for <pkix@ietf.org>; Mon,  9 May 2016 00:16:12 -0700 (PDT)
Received: from Morten ([62.44.135.14]) by mail02.dandomain.dk (DanDomain Mailserver) with ASMTP id 2201605090916070832; Mon, 09 May 2016 09:16:07 +0200
From: "Erik Andersen" <era@x500.eu>
To: "Directory list" <x500standard@freelists.org>, "PKIX" <pkix@ietf.org>
Date: Mon, 9 May 2016 09:16:07 +0200
Message-ID: <003401d1a9c2$a7e00100$f7a00300$@x500.eu>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0035_01D1A9D3.6B6A0980"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdGpwbSJSRSGOEf+QmOL14OXNBJRDQ==
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/iLbbnyw-6ecpkQVV1rRVW-q9lxs>
Subject: [pkix] Private key usage period extension clarification
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 09 May 2016 07:16:15 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0035_01D1A9D3.6B6A0980
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

There were many useful comments on the PKIX list on the private key usage
period extension discussion. I have produced a Defect Report on the issue.
You might want to check whether it looks reasonable OK.

 

The DR is here: http://www.x500standard.com/uploads/Ig/DR_425.pdf.

 

Erik


------=_NextPart_000_0035_01D1A9D3.6B6A0980
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>There were many useful comments on the PKIX list on =
the private key usage period extension discussion. I have produced a =
Defect Report on the issue. You might want to check whether it looks =
reasonable OK.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The DR is =
here: <a =
href=3D"http://www.x500standard.com/uploads/Ig/DR_425.pdf">http://www.x50=
0standard.com/uploads/Ig/DR_425.pdf</a>.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Erik<o:p></o:p></p></div></body></html>
------=_NextPart_000_0035_01D1A9D3.6B6A0980--


From nobody Tue May 10 00:31:00 2016
Return-Path: <era@x500.eu>
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 9BB6E12D0C0 for <pkix@ietfa.amsl.com>; Tue, 10 May 2016 00:30:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.439
X-Spam-Level: 
X-Spam-Status: No, score=-0.439 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_WEB=0.77, T_KAM_HTML_FONT_INVALID=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 D9b3KBGj4qHV for <pkix@ietfa.amsl.com>; Tue, 10 May 2016 00:30:55 -0700 (PDT)
Received: from mail02.dandomain.dk (mail02.dandomain.dk [194.150.112.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F52B12B037 for <pkix@ietf.org>; Tue, 10 May 2016 00:30:54 -0700 (PDT)
Received: from Morten ([62.44.135.14]) by mail02.dandomain.dk (DanDomain Mailserver) with ASMTP id 2201605100930505581; Tue, 10 May 2016 09:30:50 +0200
From: "Erik Andersen" <era@x500.eu>
To: "'Directory list'" <x500standard@freelists.org>, "'PKIX'" <pkix@ietf.org>
References: <003401d1a9c2$a7e00100$f7a00300$@x500.eu> <57304697.2040503@free.fr>
In-Reply-To: <57304697.2040503@free.fr>
Date: Tue, 10 May 2016 09:30:48 +0200
Message-ID: <000001d1aa8d$e1120420$a3360c60$@x500.eu>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01D1AA9E.A49BE590"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQLTnraW7WgUiYrjxnmI8sdgoiT1vgFBessTnaPQHYA=
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/EsLquMq-6s9_zW0YIY5KXKduDRA>
Subject: Re: [pkix] Private key usage period extension clarification
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 10 May 2016 07:30:58 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0001_01D1AA9E.A49BE590
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Denis,

 

Thanks for your comments. I agree with your proposed NOTE 2. However, this
note should not give the impression that it reflects the semantic for the
extension. There are other usages of this extension as described in document
(http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf). Stefan
also had some other example. You gave yourself also another example, so I
still like to include my proposed note i addition.

 

Regards,

 

Erik

 

Fra: Denis [mailto:denis.ietf@free.fr] 
Sendt: 09 May 2016 10:13
Til: Erik Andersen <era@x500.eu>; Directory list
<x500standard@freelists.org>; PKIX <pkix@ietf.org>
Emne: Re: [pkix] Private key usage period extension clarification

 

Erik,

I agree with the change proposals up to NOTE 1. However, I do not agree with
the current NOTE 2 which states:

NOTE 2 - If the verifier of a digital signature wants to check that the
certificate has not been revoked, for example, 
due to key compromise, up to the time of verification, then a valid
certificate will still exist for the public key at verification time.
After the certificate(s) for a public key have expired, a signature verifier
cannot rely on compromises being notified via CRLs.

Erik's comment is: "It is difficult to tell what that note wants to say that
is particular to this extension. Maybe the writer had some undocumented
semantic in mind".


I agree that the note is far from being crystal clear, but it is dealing
with the verification of a digital signature before and after the expiry of
the certificate. 


Denis's comment is:

"Note 2 is trying to explain the verification of a digital signature before
and after the expiry of the certificate. 
This has nothing to do with the private key usage period extension and thus
it should be deleted".


However, I would propose to replace it with a useful clarification.

Replace NOTE 2 of 8.2.2.5 with:

The period of use of the private key corresponding to a public key can only
be enforced if both the private key and the corresponding certificate 
are placed in a tamper resistant hardware module that contains a reliable
clock synchronized with UTC. When this is not the case, it can help 
a signer to avoid to use a signing private key up to the very end of the
validity period of the certificate.


------=_NextPart_000_0001_01D1AA9E.A49BE590
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=3Dwhite =
lang=3DEN-GB link=3D"#0563C1" vlink=3D"#954F72"><div =
class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Hi Denis,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Thanks for your comments. I agree with your =
proposed NOTE 2. However, this note should not give the impression that =
it reflects the semantic for the extension. There are other usages of =
this extension as described in </span>document (<a =
href=3D"http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf">=
http://www.icao.int/publications/Documents/9303_p12_cons_en.pdf</a>). =
<span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Stefan also had some other example. You gave =
yourself also another example, so I still like to include my proposed =
note i addition.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'>Erik<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;=
mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm'><p class=3DMsoNormal><b><span lang=3DDA =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'>Fra:</span></b><span lang=3DDA =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'> Denis [mailto:denis.ietf@free.fr] <br><b>Sendt:</b> 09 May 2016 =
10:13<br><b>Til:</b> Erik Andersen &lt;era@x500.eu&gt;; Directory list =
&lt;x500standard@freelists.org&gt;; PKIX =
&lt;pkix@ietf.org&gt;<br><b>Emne:</b> Re: [pkix] Private key usage =
period extension clarification<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>Erik,<o:p></o:p></p><p class=3DMsoNormal =
style=3D'margin-top:6.0pt;mso-margin-bottom-alt:auto'><span lang=3DEN-US =
style=3D'font-family:"Arial",sans-serif'>I agree with the change =
proposals up to NOTE 1. However, I do not agree with the current NOTE 2 =
which states:</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US style=3D'font-family:"Arial",sans-serif'>NOTE 2 &#8211; If =
the verifier of a digital signature wants to check that the certificate =
has not been revoked, for example, <br>due to key compromise, up to the =
time of verification, then a valid certificate will still exist for the =
public key at verification time.<br>After the certificate(s) for a =
public key have expired, a signature verifier cannot rely on compromises =
being notified via CRLs.</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US style=3D'font-family:"Arial",sans-serif'>Erik's comment is: =
&quot;</span><span lang=3DEN-US =
style=3D'font-family:"Arial",sans-serif'>It is difficult to tell what =
that note wants to say that is particular to this extension. Maybe the =
writer had some undocumented semantic in =
mind&quot;.</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'margin-top:6.0pt;mso-margin-bottom-alt:auto'><span lang=3DEN-US =
style=3D'font-family:"Arial",sans-serif'><br>I agree that the note is =
far from being crystal clear, but it is dealing with the verification of =
a digital signature before and after the expiry of the certificate. =
</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'margin-top:6.0pt;mso-margin-bottom-alt:auto'><span lang=3DEN-US =
style=3D'font-family:"Arial",sans-serif'><br>Denis's comment =
is:</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'margin-top:6.0pt;mso-margin-bottom-alt:auto'><span lang=3DEN-US =
style=3D'font-family:"Arial",sans-serif'>&quot;Note 2 is trying to =
explain the verification of a digital signature before and after the =
expiry of the certificate. <br>This has nothing to do with the private =
key usage period extension and thus it should be =
deleted&quot;.</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'margin-top:6.0pt;mso-margin-bottom-alt:auto'><span lang=3DEN-US =
style=3D'font-family:"Arial",sans-serif'><br>However, I would propose to =
replace it with a useful clarification.</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US style=3D'font-family:"Arial",sans-serif'>Replace NOTE 2 of =
8.2.2.5 with:</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'margin-top:6.0pt;mso-margin-bottom-alt:auto'><span lang=3DEN-US =
style=3D'font-family:"Arial",sans-serif'>The period of use of the =
private key corresponding to a public key can only be enforced if both =
the private key and the corresponding certificate <br>are placed in a =
tamper resistant hardware module that contains a reliable clock =
synchronized with UTC. When this is not the case, it can help <br>a =
signer to avoid to use a signing private key up to the very end of the =
validity period of the =
certificate.</span><o:p></o:p></p></div></div></body></html>
------=_NextPart_000_0001_01D1AA9E.A49BE590--


From nobody Tue May 10 10:55:22 2016
Return-Path: <mrex@sap.com>
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 55DD512D7BC for <pkix@ietfa.amsl.com>; Tue, 10 May 2016 10:55:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.922
X-Spam-Level: 
X-Spam-Status: No, score=-6.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 VloUIsvcESnH for <pkix@ietfa.amsl.com>; Tue, 10 May 2016 10:55:18 -0700 (PDT)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B949112D583 for <pkix@ietf.org>; Tue, 10 May 2016 10:55:18 -0700 (PDT)
Received: from mail05.wdf.sap.corp (mail05.sap.corp [194.39.131.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id 96A56448F9; Tue, 10 May 2016 19:55:16 +0200 (CEST)
X-purgate-ID: 152705::1462902916-0000299C-1C39D8B6/0/0
X-purgate-size: 1539
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail05.wdf.sap.corp (Postfix) with ESMTP id 00D8241430; Tue, 10 May 2016 19:55:15 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id A09F41A4B5; Tue, 10 May 2016 19:55:15 +0200 (CEST)
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4C7B87A@uxcn10-5.UoA.auckland.ac.nz>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
Date: Tue, 10 May 2016 19:55:15 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20160510175515.A09F41A4B5@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/NIYwcGN0YIsCYt9lDinC46un4vU>
Cc: Directory list <x500standard@freelists.org>, PKIX <pkix@ietf.org>
Subject: Re: [pkix] Private key usage period extension
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: mrex@sap.com
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: Tue, 10 May 2016 17:55:21 -0000

Peter Gutmann wrote:
> Erik Andersen <era@x500.eu> writes:
> 
>>In my mind, the validity of the private key should not spread outside the
>>validity period of the certificate.


As Russ wrote, a relying party doing signature verification deals with
_public_ key validity and with certificate validity only. So private
key validity might go ignored by many/most verifiers of digital signatures.

Renewal of certificates with same key also seems not that unusual.


> 
> It's not meant for that, in fact it's the exact opposite, it's an extremely
> useful extension for when you want to say that, for example, a signing key is
> valid for one year but the certificate used to verify its signatures is valid
> for ten years.  The lack of a capability for doing this has been plaguing
> cert-based signatures for years, leading to all manner of workaround hacks to
> deal with verifying signatures after the cert has expired.

For "online" signatures (for the purpose of online authentication),
the reference time will should be the real time of the verifier, not a
time asserted by the signer himself in the signature blob.

In contrat to that, "offline" signature verification, in particular
for archived or batch-processed material often uses the reference time
from the signature blob -- and unless that signature is countersigned
by a trusted third-party timestamping authority, a signer-asserted
signing time is pretty fluffy, and could be made to fit within a
"private key validity period".


-Martin


From nobody Wed May 18 00:30:09 2016
Return-Path: <dev+ietf@seantek.com>
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 C58D212D125 for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 00:30:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level: 
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001] 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 I_PJ5mZsIHZ5 for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 00:30:06 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B737212D114 for <pkix@ietf.org>; Wed, 18 May 2016 00:30:05 -0700 (PDT)
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C3567509B8 for <pkix@ietf.org>; Wed, 18 May 2016 03:30:04 -0400 (EDT)
To: "pkix@ietf.org" <pkix@ietf.org>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com>
Date: Wed, 18 May 2016 00:29:11 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/tdDPeEJ8vCigbWeg1bPw9jJ2Jw8>
Subject: [pkix] World's smallest well-formed certificate
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 18 May 2016 07:30:08 -0000

I'm working on a problem that involves the DER encoding of the smallest 
well-formed (yet pathological) certificate. How many octets can the 
world's smallest well-formed certificate be?

A Certificate is a SEQUENCE of TBSCertificate, AlgorithmIdentifier, and 
BIT STRING (the signature). The world's smallest certificate would be 
version = 1 (therefore omitted), a serial number of 0, a hypothetical 
signature (AlgorithmIdentifier) that has the world's smallest object 
identifier (0.0) and no parameters, an issuer Name (distinguished name) 
that has one RDN that has one Attribute whose type is the world's 
smallest object identifier (0.0) and whose value is the ASN.1's smallest 
value (NULL), with proper validity times, the same or similar smallest 
subject Name, a well-formed SubjectPublicKeyInfo, and none of the 
optional fields: issuerUniqueID, subjectUniqueID, and extensions.

By "well-formed", I mean that an ASN.1 '88 parser (i.e., one that does 
not enforce information object classes) will parse it (including the BIT 
STRING contents) and not barf. Such a certificate could not possibly be 
"valid", since the signature block would not be a real digital signature.

Sean

(PS For those who want to know "why", it's because I am trying to test 
some assumptions about how small a certificate can be.)


From nobody Wed May 18 02:26:02 2016
Return-Path: <rob.stradling@comodo.com>
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 DB30312B053 for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 02:26:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 XzlL4G7mQ3b9 for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 02:25:58 -0700 (PDT)
Received: from mmextmx1.mcr.colo.comodoca.net (mmextmx1.mcr.colo.comodoca.net [IPv6:2a02:1788:402:c00::c0a8:9cd5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D0F412B04B for <pkix@ietf.org>; Wed, 18 May 2016 02:25:57 -0700 (PDT)
Received: (qmail 15832 invoked by uid 1004); 18 May 2016 09:25:55 -0000
Received: from ian.brad.office.comodo.net (HELO ian.brad.office.comodo.net) (192.168.0.202) by mmextmx1.mcr.colo.comodoca.net (qpsmtpd/0.84) with ESMTP; Wed, 18 May 2016 10:25:55 +0100
Received: (qmail 13048 invoked by uid 1000); 18 May 2016 09:25:55 -0000
Received: from and0004.comodo.net (HELO [192.168.0.58]) (192.168.0.58) (smtp-auth username rob, mechanism plain) by ian.brad.office.comodo.net (qpsmtpd/0.40) with (AES128-SHA encrypted) ESMTPSA; Wed, 18 May 2016 10:25:55 +0100
To: Sean Leonard <dev+ietf@seantek.com>, "pkix@ietf.org" <pkix@ietf.org>
References: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com>
From: Rob Stradling <rob.stradling@comodo.com>
Message-ID: <af723bb1-9cf6-d18d-7d0a-3c709daa0a94@comodo.com>
Date: Wed, 18 May 2016 10:25:55 +0100
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/BKrMeVnftPq8exxdDcwTLUyF6lM>
Subject: Re: [pkix] World's smallest well-formed certificate
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 18 May 2016 09:26:01 -0000

Hi Sean.  I can get OpenSSL to not barf in 99 bytes...

$ echo "-----BEGIN CERTIFICATE-----
MGEwVwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw
MDAwMDBaMAkxBzAFBgEAEwAwGDANBgkqhkiG9w0BAQEFAAMHADAEAgACADADBgEA
AwEA
-----END CERTIFICATE-----" | openssl x509 -text -noout
Certificate:
     Data:
         Version: 1 (0x0)
         Serial Number: 0 (0x0)
     Signature Algorithm: 0.0
         Issuer: 0.0=
         Validity
             Not Before: May 18 00:00:00 2016 GMT
             Not After : May 18 00:00:00 2017 GMT
         Subject: 0.0=
         Subject Public Key Info:
             Public Key Algorithm: rsaEncryption
                 Public-Key: (0 bit)
                 Modulus: 0
                 Exponent: 0
     Signature Algorithm: 0.0


I see what you mean about barfing on a "malformed" public key.  This was 
my first attempt...

$ echo "-----BEGIN CERTIFICATE-----
MFEwRwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw
MDAwMDBaMAkxBzAFBgEAEwAwCDADBgEAAwEAMAMGAQADAQA=
-----END CERTIFICATE-----" | openssl x509 -text -noout
Certificate:
     Data:
         Version: 1 (0x0)
         Serial Number: 0 (0x0)
     Signature Algorithm: 0.0
         Issuer: 0.0=
         Validity
             Not Before: May 18 00:00:00 2016 GMT
             Not After : May 18 00:00:00 2017 GMT
         Subject: 0.0=
         Subject Public Key Info:
             Public Key Algorithm: 0.0
             Unable to load Public Key
3073144508:error:0609E09C:digital envelope 
routines:PKEY_SET_TYPE:unsupported algorithm:p_lib.c:231:
3073144508:error:0B07706F:x509 certificate 
routines:X509_PUBKEY_get:unsupported algorithm:x_pubkey.c:148:
     Signature Algorithm: 0.0

P.S. OpenSSL barfs on an RDN Attribute of type NULL, so I used a 
zero-length PrintableString instead.

On 18/05/16 08:29, Sean Leonard wrote:
> I'm working on a problem that involves the DER encoding of the smallest
> well-formed (yet pathological) certificate. How many octets can the
> world's smallest well-formed certificate be?
>
> A Certificate is a SEQUENCE of TBSCertificate, AlgorithmIdentifier, and
> BIT STRING (the signature). The world's smallest certificate would be
> version = 1 (therefore omitted), a serial number of 0, a hypothetical
> signature (AlgorithmIdentifier) that has the world's smallest object
> identifier (0.0) and no parameters, an issuer Name (distinguished name)
> that has one RDN that has one Attribute whose type is the world's
> smallest object identifier (0.0) and whose value is the ASN.1's smallest
> value (NULL), with proper validity times, the same or similar smallest
> subject Name, a well-formed SubjectPublicKeyInfo, and none of the
> optional fields: issuerUniqueID, subjectUniqueID, and extensions.
>
> By "well-formed", I mean that an ASN.1 '88 parser (i.e., one that does
> not enforce information object classes) will parse it (including the BIT
> STRING contents) and not barf. Such a certificate could not possibly be
> "valid", since the signature block would not be a real digital signature.
>
> Sean
>
> (PS For those who want to know "why", it's because I am trying to test
> some assumptions about how small a certificate can be.)

-- 
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online


From nobody Wed May 18 06:02:13 2016
Return-Path: <eabalea@gmail.com>
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 BE66412D1BF for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 06:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.393
X-Spam-Level: 
X-Spam-Status: No, score=-1.393 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TRACKER_ID=1.306] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 YN4TxMPE3__g for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 06:02:08 -0700 (PDT)
Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7683E12D1D8 for <pkix@ietf.org>; Wed, 18 May 2016 06:01:53 -0700 (PDT)
Received: by mail-lf0-x22a.google.com with SMTP id y84so19768797lfc.0 for <pkix@ietf.org>; Wed, 18 May 2016 06:01:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=DIKjgrIWr0Gq067Pxk3rqipGWp4/RvQMOhzuC8sqtXA=; b=pXIe2BuDJjFwrecH0luNkKpJlYvOqb/yU5/k70WtGP/yBsdMKmYPiPJhPRoPQcEWzL n5qj2g65pgRuRJuCXFP3k6OSCZqN0yB3Zx8uZFeGdaGeEuZQ9UCBBA4LYm3XYvyXAfUE NV94hX7HBrcj0Yq+TOGQyryjpu9ffTnXNP5Z5zyb4JiC88tZGQtexKy3x389sDO3X7SF vjFaCuuLjRgMp154j6ISxs1tGCMXfMgpaTmIhHMWAS47ktLUoeSK3fngWVAexBcqGcs5 mJN+xdiYkpySx0hxEEcotVn07vtc4fnL7uthr24/xvcfCdqw8uRYPL30w0VTXx/KBRmb Qp9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=DIKjgrIWr0Gq067Pxk3rqipGWp4/RvQMOhzuC8sqtXA=; b=dbtt/00yJ8dfAuZrlGxVZPEjho3S22BZckw8F2b7JlMwGvWG6heod8I3EjL3G0HaFo ZNMoWhaP2hZnbmMtZG5u0ysnpbw9saaqM+OburqywtLGn1XbZSmmaUOUwq2oWzyQnZFa A8PXeq1YCdHsXSy4QlXDRnrPlJ/C8dE96nYHt6ZX9N/Lk4Rjv8UONNzFQPLflRv5zFby +6b7sxw3UCf7UErWaE9J1WsXXMa8VkOpT58O664HWgrVrxJfmsAnie51GFnzF4x2UNMN Ij9l8p3kVt9LaqAZYH3EHScQfAqIs23uhBmerOnTdnhq2d8PNx4UQ0hrw6Fc+JPNsy21 kEaA==
X-Gm-Message-State: AOPr4FWZlOCSRzHjWMkiH8jdOGGZ4m2wFh8e7ehmsoKHnxQJdierOa3Z/NwPtS+OFjpgM2RqjPRIzJuWCoEuXg==
MIME-Version: 1.0
X-Received: by 10.25.30.7 with SMTP id e7mr2227451lfe.137.1463576511717; Wed, 18 May 2016 06:01:51 -0700 (PDT)
Received: by 10.114.4.138 with HTTP; Wed, 18 May 2016 06:01:51 -0700 (PDT)
In-Reply-To: <af723bb1-9cf6-d18d-7d0a-3c709daa0a94@comodo.com>
References: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com> <af723bb1-9cf6-d18d-7d0a-3c709daa0a94@comodo.com>
Date: Wed, 18 May 2016 15:01:51 +0200
Message-ID: <CA+i=0E78phJHizoOniU3+wrJBWKbLhCKwZKVF5oLC0xwqV74GQ@mail.gmail.com>
From: Erwann Abalea <eabalea@gmail.com>
To: Rob Stradling <rob.stradling@comodo.com>
Content-Type: multipart/alternative; boundary=001a1140215c152aef05331d766f
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/BSsTl25XveUa-sLRb5uWtbhhdTg>
Cc: "pkix@ietf.org" <pkix@ietf.org>, Sean Leonard <dev+ietf@seantek.com>
Subject: Re: [pkix] World's smallest well-formed certificate
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 18 May 2016 13:02:11 -0000

--001a1140215c152aef05331d766f
Content-Type: text/plain; charset=UTF-8

Bonjour,

Your examples have serial numbers encoded with a zero length, this is not
DER compliant.
The Name type used for issuer and subject is an unconstrained SEQUENCE OF,
so in theory it can be empty and be well-formed (from a DER point of view).

My proposal, 66 octets:
-----BEGIN CERTIFICATE-----
MEAwNgIBADADBgEAMAAwHhcNMTYwNTE4MDAwMDAwWhcNMTcwNTE4MDAwMDAwWjAA
MAgwAwYBAAMBADADBgEAAwEA
-----END CERTIFICATE-----


2016-05-18 11:25 GMT+02:00 Rob Stradling <rob.stradling@comodo.com>:

> Hi Sean.  I can get OpenSSL to not barf in 99 bytes...
>
> $ echo "-----BEGIN CERTIFICATE-----
> MGEwVwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw
> MDAwMDBaMAkxBzAFBgEAEwAwGDANBgkqhkiG9w0BAQEFAAMHADAEAgACADADBgEA
> AwEA
> -----END CERTIFICATE-----" | openssl x509 -text -noout
> Certificate:
>     Data:
>         Version: 1 (0x0)
>         Serial Number: 0 (0x0)
>     Signature Algorithm: 0.0
>         Issuer: 0.0=
>         Validity
>             Not Before: May 18 00:00:00 2016 GMT
>             Not After : May 18 00:00:00 2017 GMT
>         Subject: 0.0=
>         Subject Public Key Info:
>             Public Key Algorithm: rsaEncryption
>                 Public-Key: (0 bit)
>                 Modulus: 0
>                 Exponent: 0
>     Signature Algorithm: 0.0
>
>
> I see what you mean about barfing on a "malformed" public key.  This was
> my first attempt...
>
> $ echo "-----BEGIN CERTIFICATE-----
> MFEwRwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw
> MDAwMDBaMAkxBzAFBgEAEwAwCDADBgEAAwEAMAMGAQADAQA=
> -----END CERTIFICATE-----" | openssl x509 -text -noout
> Certificate:
>     Data:
>         Version: 1 (0x0)
>         Serial Number: 0 (0x0)
>     Signature Algorithm: 0.0
>         Issuer: 0.0=
>         Validity
>             Not Before: May 18 00:00:00 2016 GMT
>             Not After : May 18 00:00:00 2017 GMT
>         Subject: 0.0=
>         Subject Public Key Info:
>             Public Key Algorithm: 0.0
>             Unable to load Public Key
> 3073144508:error:0609E09C:digital envelope
> routines:PKEY_SET_TYPE:unsupported algorithm:p_lib.c:231:
> 3073144508:error:0B07706F:x509 certificate
> routines:X509_PUBKEY_get:unsupported algorithm:x_pubkey.c:148:
>     Signature Algorithm: 0.0
>
> P.S. OpenSSL barfs on an RDN Attribute of type NULL, so I used a
> zero-length PrintableString instead.
>
> On 18/05/16 08:29, Sean Leonard wrote:
>
>> I'm working on a problem that involves the DER encoding of the smallest
>> well-formed (yet pathological) certificate. How many octets can the
>> world's smallest well-formed certificate be?
>>
>> A Certificate is a SEQUENCE of TBSCertificate, AlgorithmIdentifier, and
>> BIT STRING (the signature). The world's smallest certificate would be
>> version = 1 (therefore omitted), a serial number of 0, a hypothetical
>> signature (AlgorithmIdentifier) that has the world's smallest object
>> identifier (0.0) and no parameters, an issuer Name (distinguished name)
>> that has one RDN that has one Attribute whose type is the world's
>> smallest object identifier (0.0) and whose value is the ASN.1's smallest
>> value (NULL), with proper validity times, the same or similar smallest
>> subject Name, a well-formed SubjectPublicKeyInfo, and none of the
>> optional fields: issuerUniqueID, subjectUniqueID, and extensions.
>>
>> By "well-formed", I mean that an ASN.1 '88 parser (i.e., one that does
>> not enforce information object classes) will parse it (including the BIT
>> STRING contents) and not barf. Such a certificate could not possibly be
>> "valid", since the signature block would not be a real digital signature.
>>
>> Sean
>>
>> (PS For those who want to know "why", it's because I am trying to test
>> some assumptions about how small a certificate can be.)
>>
>
> --
> Rob Stradling
> Senior Research & Development Scientist
> COMODO - Creating Trust Online
>
>
> _______________________________________________
> pkix mailing list
> pkix@ietf.org
> https://www.ietf.org/mailman/listinfo/pkix
>



-- 
Erwann.

--001a1140215c152aef05331d766f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Bonjour,</div><div><br></div>Your examples have seria=
l numbers encoded with a zero length, this is not DER compliant.<div>The Na=
me type used for issuer and subject is an unconstrained SEQUENCE OF, so in =
theory it can be empty and be well-formed (from a DER point of view).</div>=
<div><br></div><div>My proposal, 66 octets:</div><div><div>-----BEGIN CERTI=
FICATE-----</div><div>MEAwNgIBADADBgEAMAAwHhcNMTYwNTE4MDAwMDAwWhcNMTcwNTE4M=
DAwMDAwWjAA</div><div>MAgwAwYBAAMBADADBgEAAwEA</div></div><div>-----END CER=
TIFICATE-----</div><div><br></div></div><div class=3D"gmail_extra"><br><div=
 class=3D"gmail_quote">2016-05-18 11:25 GMT+02:00 Rob Stradling <span dir=
=3D"ltr">&lt;<a href=3D"mailto:rob.stradling@comodo.com" target=3D"_blank">=
rob.stradling@comodo.com</a>&gt;</span>:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
Hi Sean.=C2=A0 I can get OpenSSL to not barf in 99 bytes...<br>
<br>
$ echo &quot;-----BEGIN CERTIFICATE-----<br>
MGEwVwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw<br>
MDAwMDBaMAkxBzAFBgEAEwAwGDANBgkqhkiG9w0BAQEFAAMHADAEAgACADADBgEA<br>
AwEA<br>
-----END CERTIFICATE-----&quot; | openssl x509 -text -noout<br>
Certificate:<br>
=C2=A0 =C2=A0 Data:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Version: 1 (0x0)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Serial Number: 0 (0x0)<br>
=C2=A0 =C2=A0 Signature Algorithm: 0.0<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Issuer: 0.0=3D<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Validity<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Not Before: May 18 00:00:00 2016 =
GMT<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Not After : May 18 00:00:00 2017 =
GMT<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Subject: 0.0=3D<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Subject Public Key Info:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Public Key Algorithm: rsaEncrypti=
on<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Public-Key: (0 bit)=
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Modulus: 0<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Exponent: 0<br>
=C2=A0 =C2=A0 Signature Algorithm: 0.0<br>
<br>
<br>
I see what you mean about barfing on a &quot;malformed&quot; public key.=C2=
=A0 This was my first attempt...<br>
<br>
$ echo &quot;-----BEGIN CERTIFICATE-----<br>
MFEwRwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw<br>
MDAwMDBaMAkxBzAFBgEAEwAwCDADBgEAAwEAMAMGAQADAQA=3D<br>
-----END CERTIFICATE-----&quot; | openssl x509 -text -noout<br>
Certificate:<br>
=C2=A0 =C2=A0 Data:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Version: 1 (0x0)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Serial Number: 0 (0x0)<br>
=C2=A0 =C2=A0 Signature Algorithm: 0.0<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Issuer: 0.0=3D<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Validity<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Not Before: May 18 00:00:00 2016 =
GMT<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Not After : May 18 00:00:00 2017 =
GMT<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Subject: 0.0=3D<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Subject Public Key Info:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Public Key Algorithm: 0.0<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Unable to load Public Key<br>
<a href=3D"tel:3073144508" value=3D"+13073144508" target=3D"_blank">3073144=
508</a>:error:0609E09C:digital envelope routines:PKEY_SET_TYPE:unsupported =
algorithm:p_lib.c:231:<br>
<a href=3D"tel:3073144508" value=3D"+13073144508" target=3D"_blank">3073144=
508</a>:error:0B07706F:x509 certificate routines:X509_PUBKEY_get:unsupporte=
d algorithm:x_pubkey.c:148:<br>
=C2=A0 =C2=A0 Signature Algorithm: 0.0<br>
<br>
P.S. OpenSSL barfs on an RDN Attribute of type NULL, so I used a zero-lengt=
h PrintableString instead.<span class=3D"im HOEnZb"><br>
<br>
On 18/05/16 08:29, Sean Leonard wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I&#39;m working on a problem that involves the DER encoding of the smallest=
<br>
well-formed (yet pathological) certificate. How many octets can the<br>
world&#39;s smallest well-formed certificate be?<br>
<br>
A Certificate is a SEQUENCE of TBSCertificate, AlgorithmIdentifier, and<br>
BIT STRING (the signature). The world&#39;s smallest certificate would be<b=
r>
version =3D 1 (therefore omitted), a serial number of 0, a hypothetical<br>
signature (AlgorithmIdentifier) that has the world&#39;s smallest object<br=
>
identifier (0.0) and no parameters, an issuer Name (distinguished name)<br>
that has one RDN that has one Attribute whose type is the world&#39;s<br>
smallest object identifier (0.0) and whose value is the ASN.1&#39;s smalles=
t<br>
value (NULL), with proper validity times, the same or similar smallest<br>
subject Name, a well-formed SubjectPublicKeyInfo, and none of the<br>
optional fields: issuerUniqueID, subjectUniqueID, and extensions.<br>
<br>
By &quot;well-formed&quot;, I mean that an ASN.1 &#39;88 parser (i.e., one =
that does<br>
not enforce information object classes) will parse it (including the BIT<br=
>
STRING contents) and not barf. Such a certificate could not possibly be<br>
&quot;valid&quot;, since the signature block would not be a real digital si=
gnature.<br>
<br>
Sean<br>
<br>
(PS For those who want to know &quot;why&quot;, it&#39;s because I am tryin=
g to test<br>
some assumptions about how small a certificate can be.)<br>
</blockquote>
<br></span><span class=3D"HOEnZb"><font color=3D"#888888">
-- <br>
Rob Stradling<br>
Senior Research &amp; Development Scientist<br>
COMODO - Creating Trust Online</font></span><div class=3D"HOEnZb"><div clas=
s=3D"h5"><br>
<br>
_______________________________________________<br>
pkix mailing list<br>
<a href=3D"mailto:pkix@ietf.org" target=3D"_blank">pkix@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/pkix" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/pkix</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature">Erwann.</div>
</div>

--001a1140215c152aef05331d766f--


From nobody Wed May 18 06:15:44 2016
Return-Path: <ynir.ietf@gmail.com>
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 0BD6212D189 for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 06:15:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.393
X-Spam-Level: 
X-Spam-Status: No, score=-1.393 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TRACKER_ID=1.306] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 qko0tVDonqMV for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 06:15:33 -0700 (PDT)
Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E6AC812D1D5 for <pkix@ietf.org>; Wed, 18 May 2016 06:15:25 -0700 (PDT)
Received: by mail-wm0-x230.google.com with SMTP id r12so34243925wme.0 for <pkix@ietf.org>; Wed, 18 May 2016 06:15:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=LjFp480vIKT2EuTassikeJVbxauunJR2lD3lEzdQlY4=; b=Kw/H2hbFdleqkymjhpvWKqbtYLL1t8R7MERlltppltxrRgwT+5uV7LYVxwX/2xR8wG r7+jcSO63Hp3W5rRnv2+RwMBJTy9yFwxcYkVBA5i3J8t6cZ2Lcc/Do0dEOTrtTUXXP41 /7KtnFquUu7L7SbpkYa1SdUA6SwhZHfWkcVh3Uz8684hHIOM5sxwrbuNon6I+lmv/lhX +eVhMTg9hoeXJgDkcLDQuDvanZ9KVqCUoirImK//oFYkKqZW/qn3kMRoQJqYMxPEWNHZ tEVX8xqG4gx7CxCISJtUS8gBxDeBQ4SB5gOaufy1v4TwKIcQFLUZd9ONrIW65UhcDIoa 6NaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=LjFp480vIKT2EuTassikeJVbxauunJR2lD3lEzdQlY4=; b=KYzLbNYmNb1cUAEIYIFKrBLeXg74i01ra0IWI2hxaP757QjzZ7EKXgXbewtK/qJxiy VVLS8Aea4wO9kh7N7mDcbUUdcTUJ+4KSi1bD48YniFPYhoqu8maEccfBT5XEs5K47lWC BGy4cV+RJkgL1C5qXFuB/l7mnk7J76+75cWMEb0YhQUfXIRH5wDkXiFzS1FsYTLqEqKS qyDTapW937DawY2Poq3U249oksuXtBF9VK8WsDmim0dhKvmpaaC1TsUuKfOqSpLYnyxW gAFfF5rm2580vjAfgVuzQdqd3xgqQrI6fUk4ue21mgaj+dq9duQMgb5bmtWzWPIzmKEW IVvA==
X-Gm-Message-State: AOPr4FW0YhwdMNsxWMoasNtx/o95x3/c+SiSe0/NkqUdrwioHM7H0zLZ20mNou8PlRZ/Mg==
X-Received: by 10.28.44.87 with SMTP id s84mr7210211wms.61.1463577324427; Wed, 18 May 2016 06:15:24 -0700 (PDT)
Received: from [172.24.248.41] (dyn32-131.checkpoint.com. [194.29.32.131]) by smtp.gmail.com with ESMTPSA id ib1sm8625482wjb.48.2016.05.18.06.15.22 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 May 2016 06:15:23 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_C292EF3F-BDCF-4A05-8021-9AC6791B60CF"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CA+i=0E78phJHizoOniU3+wrJBWKbLhCKwZKVF5oLC0xwqV74GQ@mail.gmail.com>
Date: Wed, 18 May 2016 16:15:21 +0300
Message-Id: <79530CBF-898A-45D9-A68D-76AB0F3BEDBC@gmail.com>
References: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com> <af723bb1-9cf6-d18d-7d0a-3c709daa0a94@comodo.com> <CA+i=0E78phJHizoOniU3+wrJBWKbLhCKwZKVF5oLC0xwqV74GQ@mail.gmail.com>
To: Erwann Abalea <eabalea@gmail.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/DbakdwwW1xp9-PFg-zUUrnhFmJ8>
Cc: "pkix@ietf.org" <pkix@ietf.org>, Sean Leonard <dev+ietf@seantek.com>
Subject: Re: [pkix] World's smallest well-formed certificate
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 18 May 2016 13:15:35 -0000

--Apple-Mail=_C292EF3F-BDCF-4A05-8021-9AC6791B60CF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

$ openssl x509 -in smallest.crt -text
Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number: 0 (0x0)
    Signature Algorithm: 0.0
        Issuer:=20
        Validity
            Not Before: May 18 00:00:00 2016 GMT
            Not After : May 18 00:00:00 2017 GMT
        Subject:=20
        Subject Public Key Info:
            Public Key Algorithm: 0.0
            Unable to load Public Key
140735154757712:error:0609E09C:digital envelope =
routines:PKEY_SET_TYPE:unsupported algorithm:p_lib.c:231:
140735154757712:error:0B07706F:x509 certificate =
routines:X509_PUBKEY_get:unsupported algorithm:x_pubkey.c:148:
    Signature Algorithm: 0.0
-----BEGIN CERTIFICATE-----
MEAwNgIBADADBgEAMAAwHhcNMTYwNTE4MDAwMDAwWhcNMTcwNTE4MDAwMDAwWjAA
MAgwAwYBAAMBADADBgEAAwEA
-----END CERTIFICATE=E2=80=94=E2=80=94

> On 18 May 2016, at 4:01 PM, Erwann Abalea <eabalea@gmail.com> wrote:
>=20
> Bonjour,
>=20
> Your examples have serial numbers encoded with a zero length, this is =
not DER compliant.
> The Name type used for issuer and subject is an unconstrained SEQUENCE =
OF, so in theory it can be empty and be well-formed (from a DER point of =
view).
>=20
> My proposal, 66 octets:
> -----BEGIN CERTIFICATE-----
> MEAwNgIBADADBgEAMAAwHhcNMTYwNTE4MDAwMDAwWhcNMTcwNTE4MDAwMDAwWjAA
> MAgwAwYBAAMBADADBgEAAwEA
> -----END CERTIFICATE-----
>=20
>=20
> 2016-05-18 11:25 GMT+02:00 Rob Stradling <rob.stradling@comodo.com =
<mailto:rob.stradling@comodo.com>>:
> Hi Sean.  I can get OpenSSL to not barf in 99 bytes...
>=20
> $ echo "-----BEGIN CERTIFICATE-----
> MGEwVwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw
> MDAwMDBaMAkxBzAFBgEAEwAwGDANBgkqhkiG9w0BAQEFAAMHADAEAgACADADBgEA
> AwEA
> -----END CERTIFICATE-----" | openssl x509 -text -noout
> Certificate:
>     Data:
>         Version: 1 (0x0)
>         Serial Number: 0 (0x0)
>     Signature Algorithm: 0.0
>         Issuer: 0.0=3D
>         Validity
>             Not Before: May 18 00:00:00 2016 GMT
>             Not After : May 18 00:00:00 2017 GMT
>         Subject: 0.0=3D
>         Subject Public Key Info:
>             Public Key Algorithm: rsaEncryption
>                 Public-Key: (0 bit)
>                 Modulus: 0
>                 Exponent: 0
>     Signature Algorithm: 0.0
>=20
>=20
> I see what you mean about barfing on a "malformed" public key.  This =
was my first attempt...
>=20
> $ echo "-----BEGIN CERTIFICATE-----
> MFEwRwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw
> MDAwMDBaMAkxBzAFBgEAEwAwCDADBgEAAwEAMAMGAQADAQA=3D
> -----END CERTIFICATE-----" | openssl x509 -text -noout
> Certificate:
>     Data:
>         Version: 1 (0x0)
>         Serial Number: 0 (0x0)
>     Signature Algorithm: 0.0
>         Issuer: 0.0=3D
>         Validity
>             Not Before: May 18 00:00:00 2016 GMT
>             Not After : May 18 00:00:00 2017 GMT
>         Subject: 0.0=3D
>         Subject Public Key Info:
>             Public Key Algorithm: 0.0
>             Unable to load Public Key
> 3073144508 <tel:3073144508>:error:0609E09C:digital envelope =
routines:PKEY_SET_TYPE:unsupported algorithm:p_lib.c:231:
> 3073144508 <tel:3073144508>:error:0B07706F:x509 certificate =
routines:X509_PUBKEY_get:unsupported algorithm:x_pubkey.c:148:
>     Signature Algorithm: 0.0
>=20
> P.S. OpenSSL barfs on an RDN Attribute of type NULL, so I used a =
zero-length PrintableString instead.
>=20
> On 18/05/16 08:29, Sean Leonard wrote:
> I'm working on a problem that involves the DER encoding of the =
smallest
> well-formed (yet pathological) certificate. How many octets can the
> world's smallest well-formed certificate be?
>=20
> A Certificate is a SEQUENCE of TBSCertificate, AlgorithmIdentifier, =
and
> BIT STRING (the signature). The world's smallest certificate would be
> version =3D 1 (therefore omitted), a serial number of 0, a =
hypothetical
> signature (AlgorithmIdentifier) that has the world's smallest object
> identifier (0.0) and no parameters, an issuer Name (distinguished =
name)
> that has one RDN that has one Attribute whose type is the world's
> smallest object identifier (0.0) and whose value is the ASN.1's =
smallest
> value (NULL), with proper validity times, the same or similar smallest
> subject Name, a well-formed SubjectPublicKeyInfo, and none of the
> optional fields: issuerUniqueID, subjectUniqueID, and extensions.
>=20
> By "well-formed", I mean that an ASN.1 '88 parser (i.e., one that does
> not enforce information object classes) will parse it (including the =
BIT
> STRING contents) and not barf. Such a certificate could not possibly =
be
> "valid", since the signature block would not be a real digital =
signature.
>=20
> Sean
>=20
> (PS For those who want to know "why", it's because I am trying to test
> some assumptions about how small a certificate can be.)
>=20
> --=20
> Rob Stradling
> Senior Research & Development Scientist
> COMODO - Creating Trust Online
>=20
>=20
> _______________________________________________
> pkix mailing list
> pkix@ietf.org <mailto:pkix@ietf.org>
> https://www.ietf.org/mailman/listinfo/pkix =
<https://www.ietf.org/mailman/listinfo/pkix>
>=20
>=20
>=20
> --=20
> Erwann.
> _______________________________________________
> pkix mailing list
> pkix@ietf.org
> https://www.ietf.org/mailman/listinfo/pkix


--Apple-Mail=_C292EF3F-BDCF-4A05-8021-9AC6791B60CF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">$ =
openssl x509 -in smallest.crt -text</span></div><div style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">Certificate:</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp; &nbsp; Data:</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; Version: 1 (0x0)</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; Serial =
Number: 0 (0x0)</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
&nbsp; Signature Algorithm: 0.0</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; Issuer:&nbsp;</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
Validity</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not Before: May 18 00:00:00 2016 =
GMT</span></div><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not After : May 18 00:00:00 2017 =
GMT</span></div><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; Subject:&nbsp;</span></div><div style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; Subject Public Key =
Info:</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Public Key Algorithm: =
0.0</span></div><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unable to load Public =
Key</span></div><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">140735154757712:error:0609E09C:digital envelope =
routines:PKEY_SET_TYPE:unsupported =
algorithm:p_lib.c:231:</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">140735154757712:error:0B07706F:x509 certificate =
routines:X509_PUBKEY_get:unsupported =
algorithm:x_pubkey.c:148:</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp; &nbsp; Signature Algorithm: 0.0</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">-----BEGIN =
CERTIFICATE-----</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">MEAwNgIBADADBgEAMAAwHhcNMTYwNTE4MDAwMDAwWhcNMTcwNTE4MDAwMDAwWjA=
A</span></div><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">MAgwAwYBAAMBADADBgEAAwEA</span></div><div style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">-----END CERTIFICATE=E2=80=94=E2=80=94</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""><br =
class=3D""></span></div><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 18 May 2016, at 4:01 PM, Erwann Abalea &lt;<a =
href=3D"mailto:eabalea@gmail.com" class=3D"">eabalea@gmail.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"">Bonjour,</div><div class=3D""><br =
class=3D""></div>Your examples have serial numbers encoded with a zero =
length, this is not DER compliant.<div class=3D"">The Name type used for =
issuer and subject is an unconstrained SEQUENCE OF, so in theory it can =
be empty and be well-formed (from a DER point of view).</div><div =
class=3D""><br class=3D""></div><div class=3D"">My proposal, 66 =
octets:</div><div class=3D""><div class=3D"">-----BEGIN =
CERTIFICATE-----</div><div =
class=3D"">MEAwNgIBADADBgEAMAAwHhcNMTYwNTE4MDAwMDAwWhcNMTcwNTE4MDAwMDAwWjA=
A</div><div class=3D"">MAgwAwYBAAMBADADBgEAAwEA</div></div><div =
class=3D"">-----END CERTIFICATE-----</div><div class=3D""><br =
class=3D""></div></div><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">2016-05-18 11:25 GMT+02:00 Rob Stradling <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:rob.stradling@comodo.com" =
target=3D"_blank" class=3D"">rob.stradling@comodo.com</a>&gt;</span>:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sean.&nbsp; I can =
get OpenSSL to not barf in 99 bytes...<br class=3D"">
<br class=3D"">
$ echo "-----BEGIN CERTIFICATE-----<br class=3D"">
MGEwVwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw<br =
class=3D"">
MDAwMDBaMAkxBzAFBgEAEwAwGDANBgkqhkiG9w0BAQEFAAMHADAEAgACADADBgEA<br =
class=3D"">
AwEA<br class=3D"">
-----END CERTIFICATE-----" | openssl x509 -text -noout<br class=3D"">
Certificate:<br class=3D"">
&nbsp; &nbsp; Data:<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Version: 1 (0x0)<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Serial Number: 0 (0x0)<br class=3D"">
&nbsp; &nbsp; Signature Algorithm: 0.0<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Issuer: 0.0=3D<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Validity<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not Before: May 18 00:00:00 =
2016 GMT<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not After : May 18 00:00:00 =
2017 GMT<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Subject: 0.0=3D<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Subject Public Key Info:<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Public Key Algorithm: =
rsaEncryption<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Public-Key: (0 =
bit)<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Modulus: 0<br =
class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Exponent: 0<br =
class=3D"">
&nbsp; &nbsp; Signature Algorithm: 0.0<br class=3D"">
<br class=3D"">
<br class=3D"">
I see what you mean about barfing on a "malformed" public key.&nbsp; =
This was my first attempt...<br class=3D"">
<br class=3D"">
$ echo "-----BEGIN CERTIFICATE-----<br class=3D"">
MFEwRwIAMAMGAQAwCTEHMAUGAQATADAeFw0xNjA1MTgwMDAwMDBaFw0xNzA1MTgw<br =
class=3D"">
MDAwMDBaMAkxBzAFBgEAEwAwCDADBgEAAwEAMAMGAQADAQA=3D<br class=3D"">
-----END CERTIFICATE-----" | openssl x509 -text -noout<br class=3D"">
Certificate:<br class=3D"">
&nbsp; &nbsp; Data:<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Version: 1 (0x0)<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Serial Number: 0 (0x0)<br class=3D"">
&nbsp; &nbsp; Signature Algorithm: 0.0<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Issuer: 0.0=3D<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Validity<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not Before: May 18 00:00:00 =
2016 GMT<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not After : May 18 00:00:00 =
2017 GMT<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Subject: 0.0=3D<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Subject Public Key Info:<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Public Key Algorithm: 0.0<br =
class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unable to load Public Key<br =
class=3D"">
<a href=3D"tel:3073144508" value=3D"+13073144508" target=3D"_blank" =
class=3D"">3073144508</a>:error:0609E09C:digital envelope =
routines:PKEY_SET_TYPE:unsupported algorithm:p_lib.c:231:<br class=3D"">
<a href=3D"tel:3073144508" value=3D"+13073144508" target=3D"_blank" =
class=3D"">3073144508</a>:error:0B07706F:x509 certificate =
routines:X509_PUBKEY_get:unsupported algorithm:x_pubkey.c:148:<br =
class=3D"">
&nbsp; &nbsp; Signature Algorithm: 0.0<br class=3D"">
<br class=3D"">
P.S. OpenSSL barfs on an RDN Attribute of type NULL, so I used a =
zero-length PrintableString instead.<span class=3D"im HOEnZb"><br =
class=3D"">
<br class=3D"">
On 18/05/16 08:29, Sean Leonard wrote:<br class=3D"">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm working on a problem that involves the DER encoding of the =
smallest<br class=3D"">
well-formed (yet pathological) certificate. How many octets can the<br =
class=3D"">
world's smallest well-formed certificate be?<br class=3D"">
<br class=3D"">
A Certificate is a SEQUENCE of TBSCertificate, AlgorithmIdentifier, =
and<br class=3D"">
BIT STRING (the signature). The world's smallest certificate would be<br =
class=3D"">
version =3D 1 (therefore omitted), a serial number of 0, a =
hypothetical<br class=3D"">
signature (AlgorithmIdentifier) that has the world's smallest object<br =
class=3D"">
identifier (0.0) and no parameters, an issuer Name (distinguished =
name)<br class=3D"">
that has one RDN that has one Attribute whose type is the world's<br =
class=3D"">
smallest object identifier (0.0) and whose value is the ASN.1's =
smallest<br class=3D"">
value (NULL), with proper validity times, the same or similar =
smallest<br class=3D"">
subject Name, a well-formed SubjectPublicKeyInfo, and none of the<br =
class=3D"">
optional fields: issuerUniqueID, subjectUniqueID, and extensions.<br =
class=3D"">
<br class=3D"">
By "well-formed", I mean that an ASN.1 '88 parser (i.e., one that =
does<br class=3D"">
not enforce information object classes) will parse it (including the =
BIT<br class=3D"">
STRING contents) and not barf. Such a certificate could not possibly =
be<br class=3D"">
"valid", since the signature block would not be a real digital =
signature.<br class=3D"">
<br class=3D"">
Sean<br class=3D"">
<br class=3D"">
(PS For those who want to know "why", it's because I am trying to =
test<br class=3D"">
some assumptions about how small a certificate can be.)<br class=3D"">
</blockquote>
<br class=3D""></span><span class=3D"HOEnZb"><font color=3D"#888888" =
class=3D"">
-- <br class=3D"">
Rob Stradling<br class=3D"">
Senior Research &amp; Development Scientist<br class=3D"">
COMODO - Creating Trust Online</font></span><div class=3D"HOEnZb"><div =
class=3D"h5"><br class=3D"">
<br class=3D"">
_______________________________________________<br class=3D"">
pkix mailing list<br class=3D"">
<a href=3D"mailto:pkix@ietf.org" target=3D"_blank" =
class=3D"">pkix@ietf.org</a><br class=3D"">
<a href=3D"https://www.ietf.org/mailman/listinfo/pkix" rel=3D"noreferrer" =
target=3D"_blank" =
class=3D"">https://www.ietf.org/mailman/listinfo/pkix</a><br class=3D"">
</div></div></blockquote></div><br class=3D""><br clear=3D"all" =
class=3D""><div class=3D""><br class=3D""></div>-- <br class=3D""><div =
class=3D"gmail_signature">Erwann.</div>
</div>
_______________________________________________<br class=3D"">pkix =
mailing list<br class=3D""><a href=3D"mailto:pkix@ietf.org" =
class=3D"">pkix@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/pkix<br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_C292EF3F-BDCF-4A05-8021-9AC6791B60CF--


From nobody Wed May 18 06:20:33 2016
Return-Path: <rob.stradling@comodo.com>
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 1DA4C12D0BC for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 06:20:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 2HZDYw_bxM-C for <pkix@ietfa.amsl.com>; Wed, 18 May 2016 06:20:29 -0700 (PDT)
Received: from mmextmx2.mcr.colo.comodoca.net (mmextmx2.mcr.colo.comodoca.net [IPv6:2a02:1788:402:c00::c0a8:9cd6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A89212B006 for <pkix@ietf.org>; Wed, 18 May 2016 06:20:29 -0700 (PDT)
Received: (qmail 24369 invoked by uid 1004); 18 May 2016 13:20:27 -0000
Received: from ian.brad.office.comodo.net (HELO ian.brad.office.comodo.net) (192.168.0.202) by mmextmx2.mcr.colo.comodoca.net (qpsmtpd/0.84) with ESMTP; Wed, 18 May 2016 14:20:27 +0100
Received: (qmail 19646 invoked by uid 1000); 18 May 2016 13:20:27 -0000
Received: from and0004.comodo.net (HELO [192.168.0.58]) (192.168.0.58) (smtp-auth username rob, mechanism plain) by ian.brad.office.comodo.net (qpsmtpd/0.40) with (AES128-SHA encrypted) ESMTPSA; Wed, 18 May 2016 14:20:27 +0100
To: Erwann Abalea <eabalea@gmail.com>
References: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com> <af723bb1-9cf6-d18d-7d0a-3c709daa0a94@comodo.com> <CA+i=0E78phJHizoOniU3+wrJBWKbLhCKwZKVF5oLC0xwqV74GQ@mail.gmail.com>
From: Rob Stradling <rob.stradling@comodo.com>
Message-ID: <fb33f32a-531b-5091-6fe2-53f6c92867fd@comodo.com>
Date: Wed, 18 May 2016 14:20:27 +0100
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <CA+i=0E78phJHizoOniU3+wrJBWKbLhCKwZKVF5oLC0xwqV74GQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/7MZ5Fd7fEyIBpZ3xrWmDudVDDD4>
Cc: "pkix@ietf.org" <pkix@ietf.org>, Sean Leonard <dev+ietf@seantek.com>
Subject: Re: [pkix] World's smallest well-formed certificate
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 18 May 2016 13:20:32 -0000

On 18/05/16 14:01, Erwann Abalea wrote:
> Bonjour,
>
> Your examples have serial numbers encoded with a zero length, this is
> not DER compliant.
> The Name type used for issuer and subject is an unconstrained SEQUENCE
> OF, so in theory it can be empty and be well-formed (from a DER point of
> view).

Good points.

> My proposal, 66 octets:
> -----BEGIN CERTIFICATE-----
> MEAwNgIBADADBgEAMAAwHhcNMTYwNTE4MDAwMDAwWhcNMTcwNTE4MDAwMDAwWjAA
> MAgwAwYBAAMBADADBgEAAwEA
> -----END CERTIFICATE-----

Erwann wins.  ;-)

-- 
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online


From nobody Thu May 19 06:14:17 2016
Return-Path: <a.yousar@informatik.hu-berlin.de>
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 43A8512D0FF for <pkix@ietfa.amsl.com>; Thu, 19 May 2016 06:14:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.727
X-Spam-Level: 
X-Spam-Status: No, score=-5.727 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=informatik.hu-berlin.de
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 KSe3LHnOXxBI for <pkix@ietfa.amsl.com>; Thu, 19 May 2016 06:14:13 -0700 (PDT)
Received: from mailout1.informatik.hu-berlin.de (mailout1.informatik.hu-berlin.de [141.20.20.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D7F612D15C for <pkix@ietf.org>; Thu, 19 May 2016 06:14:13 -0700 (PDT)
Received: from mailbox.informatik.hu-berlin.de (mailbox [141.20.20.63]) by mail.informatik.hu-berlin.de (8.14.7/8.14.7/INF-2.0-MA-SOLARIS-2.10-25) with ESMTP id u4JDE7II003918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 May 2016 15:14:08 +0200 (MEST)
Received: from [192.168.2.115] (p4FDADF1C.dip0.t-ipconnect.de [79.218.223.28]) (authenticated bits=0) by mailbox.informatik.hu-berlin.de (8.14.7/8.14.7/INF-2.0-MA-SOLARIS-2.10-AUTH-26-465-587) with ESMTP id u4JDE6tr003912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 May 2016 15:14:07 +0200 (MEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=informatik.hu-berlin.de; s=mailbox; t=1463663647; bh=UB2bsRKCn+qtDP7guGfXm1pCSnCwYnkfCFYEeBfM+jc=; h=Subject:To:References:From:Cc:Date:In-Reply-To; b=JHkO+o2w3+NXqz6hL1ZoPzew+nJCKKMavbS7O+TrV7HUtx6enUrFsza450YcxRc7n wvzaIePQbLhIw4e/ZJdXWa1jZQmWUoyPUVTWJg4r0V9KzhcF7CErHDFnN5NWExXvDe P9c5GcDZTfzVHPEr9URFdwmkTZ/HK1RJy9WL8/7E=
To: Rob Stradling <rob.stradling@comodo.com>
References: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com> <af723bb1-9cf6-d18d-7d0a-3c709daa0a94@comodo.com> <CA+i=0E78phJHizoOniU3+wrJBWKbLhCKwZKVF5oLC0xwqV74GQ@mail.gmail.com> <fb33f32a-531b-5091-6fe2-53f6c92867fd@comodo.com>
From: Annie <a.yousar@informatik.hu-berlin.de>
Message-ID: <0a1a9e85-3e23-f4f6-1a9b-48e566e1b2af@informatik.hu-berlin.de>
Date: Thu, 19 May 2016 15:14:03 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <fb33f32a-531b-5091-6fe2-53f6c92867fd@comodo.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.98.4 at mailbox
X-Virus-Status: Clean
X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.5.1 (mail.informatik.hu-berlin.de [141.20.20.50]); Thu, 19 May 2016 15:14:08 +0200 (MEST)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/0t12q0OrSsnMnL2tBugzhRPQj2Y>
Cc: pkix@ietf.org
Subject: Re: [pkix] World's smallest well-formed certificate
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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, 19 May 2016 13:14:16 -0000

There are many and not only one smallest certificate, any serial number
less than 128 give a same length cert. The same applies for the validity
time.

Note that my cert
-----BEGIN CERTIFICATE-----
MDwwMgIBfzADBgEAMAAwGhcLMTYwNTE4MDEwMVoXCzE3MDUxODAyMDJaMAAwCDAD
BgEAAwEAMAMGAQADAQA=
-----END CERTIFICATE-----

is only 60 bytes log, therefore Ann wins.
Explanation: the seconds in UTC time are optional.

/Ann.

Am 18.05.2016 um 15:20 schrieb Rob Stradling:
> On 18/05/16 14:01, Erwann Abalea wrote:
>> Bonjour,
>>
>> Your examples have serial numbers encoded with a zero length, this is
>> not DER compliant.
>> The Name type used for issuer and subject is an unconstrained SEQUENCE
>> OF, so in theory it can be empty and be well-formed (from a DER point of
>> view).
> 
> Good points.
> 
>> My proposal, 66 octets:
>> -----BEGIN CERTIFICATE-----
>> MEAwNgIBADADBgEAMAAwHhcNMTYwNTE4MDAwMDAwWhcNMTcwNTE4MDAwMDAwWjAA
>> MAgwAwYBAAMBADADBgEAAwEA
>> -----END CERTIFICATE-----
> 
> Erwann wins.  ;-)
> 


From nobody Thu May 19 06:32:04 2016
Return-Path: <david.cooper@nist.gov>
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 1CA3412D13D for <pkix@ietfa.amsl.com>; Thu, 19 May 2016 06:32:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.903
X-Spam-Level: 
X-Spam-Status: No, score=-4.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] 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 aHCgp9OKdtfF for <pkix@ietfa.amsl.com>; Thu, 19 May 2016 06:32:01 -0700 (PDT)
Received: from wsget2.nist.gov (wsget2.nist.gov [IPv6:2610:20:6005:13::151]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3B2212D107 for <pkix@ietf.org>; Thu, 19 May 2016 06:32:00 -0700 (PDT)
Received: from WSXGHUB1.xchange.nist.gov (129.6.18.96) by wsget2.nist.gov (129.6.13.151) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 19 May 2016 09:31:52 -0400
Received: from postmark.nist.gov (129.6.16.94) by WSXGHUB1.xchange.nist.gov (129.6.18.96) with Microsoft SMTP Server (TLS) id 8.3.444.0; Thu, 19 May 2016 09:31:58 -0400
Received: from [129.6.54.72] (st26.ncsl.nist.gov [129.6.54.72])	by postmark.nist.gov (8.13.8/8.13.1) with ESMTP id u4JDVjek026620;	Thu, 19 May 2016 09:31:45 -0400
To: Annie <a.yousar@informatik.hu-berlin.de>
References: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com> <af723bb1-9cf6-d18d-7d0a-3c709daa0a94@comodo.com> <CA+i=0E78phJHizoOniU3+wrJBWKbLhCKwZKVF5oLC0xwqV74GQ@mail.gmail.com> <fb33f32a-531b-5091-6fe2-53f6c92867fd@comodo.com> <0a1a9e85-3e23-f4f6-1a9b-48e566e1b2af@informatik.hu-berlin.de>
From: "David A. Cooper" <david.cooper@nist.gov>
Message-ID: <573DC041.1050307@nist.gov>
Date: Thu, 19 May 2016 09:31:45 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To: <0a1a9e85-3e23-f4f6-1a9b-48e566e1b2af@informatik.hu-berlin.de>
Content-Type: text/html; charset="windows-1252"
Content-Transfer-Encoding: 8bit
X-NIST-MailScanner-Information: 
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/q8b7qV4sa-QMU5kPYRaBN-lgspM>
Cc: pkix@ietf.org
Subject: Re: [pkix] World's smallest well-formed certificate
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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, 19 May 2016 13:32:03 -0000

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 05/19/2016 09:14 AM, Annie wrote:<br>
    </div>
    <blockquote
      cite="mid:0a1a9e85-3e23-f4f6-1a9b-48e566e1b2af@informatik.hu-berlin.de"
      type="cite">
      <pre wrap="">Explanation: the seconds in UTC time are optional.
</pre>
    </blockquote>
    <br>
    Actually, this isn't correct. According to Clause 11 of X.690
    (Restrictions on BER employed by both CER and DER):<br>
    <blockquote>
      <p><b>11.8  UTCTime</b></p>
      <p><b>11.8.1</b> The encoding shall terminate with "Z", as
        described in the ITU-T X.680 | ISO/IEC 8824-1 clause on UTCTime.</p>
      <p><b>11.8.2</b> <span style="background-color:#ff6;"> The seconds
          element shall always be present.</span></p>
      <p><b>11.8.3</b>  Midnight (GMT) shall be represented in the form:</p>
      <p>              "YYMMDD000000Z"</p>
      <p>where "YYMMDD" represents the day following the midnight in
        question.<br>
      </p>
      <p><b>11.8.4 Examples of valid representations</b><br>
      </p>
      <p>            "920521000000Z"<br>
                    "920622123421Z"<br>
                    "920722132100Z"<br>
      </p>
      <p><b>11.8.5 Examples of invalid representations</b></p>
      <p>            "920520240000Z"      (midnight represented
        incorrectly)</p>
      <p style="background-color:#ff6;">             "9207221321Z"      
               (seconds of "00" omitted)</p>
      <p><br>
      </p>
    </blockquote>
    <br>
  </body>
</html>


From nobody Thu May 19 06:38:45 2016
Return-Path: <a.yousar@informatik.hu-berlin.de>
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 DF3F712D141 for <pkix@ietfa.amsl.com>; Thu, 19 May 2016 06:38:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.727
X-Spam-Level: 
X-Spam-Status: No, score=-5.727 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=informatik.hu-berlin.de
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 0GDPyrmsFIie for <pkix@ietfa.amsl.com>; Thu, 19 May 2016 06:38:43 -0700 (PDT)
Received: from mailout1.informatik.hu-berlin.de (mailout1.informatik.hu-berlin.de [141.20.20.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2AF112DA4A for <pkix@ietf.org>; Thu, 19 May 2016 06:38:42 -0700 (PDT)
Received: from mailbox.informatik.hu-berlin.de (mailbox [141.20.20.63]) by mail.informatik.hu-berlin.de (8.14.7/8.14.7/INF-2.0-MA-SOLARIS-2.10-25) with ESMTP id u4JDcc8n010309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 May 2016 15:38:40 +0200 (MEST)
Received: from [192.168.2.115] (p4FDADF1C.dip0.t-ipconnect.de [79.218.223.28]) (authenticated bits=0) by mailbox.informatik.hu-berlin.de (8.14.7/8.14.7/INF-2.0-MA-SOLARIS-2.10-AUTH-26-465-587) with ESMTP id u4JDcbfe010303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 May 2016 15:38:38 +0200 (MEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=informatik.hu-berlin.de; s=mailbox; t=1463665118; bh=HIXajm4aQRVmiYkQn/afwd2T26I+06jGpmGK8P0TuQY=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=hnZdp5XxsIsMNHeZ3EfrkzG5ULOU5MNcYbEfYaxUQsiVonvUji3noBzVtqMopzNz/ 0yr85qHzsZPA6OrkHsfgGPJgRgHbU2WFeSQ59qDg343bmEKxSOd9UQoof3Rt4JY+Ul G06fSSA5/jHbxnNQBJ7XHFewwsDO1V/be6+gqohY=
To: "David A. Cooper" <david.cooper@nist.gov>
References: <7b8c0b5a-2133-b094-2d09-e37efae98994@seantek.com> <af723bb1-9cf6-d18d-7d0a-3c709daa0a94@comodo.com> <CA+i=0E78phJHizoOniU3+wrJBWKbLhCKwZKVF5oLC0xwqV74GQ@mail.gmail.com> <fb33f32a-531b-5091-6fe2-53f6c92867fd@comodo.com> <0a1a9e85-3e23-f4f6-1a9b-48e566e1b2af@informatik.hu-berlin.de> <573DC041.1050307@nist.gov>
From: Annie <a.yousar@informatik.hu-berlin.de>
Message-ID: <47dd9b2b-6a86-34d7-458a-5b3d95c5fd83@informatik.hu-berlin.de>
Date: Thu, 19 May 2016 15:38:34 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <573DC041.1050307@nist.gov>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.98.4 at mailbox
X-Virus-Status: Clean
X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.5.1 (mail.informatik.hu-berlin.de [141.20.20.50]); Thu, 19 May 2016 15:38:40 +0200 (MEST)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/AYn82hcZV2rHddp5eEVATMAZRfE>
Cc: pkix@ietf.org
Subject: Re: [pkix] World's smallest well-formed certificate
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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, 19 May 2016 13:38:44 -0000

Am 19.05.2016 um 15:31 schrieb David A. Cooper:
> On 05/19/2016 09:14 AM, Annie wrote:
>> Explanation: the seconds in UTC time are optional.
>
> Actually, this isn't correct. According to Clause 11 of X.690
> (Restrictions on BER employed by both CER and DER):
>
*OK, Erwann wins.
*


From nobody Tue May 24 06:08:50 2016
Return-Path: <era@x500.eu>
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 A3AF712D7D7 for <pkix@ietfa.amsl.com>; Tue, 24 May 2016 06:08:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.851
X-Spam-Level: 
X-Spam-Status: No, score=0.851 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_WEB=0.77] 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 4FA0gVHkbtLW for <pkix@ietfa.amsl.com>; Tue, 24 May 2016 06:08:45 -0700 (PDT)
Received: from mail02.dandomain.dk (mail02.dandomain.dk [194.150.112.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1DA1612D783 for <pkix@ietf.org>; Tue, 24 May 2016 06:06:58 -0700 (PDT)
Received: from Morten ([62.44.135.29]) by mail02.dandomain.dk (DanDomain Mailserver) with ASMTP id 2201605241506531446; Tue, 24 May 2016 15:06:53 +0200
From: "Erik Andersen" <era@x500.eu>
To: "PKIX" <pkix@ietf.org>, "Directory list" <x500standard@freelists.org>
Date: Tue, 24 May 2016 15:06:56 +0200
Message-ID: <000701d1b5bd$267b0d60$73712820$@x500.eu>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01D1B5CD.EA0515E0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdG1uyUAKBrVe/+ITKKOuVylulvtQw==
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/WM8IvdewHFZBFEXnhEaeOoxJk7w>
Subject: [pkix] Redundant signature algorithm info in certs.
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 24 May 2016 13:08:48 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0008_01D1B5CD.EA0515E0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

The question about apparently redundant signature algorithm information in
public-key certificates, attribute certificates and CRLs has been raised
before. It seems clear that by including the signature algorithm within the
body of the cert, it is protected by the signature. But why does the
algorithm then has to be part of the signature itself?

 

I am not suggesting to change current specifications. The question could be
relevant for new  signed structures developed by other specifications.

 

Erik


------=_NextPart_000_0008_01D1B5CD.EA0515E0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>The question about apparently redundant signature =
algorithm information in public-key certificates, attribute certificates =
and CRLs has been raised before. It seems clear that by including the =
signature algorithm within the body of the cert, it is protected by the =
signature. But why does the algorithm then has to be part of the =
signature itself?<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I am not =
suggesting to change current specifications. The question could be =
relevant for new &nbsp;signed structures developed by other =
specifications.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Erik<o:p></o:p></p></div></body></html>
------=_NextPart_000_0008_01D1B5CD.EA0515E0--


From nobody Tue May 24 16:51:26 2016
Return-Path: <eabalea@gmail.com>
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 EF68F12D7FB for <pkix@ietfa.amsl.com>; Tue, 24 May 2016 16:51:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 f4VeEFMo5jjt for <pkix@ietfa.amsl.com>; Tue, 24 May 2016 16:51:22 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 214B012D5D3 for <pkix@ietf.org>; Tue, 24 May 2016 16:51:22 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id e131so11956605lfb.0 for <pkix@ietf.org>; Tue, 24 May 2016 16:51:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=GlnGuzCO9F0DJbB6pcfnajjX25QGYEpBoNEGwIo6Xjo=; b=hnIAL90HT4MhQrXpDjdMHLnFgoLmFRqgM3bS2ZQYIFyXUT5hSO88DcFJXKQSHeBRad XUZvOEMC63Sym85vnbctXxZUPqqewiMxEcAYM7S6JwNcw/cxxkQXpPpbh7bQIIxqME3L c76SZ9bYrbdFZQIoho0KwVwBhAWvQIhnVh1YC68Z88l1gs1ZusdE9VeJvlG1LpZA2Jq9 B5rXbwuPDGhRjaFhGX+XFch1iNkpdHaso9k7S/z3kezj4WzntmyMTdmz/c04ZA+h/6xL 9W0hQ+4UjKjqd/2GTnjv23y+tC3k8mMUmdMBk5uNy1BzTZduZVtJmWnkg/FiMWT3AyK3 wg+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=GlnGuzCO9F0DJbB6pcfnajjX25QGYEpBoNEGwIo6Xjo=; b=ZJpuLPJwZyeIqmaMkyDAXsFdtUWTByzkYyCauJBLH4dF8aJzxckCx7xxo7fptkQvDx HhalhAh5NXeZbhnk/eam5YCEcgzonw6+PBrd34G7GXo/ZdQwuJkQXXKfdu1/70gZxHYW kWRMvTAMVhZnOnl3SbA1vAkbvWOH9BIwnDbWNMFsk5MDMGkzJdGWkOiJd6YmsW5KHgLd qyeT8URG7ZyLvf+hUXFWLHPl0p5CVEg86LZdelU+BnJWJ0B/NhyZgYNGOZwSUJuwtYBH ARAnOvLABSOpjvhXwwh9LL23BH6bbx0xV2wOdj+DyPs+grrAFQiM80cUXWJ6Y9rvV+oj 3jhA==
X-Gm-Message-State: ALyK8tJp5lzri9fwpppva8t+2PMWOzg5ufjQYsm1VkEbyNRVxNDuWiJDBOFhTekbS2WhIx6bev0iu+03dKzIIw==
MIME-Version: 1.0
X-Received: by 10.25.27.130 with SMTP id b124mr133999lfb.99.1464133880207; Tue, 24 May 2016 16:51:20 -0700 (PDT)
Received: by 10.114.4.138 with HTTP; Tue, 24 May 2016 16:51:20 -0700 (PDT)
In-Reply-To: <000701d1b5bd$267b0d60$73712820$@x500.eu>
References: <000701d1b5bd$267b0d60$73712820$@x500.eu>
Date: Wed, 25 May 2016 01:51:20 +0200
Message-ID: <CA+i=0E5M3XOKqtn+OVAJEMir4ThqMgYVXc6RX5VmQpMaUgzQkQ@mail.gmail.com>
From: Erwann Abalea <eabalea@gmail.com>
To: Erik Andersen <era@x500.eu>
Content-Type: multipart/alternative; boundary=001a11403a26d5642e05339f3b29
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/JhWgMRHyBd9oa8f72sn_4qrHFsk>
Cc: PKIX <pkix@ietf.org>, Directory list <x500standard@freelists.org>
Subject: Re: [pkix] Redundant signature algorithm info in certs.
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 24 May 2016 23:51:24 -0000

--001a11403a26d5642e05339f3b29
Content-Type: text/plain; charset=UTF-8

Bonsoir,

2016-05-24 15:06 GMT+02:00 Erik Andersen <era@x500.eu>:

> The question about apparently redundant signature algorithm information in
> public-key certificates, attribute certificates and CRLs has been raised
> before. It seems clear that by including the signature algorithm within the
> body of the cert, it is protected by the signature. But why does the
> algorithm then has to be part of the signature itself?
>

Probably because X.509 starts by defining what a signature is, defining a
SIGNED ASN.1 macro able to take a private key, a signature algorithm, and
some opaque "ToBeSigned" data, resulting in a complete structure that can
be passed to an equivalent hypothetical VERIFY macro? This macro doesn't
need to know that the signatureAlgorithm is or isn't included in this
ToBeSigned. From an API point of view, that doesn't sound illogical.
A Certificate is defined as a SIGNED{Something} since the 1993 edition, at
least.
The order between "defining what is a Certificate" and "what is a digital
signature" has been reversed between 1993 and 1997 editions.

I am not suggesting to change current specifications. The question could be
> relevant for new  signed structures developed by other specifications.
>
>
PKCS#7/CMS hasn't followed this path. What is really protected in integrity
is either the sole content or a DER encoded version of the signed
attributes. The signature algorithm in itself isn't protected.

-- 
Erwann.

--001a11403a26d5642e05339f3b29
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Bonsoir,<br><div class=3D"gmail_extra"><br><div class=3D"g=
mail_quote">2016-05-24 15:06 GMT+02:00 Erik Andersen <span dir=3D"ltr">&lt;=
<a href=3D"mailto:era@x500.eu" target=3D"_blank">era@x500.eu</a>&gt;</span>=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-GB" link=3D"#0563C1" vl=
ink=3D"#954F72"><div><p class=3D"MsoNormal">The question about apparently r=
edundant signature algorithm information in public-key certificates, attrib=
ute certificates and CRLs has been raised before. It seems clear that by in=
cluding the signature algorithm within the body of the cert, it is protecte=
d by the signature. But why does the algorithm then has to be part of the s=
ignature itself?</p></div></div></blockquote><div><br></div><div>Probably b=
ecause X.509 starts by defining what a signature is, defining a SIGNED ASN.=
1 macro able to take a private key, a signature algorithm, and some opaque =
&quot;ToBeSigned&quot; data, resulting in a complete structure that can be =
passed to an equivalent hypothetical VERIFY macro? This macro doesn&#39;t n=
eed to know that the signatureAlgorithm is or isn&#39;t included in this To=
BeSigned. From an API point of view, that doesn&#39;t sound illogical.</div=
><div>A Certificate is defined as a SIGNED{Something} since the 1993 editio=
n, at least.</div><div>The order between &quot;defining what is a Certifica=
te&quot; and &quot;what is a digital signature&quot; has been reversed betw=
een 1993 and 1997 editions.</div><div><br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex"><div lang=3D"EN-GB" link=3D"#0563C1" vlink=3D"#954F72"><p class=3D"MsoN=
ormal"><u></u><u></u></p><p class=3D"MsoNormal"><u></u>I am not suggesting =
to change current specifications. The question could be relevant for new =
=C2=A0signed structures developed by other specifications.</p><span class=
=3D"HOEnZb"><font color=3D"#888888"><p class=3D"MsoNormal"><u></u></p></fon=
t></span></div></blockquote></div><div class=3D"gmail_extra"><br></div>PKCS=
#7/CMS hasn&#39;t followed this path. What is really protected in integrity=
 is either the sole content or a DER encoded version of the signed attribut=
es. The signature algorithm in itself isn&#39;t protected.<br clear=3D"all"=
><div><br></div>-- <br><div class=3D"gmail_signature">Erwann.</div>
</div></div>

--001a11403a26d5642e05339f3b29--


From nobody Wed May 25 16:35:13 2016
Return-Path: <santosh.chokhani@gmail.com>
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 9FF0212DE1F for <pkix@ietfa.amsl.com>; Wed, 25 May 2016 16:35:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 fE669286gKND for <pkix@ietfa.amsl.com>; Wed, 25 May 2016 16:35:05 -0700 (PDT)
Received: from mail-qg0-x22a.google.com (mail-qg0-x22a.google.com [IPv6:2607:f8b0:400d:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C816B12DE1B for <pkix@ietf.org>; Wed, 25 May 2016 16:35:03 -0700 (PDT)
Received: by mail-qg0-x22a.google.com with SMTP id e93so30123238qgf.2 for <pkix@ietf.org>; Wed, 25 May 2016 16:35:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:to:references:in-reply-to:subject:date:message-id:mime-version :thread-index:content-language; bh=G3vngIfTOIMHJpW9IT8pVwRKmSsUA9A/m8gWH92+96c=; b=0dlHHU5tlYzf+694mgYorF/nLVsGml/QOODsGO+qdVU24xIMT22arjWiJIeCVr+Ma/ LPPzTPr7MSS/HHjWYjb08rjHathp+3CegWoy0hmFwuo9ddEr8uCK+qjm96Y1JEpupo1g ZhcvipWBSB8qIUmkQOpmmoqf+sIPaSignb2TP4s2sm9syNfsRINd8/XOzLiaiujl93VE hNFOjxclkVtZvRp23mUCiRZShFkpHfLpQ/2iL5WXkM3sF380oTHIfPBJ5FfIaXKa1CTC NH6nh/6bn7G7ZJdauig3MglDV5XcBWNNZfnNdgCRPi4NXkPqZWXBUDZyD+u3QGwAasKO mBXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:thread-index:content-language; bh=G3vngIfTOIMHJpW9IT8pVwRKmSsUA9A/m8gWH92+96c=; b=G66SWyfIgeAeaJuGxby9sRA2J5izHTj/wk2J4TyP+Osa57qB7JHPn+fq0Jn8v5vXSu MAZDPveDySzASKiYHYw3MQ7H7Q+eJDVIoCjTnJdkB7ByEhHAG9jydPTxPNzwVJfF4gUW LUdD6ZJrzSb2Sqh8OdSy6EdjKrF8ytAKT0SiWp513Si3b/fFaZDVf+/OdTjloiq1U5vB dkmQQZvpWcc0hUhbhk9RgFHSxeO7YNfOZ4g+S0VXmGHAJOHStQR9Kt68jBDB+X5DBquB gAJ/8mUwyo8ds37h5ub9p7Zr/U9h9SA87zZ4dEAAakvlDqHxkl/R9kc4RMLruNEy7d41 IcUw==
X-Gm-Message-State: ALyK8tIIZhpD8RER1/hLr2EZGDR6DjOEvw0/kdCawGXC6hOOo8cejkHTTRiRyKj47HTNJg==
X-Received: by 10.140.153.135 with SMTP id 129mr6327606qhz.71.1464219302927; Wed, 25 May 2016 16:35:02 -0700 (PDT)
Received: from SantoshBrain (pool-173-73-188-109.washdc.fios.verizon.net. [173.73.188.109]) by smtp.gmail.com with ESMTPSA id b189sm3071285qkf.10.2016.05.25.16.35.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 May 2016 16:35:02 -0700 (PDT)
From: "Santosh Chokhani" <santosh.chokhani@gmail.com>
To: <x500standard@freelists.org>, "'PKIX'" <pkix@ietf.org>
References: <000701d1b5bd$267b0d60$73712820$@x500.eu> <001a01d1b65c$8c24bf40$a46e3dc0$@thomannconsulting.ch>
In-Reply-To: <001a01d1b65c$8c24bf40$a46e3dc0$@thomannconsulting.ch>
Date: Wed, 25 May 2016 19:35:04 -0400
Message-ID: <009801d1b6de$109c78e0$31d56aa0$@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0099_01D1B6BC.898B9C30"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQBpCL6zHTkbUMYfMGsTMGQJMa3/EQHMe4+0oo1ET9A=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/HGZJKrJto3fcfprx5nVZKuEuZ9g>
Subject: Re: [pkix] [x500standard] AW: Redundant signature algorithm info in certs.
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 25 May 2016 23:35:07 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0099_01D1B6BC.898B9C30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello Sir,

=20

There was some work done in the area of trusted archive by the LTANS =
working
group.  You should look at things like RFC 5276 and  RFC 4998.  These
include archiving certificates and revocation information.

=20

From: x500standard-bounce@freelists.org
[mailto:x500standard-bounce@freelists.org] On Behalf Of Hans-Rudolf =
Thomann
Sent: Wednesday, May 25, 2016 4:08 AM
To: x500standard@freelists.org; 'PKIX' <pkix@ietf.org>
Subject: [x500standard] AW: Redundant signature algorithm info in certs.

=20

A possibly related question: When archiving a signed document, what do =
you
do with the certificate? You will need it for future origin =
authentication.=20

=20

I=92m not aware for a need of the algo info in the signature, but one =
for the
whole certificate in archived documents.=20

=20

Mit freundlichen Gr=FCssen

=20

Hans-Rudolf Thomann

=20

Von: x500standard-bounce@freelists.org
<mailto:x500standard-bounce@freelists.org>
[mailto:x500standard-bounce@freelists.org] Im Auftrag von Erik Andersen
Gesendet: Dienstag, 24. Mai 2016 15:07
An: PKIX <pkix@ietf.org <mailto:pkix@ietf.org> >; Directory list
<x500standard@freelists.org <mailto:x500standard@freelists.org> >
Betreff: [x500standard] Redundant signature algorithm info in certs.

=20

The question about apparently redundant signature algorithm information =
in
public-key certificates, attribute certificates and CRLs has been raised
before. It seems clear that by including the signature algorithm within =
the
body of the cert, it is protected by the signature. But why does the
algorithm then has to be part of the signature itself?

=20

I am not suggesting to change current specifications. The question could =
be
relevant for new  signed structures developed by other specifications.

=20

Erik


------=_NextPart_000_0099_01D1B6BC.898B9C30
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"><meta name=3DGenerator content=3D"Microsoft Word =
15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>Hello =
Sir,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>There was some work done =
in the area of trusted archive by the LTANS working group.=A0 You should =
look at things like RFC 5276 and =A0RFC 4998.=A0 These include archiving =
certificates and revocation information.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b>From:</b> =
x500standard-bounce@freelists.org =
[mailto:x500standard-bounce@freelists.org] <b>On Behalf Of =
</b>Hans-Rudolf Thomann<br><b>Sent:</b> Wednesday, May 25, 2016 4:08 =
AM<br><b>To:</b> x500standard@freelists.org; 'PKIX' =
&lt;pkix@ietf.org&gt;<br><b>Subject:</b> [x500standard] AW: Redundant =
signature algorithm info in certs.<o:p></o:p></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>A possibly related question: When archiving a =
signed document, what do you do with the certificate? </span><span =
lang=3DDE-CH style=3D'color:#1F497D'>You will need it for future origin =
authentication. <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DDE-CH style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>I&#8217;m not aware for =
a need of the algo info in the signature, but one for the whole =
certificate in archived documents. <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><p =
class=3DMsoNormal><span lang=3DDE-CH =
style=3D'color:#1F497D;mso-fareast-language:DE-CH'>Mit freundlichen =
Gr=FCssen<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DDE-CH =
style=3D'color:#1F497D;mso-fareast-language:DE-CH'><o:p>&nbsp;</o:p></spa=
n></p><p class=3DMsoNormal><span lang=3DDE-CH =
style=3D'color:#1F497D;mso-fareast-language:DE-CH'>Hans-Rudolf =
Thomann<o:p></o:p></span></p></div><p class=3DMsoNormal><span =
lang=3DDE-CH =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span lang=3DDE =
style=3D'mso-fareast-language:DE-CH'>Von:</span></b><span lang=3DDE =
style=3D'mso-fareast-language:DE-CH'> <a =
href=3D"mailto:x500standard-bounce@freelists.org">x500standard-bounce@fre=
elists.org</a> [<a =
href=3D"mailto:x500standard-bounce@freelists.org">mailto:x500standard-bou=
nce@freelists.org</a>] <b>Im Auftrag von </b>Erik =
Andersen<br><b>Gesendet:</b> Dienstag, 24. Mai 2016 15:07<br><b>An:</b> =
PKIX &lt;<a href=3D"mailto:pkix@ietf.org">pkix@ietf.org</a>&gt;; =
Directory list &lt;<a =
href=3D"mailto:x500standard@freelists.org">x500standard@freelists.org</a>=
&gt;<br><b>Betreff:</b> [x500standard] Redundant signature algorithm =
info in certs.<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><span lang=3DDE-CH><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>The question about apparently =
redundant signature algorithm information in public-key certificates, =
attribute certificates and CRLs has been raised before. It seems clear =
that by including the signature algorithm within the body of the cert, =
it is protected by the signature. But why does the algorithm then has to =
be part of the signature itself?<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>I am not suggesting to change =
current specifications. The question could be relevant for new =
&nbsp;signed structures developed by other =
specifications.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>Erik<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_0099_01D1B6BC.898B9C30--


From nobody Thu May 26 08:15:19 2016
Return-Path: <kent@bbn.com>
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 5957D12D6EE for <pkix@ietfa.amsl.com>; Thu, 26 May 2016 08:15:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.627
X-Spam-Level: 
X-Spam-Status: No, score=-4.627 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FSL_HELO_HOME=1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] 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 0DBQ1LafeOhd for <pkix@ietfa.amsl.com>; Thu, 26 May 2016 08:15:17 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1A81D12D0CD for <pkix@ietf.org>; Thu, 26 May 2016 08:15:17 -0700 (PDT)
Received: from ssh.bbn.com ([192.1.122.15]:37571 helo=COMSEC.fios-router.home) by smtp.bbn.com with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <kent@bbn.com>) id 1b5x0F-000Adl-OE for pkix@ietf.org; Thu, 26 May 2016 11:15:15 -0400
From: Stephen Kent <kent@bbn.com>
To: pkix@ietf.org
References: <000701d1b5bd$267b0d60$73712820$@x500.eu> <CA+i=0E5M3XOKqtn+OVAJEMir4ThqMgYVXc6RX5VmQpMaUgzQkQ@mail.gmail.com>
Message-ID: <57471305.30907@bbn.com>
Date: Thu, 26 May 2016 11:15:17 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <CA+i=0E5M3XOKqtn+OVAJEMir4ThqMgYVXc6RX5VmQpMaUgzQkQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/RhWq-XvcZbIQxaF7Tm0ucWJ3Csc>
Subject: Re: [pkix] Redundant signature algorithm info in certs.
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.17
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, 26 May 2016 15:15:18 -0000

Erwann is right. The use of a signature "macro" enables consistent
processing of sigs irrespective of whether a specific data object also
includes sig algorithm info internally.

Steve



