
From nobody Tue May  5 06:27:27 2015
Return-Path: <eranm@google.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA8F61A916F for <pkix@ietfa.amsl.com>; Wed, 22 Apr 2015 07:02:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level: 
X-Spam-Status: No, score=-1.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=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 xLWuwwIidBnp for <pkix@ietfa.amsl.com>; Wed, 22 Apr 2015 07:02:32 -0700 (PDT)
Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (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 F0AF31A9162 for <pkix@ietf.org>; Wed, 22 Apr 2015 07:02:19 -0700 (PDT)
Received: by oica37 with SMTP id a37so177380955oic.0 for <pkix@ietf.org>; Wed, 22 Apr 2015 07:02:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jlVk+EeoISXN8Om4bMP6Xoo/HLmG6hsXklZGQbfSpVM=; b=WtFMvJXq9P51k45nXK4jik+ZKKJxmarh6WBtFNlc5aJUYprQbUnjnT4kl+0naStdrd du7oxmJpmSSLLhdAwjGuVo20XxU0fZnZIo5blYwSPAolOXlQkOtCGKUS9lVOdD9e44mr S8okNjj2Ns1FMNkmll9clHstm1d/WmSqLrMkvhpWj+qn0DBBtxnQrNnoLza+9tgSaSVq db7UPOCxlXmoSjH5FxO9Nwp+eM8eBlHyLhhoF+/CB80kLY91dh0tSVdszP0LMe2/hIa9 h9KlsXCPJQE7qa/BzFHs5WPPTTpe/g1ZG6/15pCzgf+RHaO9vYH/ai5GNoHGDOUaV4r0 1Qww==
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:content-type; bh=jlVk+EeoISXN8Om4bMP6Xoo/HLmG6hsXklZGQbfSpVM=; b=JyEqul+ka8G4o+bbGByjKxPJReJD66hl1UiO/9n8tTx4XIok5CpfhYwx33DTGtBrvc 7zjTXAu35Io8wfpkZ3cfIO+JYrNC/Bp/u6yI70NW9bo3OjmdPe9AtrUyP6Hx/j6TZhlT tInTiBowyuzsv+Ttb6JzWOgyBoD4VHxoqd6IVEdnq+XoBMFBWm3lWjvrtRXSYtkzEztX Xxhawbf+cC7bAdH9qK+GGCIdisFxBzsZd7JcAAFnFL6vmLqarQQx6paZbeHVV+Oqw+j/ 74LpEHQR9c12t4oUjo0p6lyba9+UTKuuARKRDCbU0BF4q64QHFGlgDn/ZovBIcw6O+rb ZUDw==
X-Gm-Message-State: ALoCoQm0UWYhDPAxUoyxlsEgA7AWzbM2O66syK4xNGQWFeMdhh5Uc9suv1A9azaYKUBx9mHq4UTA
MIME-Version: 1.0
X-Received: by 10.182.165.4 with SMTP id yu4mr23419269obb.74.1429711339293; Wed, 22 Apr 2015 07:02:19 -0700 (PDT)
Received: by 10.182.197.102 with HTTP; Wed, 22 Apr 2015 07:02:19 -0700 (PDT)
In-Reply-To: <CAH8yC8k0PQ_cRbR4pFNkjAydE6c+jg-Ho3S4c2n=rjJEqyc57g@mail.gmail.com>
References: <CAH8yC8kd=YfzVYX_JOhLiT7k2kDje3MoAWpQNaOYORO8WM=AZQ@mail.gmail.com> <553763FC.7000504@comodo.com> <CAH8yC8k0PQ_cRbR4pFNkjAydE6c+jg-Ho3S4c2n=rjJEqyc57g@mail.gmail.com>
Date: Wed, 22 Apr 2015 15:02:19 +0100
Message-ID: <CALzYgEcE7-BfgzO+HAtx=k3yKxWk8L7SG7F8A-NThcKYz6TQ5g@mail.gmail.com>
From: Eran Messeri <eranm@google.com>
To: noloader@gmail.com
Content-Type: multipart/alternative; boundary=001a11c2ff8a82c2a90514509c31
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/95QixJGBcsKVtNcPvquk7TvZ2Xo>
X-Mailman-Approved-At: Tue, 05 May 2015 06:27:24 -0700
Cc: PKIX <pkix@ietf.org>, "trans@ietf.org" <trans@ietf.org>
Subject: Re: [pkix] [Trans] Certificate Transparency and user agent warnings
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 22 Apr 2015 14:02:34 -0000

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

On Wed, Apr 22, 2015 at 10:20 AM, Jeffrey Walton <noloader@gmail.com> wrote:

> Hi Rob,
>
> Thanks.
>
> > If 2, then I suspect that this is out of scope for CT, since it seems
> likely
> > that most CT logs accepted by browsers will only issue SCTs for
> > (intermediate or end-entity) certs that chain to publicly-trusted roots.
>
> Yes, this is the case.
>
> Is there a call-out or spec somewhere that states SCT is required of
> public CAs; but not CAs for internal or private PKIs?
>
> I'm concerned with an in-house, private PKI and the warnings that have
> been showing up in Chrome.
>
File a bug with Chrome? Chrome treats local trust roots differently AFAIK
and the Chromium issue tracker is the place  to get authoritative  answers
about this behaviour.

>
> Jeff
>
> On Wed, Apr 22, 2015 at 5:03 AM, Rob Stradling <rob.stradling@comodo.com>
> wrote:
> > (Cross-posting to TRANS)
> >
> > Jeffrey, does "private PKI" mean...
> >
> > 1. A publicly-trusted root, a publicly-logged intermediate, and
> non-logged
> > end-entity certs.
> > or
> > 2. A non-publicly-trusted root, a non-logged intermediate, and non-logged
> > end-entity certs.
> >
> > If 1, then please take a look at the mechanism in 6962-bis [1] for
> logging a
> > name-constrained intermediate CA certificate in place of the end-entity
> > certs issued under it.
> >
> > If 2, then I suspect that this is out of scope for CT, since it seems
> likely
> > that most CT logs accepted by browsers will only issue SCTs for
> > (intermediate or end-entity) certs that chain to publicly-trusted roots.
> >
> >
> > [1]
> >
> https://datatracker.ietf.org/doc/draft-ietf-trans-rfc6962-bis/?include_text=1
> >
> >
> > On 22/04/15 00:59, Jeffrey Walton wrote:
> >>
> >> According to the CT FAQ at
> >> http://www.certificate-transparency.org/faq, there are three ways to
> >> avoid warnings in some user agents:
> >>
> >>    * X509v3 Certificate Extension
> >>    * TLS Extension
> >>    * OCSP Stapling
> >>
> >> If a private PKI includes a subordinate in the chain that is name
> >> constrained, then can that be used in lieu of the three methods above?
> >>
> >> RFC 6962 does not discuss it (https://tools.ietf.org/html/rfc6962).
> >> But I feel like if the problem is issuing server certificates for
> >> domains *not* authorized to do so, then name constraints seems like a
> >> natural solution.
> >>
> >> Thanks in advance.
>
> _______________________________________________
> Trans mailing list
> Trans@ietf.org
> https://www.ietf.org/mailman/listinfo/trans
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Apr 22, 2015 at 10:20 AM, Jeffrey Walton <span dir=3D"ltr">&lt;=
<a href=3D"mailto:noloader@gmail.com" target=3D"_blank">noloader@gmail.com<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);=
border-left-style:solid;padding-left:1ex">Hi Rob,<br>
<br>
Thanks.<br>
<span class=3D""><br>
&gt; If 2, then I suspect that this is out of scope for CT, since it seems =
likely<br>
&gt; that most CT logs accepted by browsers will only issue SCTs for<br>
&gt; (intermediate or end-entity) certs that chain to publicly-trusted root=
s.<br>
<br>
</span>Yes, this is the case.<br>
<br>
Is there a call-out or spec somewhere that states SCT is required of<br>
public CAs; but not CAs for internal or private PKIs?<br>
<br>
I&#39;m concerned with an in-house, private PKI and the warnings that have<=
br>
been showing up in Chrome.<br></blockquote><div>File a bug with Chrome? Chr=
ome treats local trust roots differently AFAIK and the Chromium issue track=
er is the place =C2=A0to get=C2=A0authoritative =C2=A0answers about this be=
haviour.</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">
<br>
Jeff<br>
<div class=3D""><div class=3D"h5"><br>
On Wed, Apr 22, 2015 at 5:03 AM, Rob Stradling &lt;<a href=3D"mailto:rob.st=
radling@comodo.com">rob.stradling@comodo.com</a>&gt; wrote:<br>
&gt; (Cross-posting to TRANS)<br>
&gt;<br>
&gt; Jeffrey, does &quot;private PKI&quot; mean...<br>
&gt;<br>
&gt; 1. A publicly-trusted root, a publicly-logged intermediate, and non-lo=
gged<br>
&gt; end-entity certs.<br>
&gt; or<br>
&gt; 2. A non-publicly-trusted root, a non-logged intermediate, and non-log=
ged<br>
&gt; end-entity certs.<br>
&gt;<br>
&gt; If 1, then please take a look at the mechanism in 6962-bis [1] for log=
ging a<br>
&gt; name-constrained intermediate CA certificate in place of the end-entit=
y<br>
&gt; certs issued under it.<br>
&gt;<br>
&gt; If 2, then I suspect that this is out of scope for CT, since it seems =
likely<br>
&gt; that most CT logs accepted by browsers will only issue SCTs for<br>
&gt; (intermediate or end-entity) certs that chain to publicly-trusted root=
s.<br>
&gt;<br>
&gt;<br>
&gt; [1]<br>
&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-trans-rfc6962-b=
is/?include_text=3D1" target=3D"_blank">https://datatracker.ietf.org/doc/dr=
aft-ietf-trans-rfc6962-bis/?include_text=3D1</a><br>
&gt;<br>
&gt;<br>
&gt; On 22/04/15 00:59, Jeffrey Walton wrote:<br>
&gt;&gt;<br>
&gt;&gt; According to the CT FAQ at<br>
&gt;&gt; <a href=3D"http://www.certificate-transparency.org/faq" target=3D"=
_blank">http://www.certificate-transparency.org/faq</a>, there are three wa=
ys to<br>
&gt;&gt; avoid warnings in some user agents:<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 * X509v3 Certificate Extension<br>
&gt;&gt;=C2=A0 =C2=A0 * TLS Extension<br>
&gt;&gt;=C2=A0 =C2=A0 * OCSP Stapling<br>
&gt;&gt;<br>
&gt;&gt; If a private PKI includes a subordinate in the chain that is name<=
br>
&gt;&gt; constrained, then can that be used in lieu of the three methods ab=
ove?<br>
&gt;&gt;<br>
&gt;&gt; RFC 6962 does not discuss it (<a href=3D"https://tools.ietf.org/ht=
ml/rfc6962" target=3D"_blank">https://tools.ietf.org/html/rfc6962</a>).<br>
&gt;&gt; But I feel like if the problem is issuing server certificates for<=
br>
&gt;&gt; domains *not* authorized to do so, then name constraints seems lik=
e a<br>
&gt;&gt; natural solution.<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance.<br>
<br>
</div></div><div class=3D""><div class=3D"h5">_____________________________=
__________________<br>
Trans mailing list<br>
<a href=3D"mailto:Trans@ietf.org">Trans@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/trans" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/trans</a><br>
</div></div></blockquote></div><br></div></div>

--001a11c2ff8a82c2a90514509c31--


From nobody Sun May 10 23:20:40 2015
Return-Path: <era@x500.eu>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A6101A010C for <pkix@ietfa.amsl.com>; Sun, 10 May 2015 23:20:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.51
X-Spam-Level: **
X-Spam-Status: No, score=2.51 tagged_above=-999 required=5 tests=[BAYES_60=1.5, HELO_EQ_DK=1.009, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=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 dP3IDjePpS4p for <pkix@ietfa.amsl.com>; Sun, 10 May 2015 23:20:37 -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 72CB91A0102 for <pkix@ietf.org>; Sun, 10 May 2015 23:20:36 -0700 (PDT)
Received: from Morten ([62.44.135.228]) by mail02.dandomain.dk (DanDomain Mailserver) with ASMTP id 2201505110820339353 for <pkix@ietf.org>; Mon, 11 May 2015 08:20:33 +0200
From: "Erik Andersen" <era@x500.eu>
To: "PKIX" <pkix@ietf.org>
Date: Mon, 11 May 2015 08:20:37 +0200
Message-ID: <000001d08bb2$98b98900$ca2c9b00$@x500.eu>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01D08BC3.5C425900"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdCLsaIsjBIJxHdwQgOXSmNrdc1fHQ==
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/eJynCU7qrGjtThbOTKWNKKmSHyo>
Subject: [pkix] SCEP - RA address
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 11 May 2015 06:20:39 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0001_01D08BC3.5C425900
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

 

The SCEP draft requires that the CA address (IP address or FQDN) is
available at the client site. When both CA and RA are involved, to where
does the client go to get the CA certificate and the RA public-key
certificate. To the CA or to the RA? Where is the RA address obtained?

 

Kind regards,

 

Erik


------=_NextPart_000_0001_01D08BC3.5C425900
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>Hi,<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The SCEP =
draft requires that the CA address (IP address or FQDN) is available at =
the client site. When both CA and RA are involved, to where does the =
client go to get the CA certificate and the RA public-key certificate. =
To the CA or to the RA? Where is the RA address =
obtained?<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Kind regards,<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_0001_01D08BC3.5C425900--


From nobody Tue May 12 08:02:33 2015
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55CDD1B2E3A; Tue, 12 May 2015 08:02:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.212
X-Spam-Level: 
X-Spam-Status: No, score=-99.212 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=ham
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 o17Igx9jkNmP; Tue, 12 May 2015 08:02:28 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1900:3001:11::31]) by ietfa.amsl.com (Postfix) with ESMTP id C21391B2E3F; Tue, 12 May 2015 08:02:23 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 10E12180092; Tue, 12 May 2015 08:00:41 -0700 (PDT)
To: kyanha.rfceditor@kyanha.net, cadams@entrust.com, pcain@bbn.com, Denis.Pinkas@bull.net, robert.zuccherato@entrust.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20150512150041.10E12180092@rfc-editor.org>
Date: Tue, 12 May 2015 08:00:41 -0700 (PDT)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/TxwZ1L09mHT4NdwH6QeM4QvEcbo>
Cc: pkix@ietf.org, rfc-editor@rfc-editor.org, iesg@ietf.org
Subject: [pkix] [Errata Rejected] RFC3161 (4042)
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 12 May 2015 15:02:31 -0000

The following errata report has been rejected for RFC3161,
"Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=3161&eid=4042

--------------------------------------
Status: Rejected
Type: Technical

Reported by: Kyle Hamilton <kyanha.rfceditor@kyanha.net>
Date Reported: 2014-07-05
Rejected by: Stephen Farrell (IESG)

Section: 2.1

Original Text
-------------
   8.    not to examine the imprint being time-stamped in any way (other
         than to check its length, as specified in the previous bullet).

   9.    not to include any identification of the requesting entity in
         the time-stamp tokens.

   10.   to sign each time-stamp token using a key generated exclusively
         for this purpose and have this property of the key indicated on
         the corresponding certificate.

   11.   to include additional information in the time-stamp token, if
         asked by the requester using the extensions field, only for the
         extensions that are supported by the TSA.  If this is not
         possible, the TSA SHALL respond with an error message.


Corrected Text
--------------
   8.    not to examine the imprint being time-stamped in any way (other
         than to check its length, as specified in the previous bullet).

   9.    to sign each time-stamp token using a key generated exclusively
         for this purpose and have this property of the key indicated on
         the corresponding certificate.

   10.   to include additional information in the time-stamp token, if
         asked by the requester using the extensions field, only for the
         extensions that are supported by the TSA.  If this is not
         possible, the TSA SHALL respond with an error message.


Notes
-----


There exists at least one legal mandate in at least one jurisdiction that contravenes strict compliance with RFC3161.  It is easier to work to change IETF non-binding standards than it is to change legal mandates.

The State of Nevada regulates Time Stamps, under Nevada Administrative Code chapter 720 section 160.  It requires that Time Stamps, to be recognized by its courts, must contain the identification of the requesting entity (the "identity of the person appending or attaching the notation") in the time-stamp tokens.

The Administrative Code may be found at this URL: http://www.leg.state.nv.us/NAC/NAC-720.html#NAC720Sec160  I have also quoted the relevant section below.  (The parenthetical reference to NRS 720.150 is a reference to Nevada Revised Statutes, the statutory authority for the administrative code section.)

NAC 720.160  "Time stamp" defined. (NRS 720.150)  "Time stamp" means:
     1.  A notation that:
     (a) Is digitally signed by a certification authority;
     (b) Is appended or attached to a message, digital signature or certificate; and
     (c) Indicates at least:
          (1) The date and time the notation was appended or attached; and
          (2) The identity of the person appending or attaching the notation; or
     2.  To append or attach such a notation to a message, digital signature or certificate.
     (Added to NAC by Sec'y of State by R155-98, eff. 12-2-99)

Please note that the requirement of NAC 720.160.1(c)(2) went into effect in December 1999, more than 18 months before RFC3161 was published in August 2001.  The attempt by a non-legislative body (IETF pkix-wg) to contravene the will of a legislative body was either abject ignorance or utter hubris.

A TimeStampToken extension would be able to contain the mandatory data.  However, such an extension would necessarily violate current RFC3161 section 2.1.9.

The reason for this change is actually technical (from a legal sense), though it may appear to be editorial in nature.  As digests grow older, they necessarily have a much longer time that they have subject to the Birthday Attack.  As of the date of this errata submission, SHA-1 is disallowed by the Computer Security Resource Center of US National Institute of Science and Technology (NIST) for new digital signature generation, due to potential weakening due to increased temporal attack surface.

This means that sooner or later, an older timestamp is going to be found that matches the digest of a newer document.  The goal is to ensure that the document in question was actually in the possession of the particularly-named person identified as having attached the timestamp, by making that person available for testimony in the event of a dispute.  If there are multiple timestamps available using different digest algorithms that all have the same time (within a few seconds of each other), that raises the probability that the document did in fact exist at that time.  However, because new digest algorithms are introduced over time, it is not feasible to expect that all provided timestamps for a given document will necessarily be at the same time -- as long as all the digests that existed at the time the timestamps were generated have their times match, and the timestamps with new digests were not created before the new digests were implemented, it's the best evidence available that 
 the timestamped data existed at the latest of the times of the timestamps from digests that existed simultaneously.  (Be VERY careful about accepting timestamps that are more than thirty seconds apart from algorithms that existed simultaneously, and only in the murkiest situations should any set of timestamps using algorithms that existed simultaneously ever be accepted that are stamped as being more than two minutes apart.)

RFC3161 Section 2.4.1 defines a TimeStampReq format which does not provide the actual datum to be timestamped.  Any attempt at a protocol which does make the Certification Authority be the one attaching the timestamp to the datum would have to provide the datum to the custody of the Certification Authority, which would exceed the scope of the protocol defined by RFC3161.  Thus, a true RFC3161-compliant implementation would have to use nonstandard extensions to either the submission protocol (leaving the datum in the care of the Time Stamp Server) or the TimeStampReq and TimeStampToken contents (containing the datum in, presumably, an extension containing an ASN.1 OCTET STRING), in order to comply with this legal mandate in such a way that the identity of the person requesting the imprint (and thus presumed to hold the datum in the first place) does not need to be included within the TimeStampToken.  Unfortunately, this would also necessitate a violation of RFC3161 section 2.1.8, to p
 revent false statements from being signed in a jurisdiction where digital signatures have the force of acknowledgments before notaries public.

The erratum submitter respectfully requests that a Time Stamp working group be reconvened for an update to the protocol to address this and other errata which are currently held for update.
 --VERIFIER NOTES-- 

This is not an erratum but a change request. Please send to the pkix list if
it's still useful.

--------------------------------------
RFC3161 (draft-ietf-pkix-time-stamp-15)
--------------------------------------
Title               : Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)
Publication Date    : August 2001
Author(s)           : C. Adams, P. Cain, D. Pinkas, R. Zuccherato
Category            : PROPOSED STANDARD
Source              : Public-Key Infrastructure (X.509)
Area                : Security
Stream              : IETF
Verifying Party     : IESG


From nobody Wed May 13 14:24:42 2015
Return-Path: <noloader@gmail.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 98E421ACF04 for <pkix@ietfa.amsl.com>; Wed, 13 May 2015 14:24:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 9ikix1zcbO5c for <pkix@ietfa.amsl.com>; Wed, 13 May 2015 14:24:36 -0700 (PDT)
Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::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 C65FD1ACE16 for <pkix@ietf.org>; Wed, 13 May 2015 14:24:35 -0700 (PDT)
Received: by iecmd7 with SMTP id md7so44328439iec.1 for <pkix@ietf.org>; Wed, 13 May 2015 14:24:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:reply-to:date:message-id:subject:from:to:content-type;  bh=ejT48UxUoUmiXb5fUXxUAxHHjqmwdWl9CO0kfhEvH4I=; b=G+hNQj6sFHdDI9c5lIE+v3sUykP6EniW7hQdrUSd0mBQ+tSn85HScwm4KzC3agMxEP sfN2j8aRExQDIFi4cKe3F9Vx1rqeFN5qPhPZ/hWdQS6m7GahJ5UGBPeR6y3n3WjuSeFP b2odwYbdp2BE9xH/N5j8HsdKDvZ1QJf8fqOcg76cS3WEKsv5kTnZ0NrnJfHty1zjbvZa dzUEvfO3bxfuzjWpjUjXnqR1zr7qJgLLzeqonO0Snptatw8FLZjwahDOu1pfb4mLgvd/ xwbbmuAoFS3A4/hNKiGuRSWOyz/NMsOXnrAaUD/A5cOYH291s/vrVSsw8mZWUFhm7DIO IOeg==
MIME-Version: 1.0
X-Received: by 10.50.30.69 with SMTP id q5mr2183892igh.11.1431552275320; Wed, 13 May 2015 14:24:35 -0700 (PDT)
Received: by 10.36.77.15 with HTTP; Wed, 13 May 2015 14:24:35 -0700 (PDT)
Date: Wed, 13 May 2015 17:24:35 -0400
Message-ID: <CAH8yC8=yqmAyjQ4VAvwZBGnjmmKaQJ7Fxc3t3xhcJM0MEONeVQ@mail.gmail.com>
From: Jeffrey Walton <noloader@gmail.com>
To: PKIX <pkix@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/5LhsTFqc4fr7dKVMXOqNYpD8ZCU>
Subject: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: noloader@gmail.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: <http://www.ietf.org/mail-archive/web/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, 13 May 2015 21:24:37 -0000

RFC 5280, 4.1. Basic Certificate Fields, states:

    For signature calculation, the data that is to be
    signed is encoded using the ASN.1
    distinguished encoding rules (DER) [X.690].

One of the implications is attributes in a SET OF must be sorted and
provided in ascending order. Refer to X.690, 11.6 Set-of components.

RFC 6125 does not discuss how to verify the signature over
tbsCertifcate modulo the encoding requirement.

What is the expected behavior when complying software that expects DER
consumes a non-DER encoded certificate during signature verification?
Here, assume the attributes are *not* in ascending order per RFC 5280
and X.690.

Thanks in advance.


From nobody Wed May 13 14:47:54 2015
Return-Path: <mrex@sap.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA52F1ACED3 for <pkix@ietfa.amsl.com>; Wed, 13 May 2015 14:47:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.551
X-Spam-Level: 
X-Spam-Status: No, score=-6.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham
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 awXDG41aHL8a for <pkix@ietfa.amsl.com>; Wed, 13 May 2015 14:47:49 -0700 (PDT)
Received: from smtpde01.smtp.sap-ag.de (smtpde01.smtp.sap-ag.de [155.56.68.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EDC161ACEB7 for <pkix@ietf.org>; Wed, 13 May 2015 14:47:48 -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 smtpde01.smtp.sap-ag.de (Postfix) with ESMTPS id 006822A894; Wed, 13 May 2015 23:47:46 +0200 (CEST)
X-purgate-ID: 152705::1431553667-00005316-EEF43131/0/0
X-purgate-size: 2095
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 E5545428CC; Wed, 13 May 2015 23:47:46 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id D9AF11B2F4; Wed, 13 May 2015 23:47:46 +0200 (CEST)
In-Reply-To: <CAH8yC8=yqmAyjQ4VAvwZBGnjmmKaQJ7Fxc3t3xhcJM0MEONeVQ@mail.gmail.com>
To: noloader@gmail.com
Date: Wed, 13 May 2015 23:47:46 +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: <20150513214746.D9AF11B2F4@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/0LjlnJiNDtzqh1ryjUQ0knbalbY>
Cc: PKIX <pkix@ietf.org>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 13 May 2015 21:47:51 -0000

Jeffrey Walton wrote:
> RFC 5280, 4.1. Basic Certificate Fields, states:
> 
>     For signature calculation, the data that is to be
>     signed is encoded using the ASN.1
>     distinguished encoding rules (DER) [X.690].
> 
> One of the implications is attributes in a SET OF must be sorted and
> provided in ascending order. Refer to X.690, 11.6 Set-of components.
> 
> RFC 6125 does not discuss how to verify the signature over
> tbsCertifcate modulo the encoding requirement.
> 
> What is the expected behavior when complying software that expects DER
> consumes a non-DER encoded certificate during signature verification?
> Here, assume the attributes are *not* in ascending order per RFC 5280
> and X.690.


The assumption is that the receiver performs the signature verification
on the data exactly _as_received_, and does not try to decode and
re-encode tbsCertificate before verifying the certificate signature.


This encoding requirement (from section 4.1 of rfc5280) applies to the
sender/creator of the tbsCertificate PDU.

There is an often missed recommendation in rfc5280, section 6.1, 3rd parag.:

  https://tools.ietf.org/html/rfc5280#section-6.1

   While the certificate and CRL profiles specified in Sections 4 and 5
   of this document specify values for certificate and CRL fields and
   extensions that are considered to be appropriate for the Internet
   PKI, the algorithm presented in this section is not limited to
   accepting certificates and CRLs that conform to these profiles.
   Therefore, the algorithm only includes checks to verify that the
   certification path is valid according to X.509 and does not include
   checks to verify that the certificates and CRLs conform to this
   profile.  While the algorithm could be extended to include checks for
*> conformance to the profiles in Sections 4 and 5, this profile
*> RECOMMENDS against including such checks.


i.e. rfc5280 RECOMMEDs against including checks that tbsCertificate
is properly ASN.1 DER encoded when verifying certificate (paths).


-Martin


From nobody Wed May 13 14:53:45 2015
Return-Path: <eabalea@gmail.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 297261ACEE7 for <pkix@ietfa.amsl.com>; Wed, 13 May 2015 14:53:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001] autolearn=ham
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 CA2WcfanJ7yB for <pkix@ietfa.amsl.com>; Wed, 13 May 2015 14:53:40 -0700 (PDT)
Received: from mail-vn0-x232.google.com (mail-vn0-x232.google.com [IPv6:2607:f8b0:400c:c0f::232]) (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 AB3871B2E52 for <pkix@ietf.org>; Wed, 13 May 2015 14:53:30 -0700 (PDT)
Received: by vnbg129 with SMTP id g129so3922549vnb.4 for <pkix@ietf.org>; Wed, 13 May 2015 14:53:29 -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:content-type; bh=/TqwReX3T+hmVTpWOBlsoy/R6ZvOXd3QysxwNQV/mGk=; b=Yvib1otHvhStsOta3qkcTbukbOFcBRc3JBb51PfRxSRQoab/Y2fnBwQeCl8lHn3jxb J4wnSF5LrVrkjl19nv4xEYVmUa8phSDUzuvsa+pqKd6W8pOjvncnij0PnnSIIS6UlbcA yYwfdLoL1FXTYrOpkWf92vd25aquiN4Z1xYh7S/i5jyU2SD3ECqIjnxQL/BAHmJ0Ldxo DPZi5HL3rnGwbETfc9chtWYa80jQX10Sl07GMZdosddj/HSQ8NK56JVxbkQCaGAGh5rO mWRQx3UtboktaveLp1xr1MBifz7x40l6amFmHmHisQS4DGYA8de7e9XeoJvJBOafZQ+7 w8Nw==
MIME-Version: 1.0
X-Received: by 10.52.185.69 with SMTP id fa5mr1091004vdc.62.1431554009902; Wed, 13 May 2015 14:53:29 -0700 (PDT)
Received: by 10.52.146.116 with HTTP; Wed, 13 May 2015 14:53:29 -0700 (PDT)
In-Reply-To: <CAH8yC8=yqmAyjQ4VAvwZBGnjmmKaQJ7Fxc3t3xhcJM0MEONeVQ@mail.gmail.com>
References: <CAH8yC8=yqmAyjQ4VAvwZBGnjmmKaQJ7Fxc3t3xhcJM0MEONeVQ@mail.gmail.com>
Date: Wed, 13 May 2015 23:53:29 +0200
Message-ID: <CA+i=0E6jFi35cZ-dJ89nSVPMmWXYED81z-bircgUYKz6xUmJHA@mail.gmail.com>
From: Erwann Abalea <eabalea@gmail.com>
To: noloader@gmail.com
Content-Type: multipart/alternative; boundary=bcaec54864763cb5040515fda44f
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/VZuSBalFCYRbe3407E3hmevk_0M>
Cc: PKIX <pkix@ietf.org>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 13 May 2015 21:53:42 -0000

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

Bonsoir,

2015-05-13 23:24 GMT+02:00 Jeffrey Walton <noloader@gmail.com>:

> RFC 5280, 4.1. Basic Certificate Fields, states:
>
>     For signature calculation, the data that is to be
>     signed is encoded using the ASN.1
>     distinguished encoding rules (DER) [X.690].
>
> One of the implications is attributes in a SET OF must be sorted and
> provided in ascending order. Refer to X.690, 11.6 Set-of components.
>

I'd be tempted to say "partly wrong". The tbsCertificate should be properly
DER-encoded for the signature to be applied to, but the outputted
(provided) tbsCertificate doesn't need to be DER-encoded.
But unfortunately, doing so isn't rare. And it would be unwise to force a
RP to re-encode a tbsCertificate before trying to verify the signature :/


> RFC 6125 does not discuss how to verify the signature over
> tbsCertifcate modulo the encoding requirement.
>
> What is the expected behavior when complying software that expects DER
> consumes a non-DER encoded certificate during signature verification?
> Here, assume the attributes are *not* in ascending order per RFC 5280
> and X.690.
>

DER instead of BER isn't only about ordering SET elements, but it also
implies that DEFAULT values aren't encoded, that strings aren't
constructed, that dates are correctly Zulu-based (UTC) and precise up to
one second, that no indefinite length SEQUENCE/SET is used, and maybe other
things.

Strictly, a compliant RP is free to reject a signature that doesn't verify
the DER-reencoding of a tbsCertificate.

In the real world some CAs encode DEFAULT elements or have produced non
Zulu-based dates in certificates. Yet these certificate are still accepted.

-- 
Erwann.

--bcaec54864763cb5040515fda44f
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">2015-05-13 23:24 GMT+02:00 Jeffrey Walton <span dir=3D"ltr">&lt=
;<a href=3D"mailto:noloader@gmail.com" target=3D"_blank">noloader@gmail.com=
</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">RFC 5280, 4.1. Basic Cer=
tificate Fields, states:<br>
<br>
=C2=A0 =C2=A0 For signature calculation, the data that is to be<br>
=C2=A0 =C2=A0 signed is encoded using the ASN.1<br>
=C2=A0 =C2=A0 distinguished encoding rules (DER) [X.690].<br>
<br>
One of the implications is attributes in a SET OF must be sorted and<br>
provided in ascending order. Refer to X.690, 11.6 Set-of components.<br></b=
lockquote><div><br></div><div>I&#39;d be tempted to say &quot;partly wrong&=
quot;. The tbsCertificate should be properly DER-encoded for the signature =
to be applied to, but the outputted (provided) tbsCertificate doesn&#39;t n=
eed to be DER-encoded.</div><div>But unfortunately, doing so isn&#39;t rare=
. And it would be unwise to force a RP to re-encode a tbsCertificate before=
 trying to verify the signature :/</div><div>=C2=A0<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">
RFC 6125 does not discuss how to verify the signature over<br>
tbsCertifcate modulo the encoding requirement.<br>
<br>
What is the expected behavior when complying software that expects DER<br>
consumes a non-DER encoded certificate during signature verification?<br>
Here, assume the attributes are *not* in ascending order per RFC 5280<br>
and X.690.<br></blockquote></div><div><br></div><div>DER instead of BER isn=
&#39;t only about ordering SET elements, but it also implies that DEFAULT v=
alues aren&#39;t encoded, that strings aren&#39;t constructed, that dates a=
re correctly Zulu-based (UTC) and precise up to one second, that no indefin=
ite length SEQUENCE/SET is used, and maybe other things.</div><div><br></di=
v><div>Strictly, a compliant RP is free to reject a signature that doesn&#3=
9;t verify the DER-reencoding of a tbsCertificate.</div><div><br></div><div=
>In the real world some CAs encode DEFAULT elements or have produced non Zu=
lu-based dates in certificates. Yet these certificate are still accepted.</=
div><div><br></div>-- <br><div class=3D"gmail_signature">Erwann.</div>
</div></div>

--bcaec54864763cb5040515fda44f--


From nobody Wed May 13 15:18:06 2015
Return-Path: <noloader@gmail.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF8B41B3176 for <pkix@ietfa.amsl.com>; Wed, 13 May 2015 15:18:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 UzG893Gzqb2R for <pkix@ietfa.amsl.com>; Wed, 13 May 2015 15:18:01 -0700 (PDT)
Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::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 BE5321B3170 for <pkix@ietf.org>; Wed, 13 May 2015 15:18:01 -0700 (PDT)
Received: by iebgx4 with SMTP id gx4so45196184ieb.0 for <pkix@ietf.org>; Wed, 13 May 2015 15:18:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=4S55Wus5JyDyHLEm7ps41D/FPXgnHpkBCVzULtzC7jk=; b=RB63qwyrutm0dR1zEOa+iF5R3+63UwqbLiFTiJfGzgrmGt4xIP5TCVBKH48Sn8asoY B+YCqSZ4ueGN9SSwwvZuijRsA4MnfcjrRu7zdSv6OXd/6MC2NEwd39yOb4poC9OFgmHz a3Lh+rZY+pyh0pK752MyagwVuHrgbwvk/0gvO4lnNKU9rn2KUq6n5xl0y8turvn/37Wn qxkCcNwH8vqC0iJs8bMinRVYer8rSu5PSJIYZXLGozfXwFQqxYnvzioEx2tgNJRAQZuP +HAVvvSgS8MdVXSH539GZxVFbFWhM5U7Xiv2SbwpHwKTn2DVC2Z/OhaILsdG60bWDSvN 7rAw==
MIME-Version: 1.0
X-Received: by 10.50.30.69 with SMTP id q5mr2406684igh.11.1431555481272; Wed, 13 May 2015 15:18:01 -0700 (PDT)
Received: by 10.36.77.15 with HTTP; Wed, 13 May 2015 15:18:01 -0700 (PDT)
In-Reply-To: <20150513214746.D9AF11B2F4@ld9781.wdf.sap.corp>
References: <CAH8yC8=yqmAyjQ4VAvwZBGnjmmKaQJ7Fxc3t3xhcJM0MEONeVQ@mail.gmail.com> <20150513214746.D9AF11B2F4@ld9781.wdf.sap.corp>
Date: Wed, 13 May 2015 18:18:01 -0400
Message-ID: <CAH8yC8kDgx5zmaXVsWsL4vm=cwsCbr-2e-1dN_D2hEunLL8UWA@mail.gmail.com>
From: Jeffrey Walton <noloader@gmail.com>
To: mrex@sap.com
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/KH31oRxglclBWhMlOre0uC1KgkY>
Cc: PKIX <pkix@ietf.org>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: noloader@gmail.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: <http://www.ietf.org/mail-archive/web/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, 13 May 2015 22:18:03 -0000

Thanks Martin.

> This encoding requirement (from section 4.1 of rfc5280) applies to the
> sender/creator of the tbsCertificate PDU.

That's kind of what I thought. But the use of "calculation" leaves it
a bit open ended, so its not clear whether it applies to the
creator/sender or the verifier/receiver:

    >> For signature calculation, the data that is to be signed..

The "to be signed" kind of implies its the creator/sender. But both
the sender and receiver both use the tbsCertifcate, so "to be signed"
is mildly vague too.

Maybe it would be a good idea to clarify it in RFC 5280 for future
readers? Or maybe clearly state it in RFC 6125?

Jeff

On Wed, May 13, 2015 at 5:47 PM, Martin Rex <mrex@sap.com> wrote:
> Jeffrey Walton wrote:
>> RFC 5280, 4.1. Basic Certificate Fields, states:
>>
>>     For signature calculation, the data that is to be
>>     signed is encoded using the ASN.1
>>     distinguished encoding rules (DER) [X.690].
>>
>> One of the implications is attributes in a SET OF must be sorted and
>> provided in ascending order. Refer to X.690, 11.6 Set-of components.
>>
>> RFC 6125 does not discuss how to verify the signature over
>> tbsCertifcate modulo the encoding requirement.
>>
>> What is the expected behavior when complying software that expects DER
>> consumes a non-DER encoded certificate during signature verification?
>> Here, assume the attributes are *not* in ascending order per RFC 5280
>> and X.690.
>
>
> The assumption is that the receiver performs the signature verification
> on the data exactly _as_received_, and does not try to decode and
> re-encode tbsCertificate before verifying the certificate signature.
>
>
> This encoding requirement (from section 4.1 of rfc5280) applies to the
> sender/creator of the tbsCertificate PDU.
>
> There is an often missed recommendation in rfc5280, section 6.1, 3rd parag.:
>
>   https://tools.ietf.org/html/rfc5280#section-6.1
>
>    While the certificate and CRL profiles specified in Sections 4 and 5
>    of this document specify values for certificate and CRL fields and
>    extensions that are considered to be appropriate for the Internet
>    PKI, the algorithm presented in this section is not limited to
>    accepting certificates and CRLs that conform to these profiles.
>    Therefore, the algorithm only includes checks to verify that the
>    certification path is valid according to X.509 and does not include
>    checks to verify that the certificates and CRLs conform to this
>    profile.  While the algorithm could be extended to include checks for
> *> conformance to the profiles in Sections 4 and 5, this profile
> *> RECOMMENDS against including such checks.
>
> i.e. rfc5280 RECOMMEDs against including checks that tbsCertificate
> is properly ASN.1 DER encoded when verifying certificate (paths).
>


From nobody Thu May 14 01:23:47 2015
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 300D91B3513 for <pkix@ietfa.amsl.com>; Thu, 14 May 2015 01:23:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 xpFwrhCau5-F for <pkix@ietfa.amsl.com>; Thu, 14 May 2015 01:23:45 -0700 (PDT)
Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (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 71F1F1B350E for <pkix@ietf.org>; Thu, 14 May 2015 01:23:45 -0700 (PDT)
Received: by wguv19 with SMTP id v19so5134216wgu.1 for <pkix@ietf.org>; Thu, 14 May 2015 01:23:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=hGDuxnEO7ix+84zXy8+R9cW3ckLGCCgWJno1jNagVr0=; b=0EmdeJ7FtKpeSdqAcDhB9mVR3yc9cfosvYjXYQJpVQceUNgcEcDELbUUuC5aEnz9FW Y6eyNpX13oMAeDHMwx6I3mp11/DJY1S1sY3/qiMcJkhT+/C8Bf2wX2TlzG1Xz+N588A5 5OzNkk4qQDTJADJVKGoicYSoHf7jlxZ4IDfD9vTp2a12cSVOnaYl6WM27LADwkBE+fd9 vzCm7c2Jp2FxF9fguuNzh47N1bsm6QJMPdNolI9ke237XANPFdNRrWtfDWsWyos3fraF KlQuw+AtNnDldxc3W7yj4LFanjiUamBrCjJ/Wq0pn8PVRNp1PTwelAe/UMhXGeAPrvVZ 0auQ==
X-Received: by 10.194.77.180 with SMTP id t20mr5695906wjw.115.1431591824270; Thu, 14 May 2015 01:23:44 -0700 (PDT)
Received: from [192.168.1.79] (4.197.130.77.rev.sfr.net. [77.130.197.4]) by mx.google.com with ESMTPSA id i13sm12047915wic.13.2015.05.14.01.23.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 01:23:43 -0700 (PDT)
Message-ID: <55545B80.3050509@gmail.com>
Date: Thu, 14 May 2015 10:23:28 +0200
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: noloader@gmail.com, PKIX <pkix@ietf.org>
References: <CAH8yC8=yqmAyjQ4VAvwZBGnjmmKaQJ7Fxc3t3xhcJM0MEONeVQ@mail.gmail.com>
In-Reply-To: <CAH8yC8=yqmAyjQ4VAvwZBGnjmmKaQJ7Fxc3t3xhcJM0MEONeVQ@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/W-EfwXjvpwlInG0GaDHxQPej_P4>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 14 May 2015 08:23:47 -0000

On 2015-05-13 23:24, Jeffrey Walton wrote:
> RFC 5280, 4.1. Basic Certificate Fields, states:
>
>      For signature calculation, the data that is to be
>      signed is encoded using the ASN.1
>      distinguished encoding rules (DER) [X.690].
>
> One of the implications is attributes in a SET OF must be sorted and
> provided in ascending order. Refer to X.690, 11.6 Set-of components.
>
> RFC 6125 does not discuss how to verify the signature over
> tbsCertifcate modulo the encoding requirement.
>
> What is the expected behavior when complying software that expects DER
> consumes a non-DER encoded certificate during signature verification?
> Here, assume the attributes are *not* in ascending order per RFC 5280
> and X.690.

The only truly safe solution is creating certificates that have the right
attribute sorting order from the beginning.  The other option is go out
and test :-)  Actually, outside of AD there aren't that many certificates
(nowadays) having more than one attribute per RDN.

Anders

>
> Thanks in advance.
>
> _______________________________________________
> pkix mailing list
> pkix@ietf.org
> https://www.ietf.org/mailman/listinfo/pkix
>


From nobody Thu May 14 03:39:24 2015
Return-Path: <bruce.stephens@isode.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0BD871A00C0 for <pkix@ietfa.amsl.com>; Thu, 14 May 2015 03:39:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level: 
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 h9q0AfEd3sRK for <pkix@ietfa.amsl.com>; Thu, 14 May 2015 03:39:20 -0700 (PDT)
Received: from statler.isode.com (statler.isode.com [217.34.220.151]) by ietfa.amsl.com (Postfix) with ESMTP id 76E561A00A7 for <pkix@ietf.org>; Thu, 14 May 2015 03:39:20 -0700 (PDT)
Received: from localhost (tinier.isode.net [172.20.0.175])  by statler.isode.com (smtp internal) via TCP with ESMTP  id <VVR7VwAnezf1@statler.isode.com> for <pkix@ietf.org>; Thu, 14 May 2015 11:39:19 +0100
From: Bruce Stephens <bruce.stephens@isode.com>
To: pkix@ietf.org
References: <CAH8yC8=yqmAyjQ4VAvwZBGnjmmKaQJ7Fxc3t3xhcJM0MEONeVQ@mail.gmail.com> <20150513214746.D9AF11B2F4@ld9781.wdf.sap.corp> <CAH8yC8kDgx5zmaXVsWsL4vm=cwsCbr-2e-1dN_D2hEunLL8UWA@mail.gmail.com>
Date: Thu, 14 May 2015 11:39:19 +0100
In-Reply-To: <CAH8yC8kDgx5zmaXVsWsL4vm=cwsCbr-2e-1dN_D2hEunLL8UWA@mail.gmail.com> (Jeffrey Walton's message of "Wed, 13 May 2015 18:18:01 -0400")
Message-ID: <80wq0ba1ew.fsf@tinier.isode.net>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/GzMjptMsHUHjxLzjpvcoup7Ayrw>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 14 May 2015 10:39:22 -0000

Jeffrey Walton <noloader@gmail.com> writes:

> Thanks Martin.
>
>> This encoding requirement (from section 4.1 of rfc5280) applies to the
>> sender/creator of the tbsCertificate PDU.
>
> That's kind of what I thought. But the use of "calculation" leaves it
> a bit open ended, so its not clear whether it applies to the
> creator/sender or the verifier/receiver:
>
>     >> For signature calculation, the data that is to be signed..
>
> The "to be signed" kind of implies its the creator/sender. But both
> the sender and receiver both use the tbsCertifcate, so "to be signed"
> is mildly vague too.
>
> Maybe it would be a good idea to clarify it in RFC 5280 for future
> readers? Or maybe clearly state it in RFC 6125?

I'd have thought that would be simplest.

There's been language in X.509 (section 6.4 in 10/2012) for a while
making it clear that the signers ought to encode using DER and send the
actual octets signed, and that verifiers ought to verify using the
octets they actually receive (rather than their own DER encoding of the
abstract value).

[...]


From nobody Thu May 14 10:57:53 2015
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCFEC1B2CEE for <pkix@ietfa.amsl.com>; Thu, 14 May 2015 10:57:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 P52-NR5sLWte for <pkix@ietfa.amsl.com>; Thu, 14 May 2015 10:57:41 -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 6061B1B2CDB for <pkix@ietf.org>; Thu, 14 May 2015 10:57:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=uoa; t=1431626259; x=1463162259; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=ewLvHXop1dcqnxLuDULYvQkwGJ65NBvpRhHwBVaQnNE=; b=RWZOjmgFmRnc3aRF0onvcBUMZ9HQHmLXEQBTlIyviQOBPKIoHkX+eLCv vIqThFA1nEZH0GLLH0oV3VRRN87xktSxG0CkYivKilK6oX8UR73MA1GfE Z8ykIJ+OL/0EpU2l4Ml5cq2nIxrBqwH8LKkOHpVpPM6/bINpqozIwuZHZ g=;
X-IronPort-AV: E=Sophos;i="5.13,430,1427713200";  d="scan'208";a="5425528"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES128-SHA; 15 May 2015 05:57:37 +1200
Received: from UXCN10-TDC05.UoA.auckland.ac.nz ([169.254.9.151]) by uxchange10-fe3.UoA.auckland.ac.nz ([169.254.143.234]) with mapi id 14.03.0174.001; Fri, 15 May 2015 05:57:35 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: IETF PKIX <pkix@ietf.org>
Thread-Topic: [pkix] Signature Verification and DER requirements
Thread-Index: AdCOb3U8DBsz7Um5TWmTDD6nfr1ang==
Date: Thu, 14 May 2015 17:57:35 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73AB020EBB@uxcn10-tdc05.UoA.auckland.ac.nz>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.216.158.4]
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/Q2k2fqso7onR8GtJTKE7d0E0vuw>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 14 May 2015 17:57:52 -0000

Jeffrey Walton <noloader@gmail.com> writes:=0A=
=0A=
>What is the expected behavior when complying software that expects DER=0A=
>consumes a non-DER encoded certificate during signature verification? =0A=
=0A=
The expected behaviour is random, some will accept it, some will reject it.=
=0A=
When I say "random" I mean it really is a coin-toss, you should be OK with =
not=0A=
sorting the attributes in a SET OF, but there are implementations out there=
=0A=
that check for it and will complain about it.  My code sorts (in order to d=
eal=0A=
with said implementations), but doesn't check for sortedness when processin=
g=0A=
things.=0A=
=0A=
Peter.=


From nobody Fri May 15 07:12:49 2015
Return-Path: <era@x500.eu>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA5181A8711 for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 07:12:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.579
X-Spam-Level: **
X-Spam-Status: No, score=2.579 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_DK=1.009, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=0.77] autolearn=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 PMT705ntyk7k for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 07:12:46 -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 EAAE11A9027 for <pkix@ietf.org>; Fri, 15 May 2015 07:12:39 -0700 (PDT)
Received: from Morten ([62.44.135.25]) by mail04.dandomain.dk (DanDomain Mailserver) with ASMTP id 4201505151612365525 for <pkix@ietf.org>; Fri, 15 May 2015 16:12:36 +0200
From: "Erik Andersen" <era@x500.eu>
To: "'IETF PKIX'" <pkix@ietf.org>
References: <9A043F3CF02CD34C8E74AC1594475C73AB020EBB@uxcn10-tdc05.UoA.auckland.ac.nz>
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73AB020EBB@uxcn10-tdc05.UoA.auckland.ac.nz>
Date: Fri, 15 May 2015 16:12:32 +0200
Message-ID: <000001d08f19$3210caa0$96325fe0$@x500.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJTWJbGz2/yhOHJtiOftGAx2g1knJx3JK1w
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/jEXmtT__M6Wkq1s0L5XqMxf2gfQ>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 15 May 2015 14:12:48 -0000

As Peter states. It is confusing, and I am not sure how to get it right.

RFC 5280 in 4.1 say: For signature calculation, the data that is to be
signed is encoded using the ASN.1 distinguished encoding rules (DER). =
This
sentence could be read that the certificate when transmitted does not =
have
to be DER encoded.

Both RFC 5280 and X.509 requires an extension, which is encapsulated in  =
an
octet string, to be DER encoded.

We tried to make the DER encoding mandatory in a technical corrigendum, =
but
we got a ballot comment from Japan saying:

"The proposed change will break the backward
compatibility.
In the current (from the first to the seventh)
edition, the TBSCertificate data type may be
encoded using the BER, if it is temporally
encoded using the DER during the HASH and the
ENCRYPTED-HASH calculation.
The mandate of DER encoding will exclude such
certificates."

The Japene comment suggested the following text:

"It shall be encoded using the BER or the DER,
though the DER encoding is required when the
validation of SIGNED type is performed. It is
(strongly) recommended to use the DER at all
times, if no attention to the backward compatibility
with the earlier editions of this specification is
necessary."

Since 1997 the following has been included in X.509.

"Generating distinguished encoding requires the abstract syntax of the =
data
to be encoded to be fully understood. An entity may be required to sign =
data
or check the signature of data that is already signed or contains =
unknown
protocol extensions or unknown attribute syntaxes. The entity shall =
follow
these rules:
=96	It shall preserve the encoding of received information whose
abstract syntax it does not fully know and which it expects to =
subsequently
sign.
=96	When signing data for sending, it shall send data whose syntax it
fully knows with a distinguished encoding and any other data with its
preserved encoding, and shall sign the actual encoding it sends.
=96	When checking signatures in received data, it shall check the
signature against the actual data received rather than its conversion of =
the
received data to a distinguished encoding."

This text seems to assume that a certificate shall always be DER encoded

I am interested in comments.

Kind regards,

Erik

-----Oprindelig meddelelse-----
Fra: pkix [mailto:pkix-bounces@ietf.org] P=E5 vegne af Peter Gutmann
Sendt: 14 May 2015 19:58
Til: IETF PKIX
Emne: Re: [pkix] Signature Verification and DER requirements

Jeffrey Walton <noloader@gmail.com> writes:

>What is the expected behavior when complying software that expects DER=20
>consumes a non-DER encoded certificate during signature verification?

The expected behaviour is random, some will accept it, some will reject =
it.
When I say "random" I mean it really is a coin-toss, you should be OK =
with
not sorting the attributes in a SET OF, but there are implementations =
out
there that check for it and will complain about it.  My code sorts (in =
order
to deal with said implementations), but doesn't check for sortedness =
when
processing things.

Peter.
_______________________________________________
pkix mailing list
pkix@ietf.org
https://www.ietf.org/mailman/listinfo/pkix


From nobody Fri May 15 07:29:01 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E23931A92F8 for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 07:28:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.81
X-Spam-Level: 
X-Spam-Status: No, score=-2.81 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 Mz7SsM0dg2d1 for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 07:28:57 -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 A6ECD1ABB1A for <pkix@ietf.org>; Fri, 15 May 2015 07:28:56 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id BF158BED7; Fri, 15 May 2015 15:28:53 +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 g8hA1QNgh70a; Fri, 15 May 2015 15:28:53 +0100 (IST)
Received: from [134.226.36.180] (stephen-think.dsg.cs.tcd.ie [134.226.36.180]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 84174BED6; Fri, 15 May 2015 15:28:53 +0100 (IST)
Message-ID: <555602A4.50109@cs.tcd.ie>
Date: Fri, 15 May 2015 15:28:52 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Erik Andersen <era@x500.eu>, 'IETF PKIX' <pkix@ietf.org>
References: <9A043F3CF02CD34C8E74AC1594475C73AB020EBB@uxcn10-tdc05.UoA.auckland.ac.nz> <000001d08f19$3210caa0$96325fe0$@x500.eu>
In-Reply-To: <000001d08f19$3210caa0$96325fe0$@x500.eu>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/pD1jzTmQlZoI4gjPTz-uAlqEP8c>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 15 May 2015 14:29:00 -0000

On 15/05/15 15:12, Erik Andersen wrote:
> I am interested in comments.

Loooong ago there used be a few circumstances in which people
unwisely BER encoded certificates. The only one I can recall
that approached not being plain silly was X.400 security where
there might be giant ASN.1 things to send around that required
indefinite length encoding. Streaming video was I think the
example people used to justify that, not that I recall anyone
actually sending secure X.400 mails like that.

In such a case your code might be presented with a BER encoding
of a certificate (in the envelope) and have to reconstruct the
DER encoding. I'd say it was a dumb idea even then but I think
we ran into it. IIRC most other cases were really bugs, where
people used the wrong inputs to ASN.1 encoders because they
didn't know better or were lazy.

I would guess/hope all such code is long gone now though.

S.


From nobody Fri May 15 11:32:14 2015
Return-Path: <mrex@sap.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E69601A1EF7 for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 11:32:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.551
X-Spam-Level: 
X-Spam-Status: No, score=-6.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham
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 XW-b_WVMQlLW for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 11:32:10 -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 C29431A1B7F for <pkix@ietf.org>; Fri, 15 May 2015 11:32:10 -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 CB11D44D5D; Fri, 15 May 2015 20:32:08 +0200 (CEST)
X-purgate-ID: 152705::1431714728-00000B48-96870A52/0/0
X-purgate-size: 1042
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 B752D44565; Fri, 15 May 2015 20:32:08 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id AC93F1B2FB; Fri, 15 May 2015 20:32:08 +0200 (CEST)
In-Reply-To: <555602A4.50109@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Date: Fri, 15 May 2015 20:32:08 +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: <20150515183208.AC93F1B2FB@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/ZNZFxTfqGR6FO31mOLl0_8SmAJc>
Cc: 'IETF PKIX' <pkix@ietf.org>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 15 May 2015 18:32:13 -0000

Stephen Farrell wrote:
> 
> Loooong ago there used be a few circumstances in which people
> unwisely BER encoded certificates.
>
>  [...]
> 
> In such a case your code might be presented with a BER encoding
> of a certificate (in the envelope) and have to reconstruct the
> DER encoding. I'd say it was a dumb idea even then but I think
> we ran into it. IIRC most other cases were really bugs, where
> people used the wrong inputs to ASN.1 encoders because they
> didn't know better or were lazy.
> 
> I would guess/hope all such code is long gone now though.

One of the (allegedly) popular public CAs (for TLS webserver certs)
seemed to be issuing non-ASN.1-DER certificate about a year ago.

http://www.ietf.org/mail-archive/web/tls/current/msg11845.html


But the more confusing issue about X.509 is that they managed
to screw up the definition of X.509v2 CRLs (with the
specified semantics for the optional TBSCertList version field),
that there exist two _different_ canonical ASN.1 DER encodings.

-Martin


From nobody Fri May 15 12:40:10 2015
Return-Path: <noloader@gmail.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A3D4C1A710D for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 12:40:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 02GXUZr5afbp for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 12:40:07 -0700 (PDT)
Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::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 4E6321A1A9E for <pkix@ietf.org>; Fri, 15 May 2015 12:40:07 -0700 (PDT)
Received: by igbyr2 with SMTP id yr2so2995420igb.0 for <pkix@ietf.org>; Fri, 15 May 2015 12:40:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=wnf7yaq32T6rlI25s1m8i0MwDJT6x3hOV/kvlyZU9NU=; b=j7u28D0Bs6xGTKijl4WvoIGSMXP2K4Ean71CSaRyxU8hHcppjnxnieocyvsZYO0Fk2 kZ2PIjOQS46NM1XWSgqB+rdgIZAqHwF6pArgKeqpRBvpmj4s+lPQdtetXGXNDoDwUaes Ldl0jBoJf1Mf4kFK60ZerUTREYqo4dNbjaGScbIvbY7iwUIi5c4mcVRVTDoOZnQwRHbR AcyfnsDIuCwIvdowp7DADnKnA8f0+mfQWDMqb2PeSuPoVLPaq3UIfLq9HIlg8C3fUfF0 wMn5aL8j0Ja1apsevXNlPudTe/rGZVd6ByjXbirZswJIDH4JTJG3aZaX6fvBJjTEBGS+ WKJA==
MIME-Version: 1.0
X-Received: by 10.107.29.148 with SMTP id d142mr15668836iod.9.1431718806699; Fri, 15 May 2015 12:40:06 -0700 (PDT)
Received: by 10.36.77.15 with HTTP; Fri, 15 May 2015 12:40:06 -0700 (PDT)
In-Reply-To: <000001d08f19$3210caa0$96325fe0$@x500.eu>
References: <9A043F3CF02CD34C8E74AC1594475C73AB020EBB@uxcn10-tdc05.UoA.auckland.ac.nz> <000001d08f19$3210caa0$96325fe0$@x500.eu>
Date: Fri, 15 May 2015 15:40:06 -0400
Message-ID: <CAH8yC8m6V1=PtSua5q5ZWXFY+WnUwdiV_cyoyXyMDeT0iByH_g@mail.gmail.com>
From: Jeffrey Walton <noloader@gmail.com>
To: Erik Andersen <era@x500.eu>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/k-qvCWubOtokDyY7ttoOG2osnZM>
Cc: IETF PKIX <pkix@ietf.org>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: noloader@gmail.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: <http://www.ietf.org/mail-archive/web/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, 15 May 2015 19:40:08 -0000

On Fri, May 15, 2015 at 10:12 AM, Erik Andersen <era@x500.eu> wrote:
> As Peter states. It is confusing, and I am not sure how to get it right.
>
> ...
> I am interested in comments.
>
Maybe the easiest course is to side-step the issue altogether. The
issue here is verification, so focus on it.

Leave things the way they are related to encoding the certificate and
signing the certificate (or more correctly, tbsCertificate).

Then be explicit about how to verify it. That is, explicitly state
bits should be verified as they are received; and they should not be
rearranged to comply with anything because that will usually (always?)
invalidate the signature.

Allowing the bits to be rearranged during verification just seems
wrong. It effectively creates a potential for a DoS when there's no
need for one to exist. The security goals were met earlier, when the
identity was bound to the public key.

I also think you should give an implementation a choice during
verification: they can choose to reject a non-DER encoded certificate
because that's how things are written. But they should reject for the
proper reason: reject because its no-DER encoded; and not becuase they
re-arranged bits that caused a signature failure.

Allowing a receiver to rearrange bits and then claim the signature
verification failed is just plain wrong. They may as well have
performed 'certificate[0] XOR 0x01' and claimed the certificate was
tampered. There's no difference.

Jeff


From nobody Fri May 15 13:45:38 2015
Return-Path: <schokhani@cygnacom.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C8F911A86E0 for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 13:45:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level: 
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 o_3sSWECZVlt for <pkix@ietfa.amsl.com>; Fri, 15 May 2015 13:45:35 -0700 (PDT)
Received: from ipesa2.cygnacom.com (ipesa2.cygnacom.com [65.242.48.201]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 49DEC1A8889 for <pkix@ietf.org>; Fri, 15 May 2015 13:45:31 -0700 (PDT)
Received: from unknown (HELO svaexch1.cygnacom.com) ([10.60.50.216]) by ipesa2.cygnacom.com with ESMTP; 15 May 2015 16:45:31 -0400
Received: from svaexch1.cygnacom.com (10.60.50.216) by svaexch1.cygnacom.com (10.60.50.216) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Fri, 15 May 2015 16:45:29 -0400
Received: from svaexch1.cygnacom.com ([fe80::b53e:f4f1:9071:563e]) by svaexch1.cygnacom.com ([fe80::b53e:f4f1:9071:563e%12]) with mapi id 15.00.1076.000; Fri, 15 May 2015 16:45:29 -0400
From: Santosh Chokhani <schokhani@cygnacom.com>
To: "noloader@gmail.com" <noloader@gmail.com>, Erik Andersen <era@x500.eu>
Thread-Topic: [pkix] Signature Verification and DER requirements
Thread-Index: AdCOb3U8X23f7gRRfkS72hCxt/Rc8QAy0DgAAAtwrAAABoLxQA==
Date: Fri, 15 May 2015 20:45:29 +0000
Message-ID: <25f0ef53824f44589e5e2b36fa40a8d6@svaexch1.cygnacom.com>
References: <9A043F3CF02CD34C8E74AC1594475C73AB020EBB@uxcn10-tdc05.UoA.auckland.ac.nz> <000001d08f19$3210caa0$96325fe0$@x500.eu> <CAH8yC8m6V1=PtSua5q5ZWXFY+WnUwdiV_cyoyXyMDeT0iByH_g@mail.gmail.com>
In-Reply-To: <CAH8yC8m6V1=PtSua5q5ZWXFY+WnUwdiV_cyoyXyMDeT0iByH_g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.60.117.7]
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/ciegaOREMn7nPV7oKF_GU03bC8w>
Cc: IETF PKIX <pkix@ietf.org>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 15 May 2015 20:45:36 -0000

+1

-----Original Message-----
From: pkix [mailto:pkix-bounces@ietf.org] On Behalf Of Jeffrey Walton
Sent: Friday, May 15, 2015 3:40 PM
To: Erik Andersen
Cc: IETF PKIX
Subject: Re: [pkix] Signature Verification and DER requirements

On Fri, May 15, 2015 at 10:12 AM, Erik Andersen <era@x500.eu> wrote:
> As Peter states. It is confusing, and I am not sure how to get it right.
>
> ...
> I am interested in comments.
>
Maybe the easiest course is to side-step the issue altogether. The issue he=
re is verification, so focus on it.

Leave things the way they are related to encoding the certificate and signi=
ng the certificate (or more correctly, tbsCertificate).

Then be explicit about how to verify it. That is, explicitly state bits sho=
uld be verified as they are received; and they should not be rearranged to =
comply with anything because that will usually (always?) invalidate the sig=
nature.

Allowing the bits to be rearranged during verification just seems wrong. It=
 effectively creates a potential for a DoS when there's no need for one to =
exist. The security goals were met earlier, when the identity was bound to =
the public key.

I also think you should give an implementation a choice during
verification: they can choose to reject a non-DER encoded certificate becau=
se that's how things are written. But they should reject for the proper rea=
son: reject because its no-DER encoded; and not becuase they re-arranged bi=
ts that caused a signature failure.

Allowing a receiver to rearrange bits and then claim the signature verifica=
tion failed is just plain wrong. They may as well have performed 'certifica=
te[0] XOR 0x01' and claimed the certificate was tampered. There's no differ=
ence.

Jeff

_______________________________________________
pkix mailing list
pkix@ietf.org
https://www.ietf.org/mailman/listinfo/pkix


From nobody Sat May 16 00:16:04 2015
Return-Path: <era@x500.eu>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFB601B2A7C for <pkix@ietfa.amsl.com>; Sat, 16 May 2015 00:16:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.778
X-Spam-Level: *
X-Spam-Status: No, score=1.778 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HELO_EQ_DK=1.009, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=0.77] autolearn=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 yq_Av9mh8omY for <pkix@ietfa.amsl.com>; Sat, 16 May 2015 00:16:00 -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 1AD551ACE7E for <pkix@ietf.org>; Sat, 16 May 2015 00:15:59 -0700 (PDT)
Received: from Morten ([62.44.135.25]) by mail04.dandomain.dk (DanDomain Mailserver) with ASMTP id 4201505160915548713 for <pkix@ietf.org>; Sat, 16 May 2015 09:15:54 +0200
From: "Erik Andersen" <era@x500.eu>
To: "PKIX" <pkix@ietf.org>
References: <9A043F3CF02CD34C8E74AC1594475C73AB020EBB@uxcn10-tdc05.UoA.auckland.ac.nz> <000001d08f19$3210caa0$96325fe0$@x500.eu> <CAH8yC8m6V1=PtSua5q5ZWXFY+WnUwdiV_cyoyXyMDeT0iByH_g@mail.gmail.com> <25f0ef53824f44589e5e2b36fa40a8d6@svaexch1.cygnacom.com>
In-Reply-To: <25f0ef53824f44589e5e2b36fa40a8d6@svaexch1.cygnacom.com>
Date: Sat, 16 May 2015 09:15:55 +0200
Message-ID: <000001d08fa8$268d8170$73a88450$@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: AQJTWJbGz2/yhOHJtiOftGAx2g1knACOJ2FoAoLOhLkB7krzUpxQoWng
Content-Language: en-gb
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/zoaKAEz51Hjwka48IAU7-OHKSmE>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 16 May 2015 07:16:03 -0000

It appears for me that the Japanese comment should be rejected. I will bring
that up on our own list, as that is the decision making list for X.509.

The Japanese comment implies (as I read it), as you do not whether a
received cert is DER or non-DER encoded, you need to decode it and encode it
in DER before checking the signature. In a constrained environment this
seems an unnecessary burden to put on an RP.

Jeff write that you could reject a cert because it is non-DER encoded. How
do detect that without analysing the cert in details. If you do minimum
processing, you will just discover the signature validation failed.

I brought the issue up on this list due to the level of expertise on this
list and because a thread was going on this issue.

Kind regards,

Erik

-----Oprindelig meddelelse-----
Fra: Santosh Chokhani [mailto:schokhani@cygnacom.com] 
Sendt: 15 May 2015 22:45
Til: noloader@gmail.com; Erik Andersen
Cc: IETF PKIX
Emne: RE: [pkix] Signature Verification and DER requirements

+1

-----Original Message-----
From: pkix [mailto:pkix-bounces@ietf.org] On Behalf Of Jeffrey Walton
Sent: Friday, May 15, 2015 3:40 PM
To: Erik Andersen
Cc: IETF PKIX
Subject: Re: [pkix] Signature Verification and DER requirements

On Fri, May 15, 2015 at 10:12 AM, Erik Andersen <era@x500.eu> wrote:
> As Peter states. It is confusing, and I am not sure how to get it right.
>
> ...
> I am interested in comments.
>
Maybe the easiest course is to side-step the issue altogether. The issue
here is verification, so focus on it.

Leave things the way they are related to encoding the certificate and
signing the certificate (or more correctly, tbsCertificate).

Then be explicit about how to verify it. That is, explicitly state bits
should be verified as they are received; and they should not be rearranged
to comply with anything because that will usually (always?) invalidate the
signature.

Allowing the bits to be rearranged during verification just seems wrong. It
effectively creates a potential for a DoS when there's no need for one to
exist. The security goals were met earlier, when the identity was bound to
the public key.

I also think you should give an implementation a choice during
verification: they can choose to reject a non-DER encoded certificate
because that's how things are written. But they should reject for the proper
reason: reject because its no-DER encoded; and not becuase they re-arranged
bits that caused a signature failure.

Allowing a receiver to rearrange bits and then claim the signature
verification failed is just plain wrong. They may as well have performed
'certificate[0] XOR 0x01' and claimed the certificate was tampered. There's
no difference.

Jeff

_______________________________________________
pkix mailing list
pkix@ietf.org
https://www.ietf.org/mailman/listinfo/pkix


From nobody Mon May 18 09:48:34 2015
Return-Path: <noloader@gmail.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 63D971A1A80 for <pkix@ietfa.amsl.com>; Mon, 18 May 2015 09:48:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 ewo9-QUebtPy for <pkix@ietfa.amsl.com>; Mon, 18 May 2015 09:48:31 -0700 (PDT)
Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (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 958881A040B for <pkix@ietf.org>; Mon, 18 May 2015 09:48:31 -0700 (PDT)
Received: by igcau1 with SMTP id au1so52669702igc.1 for <pkix@ietf.org>; Mon, 18 May 2015 09:48:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=csHLxZQjaVb/hoXlUJi+c3h5IfOkcDgCEIzg1MXvSbo=; b=Y7UEH0wFEXSQ8nSibmaNC5oQJKLan27rh5OlRz6nOfUZWgnb0b/3HykowaL9ZR8OKm tmnfdEVTSiXW3gnZlOiI9aghhaX+8oZmhCR+OSLwTd2sub2e1nZ8U2C/VuMGjJLCoJcY +qz56x91lx0FLCkg1WFk1iWygFNGybE7RZGKpFE4rYosM6LkYON8OrvAdUaGEAktK5fL T7C9FFedsNxUUo01/l614VmnTZaWHfmwNHOYTxrUPkpPAj9bLYjmqXakflStEswLsI+7 s6sPpHTJotQv92mi+Hao4Lh/ulsd8RlvYbGmjfHk3UJXC64aotDBPGpEVoYufsnCNafJ ylGg==
MIME-Version: 1.0
X-Received: by 10.107.157.130 with SMTP id g124mr351921ioe.11.1431967711033; Mon, 18 May 2015 09:48:31 -0700 (PDT)
Received: by 10.36.77.15 with HTTP; Mon, 18 May 2015 09:48:30 -0700 (PDT)
In-Reply-To: <000001d08fa8$268d8170$73a88450$@x500.eu>
References: <9A043F3CF02CD34C8E74AC1594475C73AB020EBB@uxcn10-tdc05.UoA.auckland.ac.nz> <000001d08f19$3210caa0$96325fe0$@x500.eu> <CAH8yC8m6V1=PtSua5q5ZWXFY+WnUwdiV_cyoyXyMDeT0iByH_g@mail.gmail.com> <25f0ef53824f44589e5e2b36fa40a8d6@svaexch1.cygnacom.com> <000001d08fa8$268d8170$73a88450$@x500.eu>
Date: Mon, 18 May 2015 12:48:30 -0400
Message-ID: <CAH8yC8kdt3+Da1GvGPPOutZRG=H=UUuXGgQ91yX0sVvjRe3wUg@mail.gmail.com>
From: Jeffrey Walton <noloader@gmail.com>
To: Erik Andersen <era@x500.eu>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/NOaVkf6zq_lCAHwFg7rxwJp7sSE>
Cc: PKIX <pkix@ietf.org>
Subject: Re: [pkix] Signature Verification and DER requirements
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: noloader@gmail.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: <http://www.ietf.org/mail-archive/web/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, 18 May 2015 16:48:33 -0000

Hi Erik,

> Jeff write that you could reject a cert because it is non-DER encoded. How
> do detect that without analysing the cert in details. If you do minimum
> processing, you will just discover the signature validation failed.

If I was implementing this, here's how I would approach it:

  (1) verify the signature on the certificate without "deeply" parsing
the certificate.
  (2) accept BER/CER/DER because they are just presentation formats

I can get away with (1) because I already know the signer and the
signer's key. I don't use the browser/internet security model, and I
don't need to go rummaging around for signers and keys.

Many others can get away without rummaging for signers and keys, too.
A well configured server sends the certificates required for a chain
in a particular order. They do that to avoid the "which directory"
problem. So the answers are often at your fingertips without the need
to go hunting for signers and keys.

For (2), BER/CER/DER is just a presentation format. It adds nothing to
the security goals, and it takes nothing away from the security goals.
The best I can tell, its useless criteria because it has 0 impact on
security.

For what its worth, I would reject an end-entity certificate if a
server did *not* send the proper chain. We often need the chain to
avoid the "which directory" and the "deep parsing" problems. To me,
that's a valid reason to reject because it affects our ability to
verify a signature, which is completely security related.

Jeff

On Sat, May 16, 2015 at 3:15 AM, Erik Andersen <era@x500.eu> wrote:
> It appears for me that the Japanese comment should be rejected. I will bring
> that up on our own list, as that is the decision making list for X.509.
>
> The Japanese comment implies (as I read it), as you do not whether a
> received cert is DER or non-DER encoded, you need to decode it and encode it
> in DER before checking the signature. In a constrained environment this
> seems an unnecessary burden to put on an RP.
>
> Jeff write that you could reject a cert because it is non-DER encoded. How
> do detect that without analysing the cert in details. If you do minimum
> processing, you will just discover the signature validation failed.
>
> I brought the issue up on this list due to the level of expertise on this
> list and because a thread was going on this issue.
>
> Kind regards,
>
> Erik
>
> -----Oprindelig meddelelse-----
> Fra: Santosh Chokhani [mailto:schokhani@cygnacom.com]
> Sendt: 15 May 2015 22:45
> Til: noloader@gmail.com; Erik Andersen
> Cc: IETF PKIX
> Emne: RE: [pkix] Signature Verification and DER requirements
>
> +1
>
> -----Original Message-----
> From: pkix [mailto:pkix-bounces@ietf.org] On Behalf Of Jeffrey Walton
> Sent: Friday, May 15, 2015 3:40 PM
> To: Erik Andersen
> Cc: IETF PKIX
> Subject: Re: [pkix] Signature Verification and DER requirements
>
> On Fri, May 15, 2015 at 10:12 AM, Erik Andersen <era@x500.eu> wrote:
>> As Peter states. It is confusing, and I am not sure how to get it right.
>>
>> ...
>> I am interested in comments.
>>
> Maybe the easiest course is to side-step the issue altogether. The issue
> here is verification, so focus on it.
>
> Leave things the way they are related to encoding the certificate and
> signing the certificate (or more correctly, tbsCertificate).
>
> Then be explicit about how to verify it. That is, explicitly state bits
> should be verified as they are received; and they should not be rearranged
> to comply with anything because that will usually (always?) invalidate the
> signature.
>
> Allowing the bits to be rearranged during verification just seems wrong. It
> effectively creates a potential for a DoS when there's no need for one to
> exist. The security goals were met earlier, when the identity was bound to
> the public key.
>
> I also think you should give an implementation a choice during
> verification: they can choose to reject a non-DER encoded certificate
> because that's how things are written. But they should reject for the proper
> reason: reject because its no-DER encoded; and not becuase they re-arranged
> bits that caused a signature failure.
>
> Allowing a receiver to rearrange bits and then claim the signature
> verification failed is just plain wrong. They may as well have performed
> 'certificate[0] XOR 0x01' and claimed the certificate was tampered. There's
> no difference.


From nobody Fri May 29 04:11:31 2015
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1BDA1A00C0 for <pkix@ietfa.amsl.com>; Fri, 29 May 2015 04:11:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.912
X-Spam-Level: 
X-Spam-Status: No, score=-101.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=ham
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 D6byuQyPn1In for <pkix@ietfa.amsl.com>; Fri, 29 May 2015 04:11:28 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1900:3001:11::31]) by ietfa.amsl.com (Postfix) with ESMTP id 5D1F91A00B1 for <pkix@ietf.org>; Fri, 29 May 2015 04:11:27 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id D369A180092; Fri, 29 May 2015 04:09:16 -0700 (PDT)
To: peter@akayla.com, stephen.farrell@cs.tcd.ie, Kathleen.Moriarty.ietf@gmail.com, kent@bbn.com, stefan@aaa-sec.com
X-PHP-Originating-Script: 6000:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20150529110916.D369A180092@rfc-editor.org>
Date: Fri, 29 May 2015 04:09:16 -0700 (PDT)
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/DeloUWCqPYQJFhRF51MtabTGFgw>
Cc: pkix@ietf.org, G.F.B.2015@outlook.com, rfc-editor@rfc-editor.org
Subject: [pkix] [Technical Errata Reported] RFC6818 (4381)
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 29 May 2015 11:11:29 -0000

The following errata report has been submitted for RFC6818,
"Updates to the Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=6818&eid=4381

--------------------------------------
Type: Technical
Reported by: Gerard Barlow <G.F.B.2015@outlook.com>

Section: GLOBAL

Original Text
-------------
Void Elements

Corrected Text
--------------
Void Elements

Notes
-----
Slow the out of control data rate.  slim the file system.  enhance performance

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party (IESG)
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC6818 (draft-ietf-pkix-rfc5280-clarifications-11)
--------------------------------------
Title               : Updates to the Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile
Publication Date    : January 2013
Author(s)           : P. Yee
Category            : PROPOSED STANDARD
Source              : Public-Key Infrastructure (X.509)
Area                : Security
Stream              : IETF
Verifying Party     : IESG


From nobody Fri May 29 08:26:47 2015
Return-Path: <peter@akayla.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F1E81AC412 for <pkix@ietfa.amsl.com>; Fri, 29 May 2015 08:26:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
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 H1cRo8tgkMD5 for <pkix@ietfa.amsl.com>; Fri, 29 May 2015 08:26:44 -0700 (PDT)
Received: from p3plsmtpa09-02.prod.phx3.secureserver.net (p3plsmtpa09-02.prod.phx3.secureserver.net [173.201.193.231]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 246491ACAD4 for <pkix@ietf.org>; Fri, 29 May 2015 08:26:38 -0700 (PDT)
Received: from spectre ([173.8.184.78]) by p3plsmtpa09-02.prod.phx3.secureserver.net with  id ZrSa1q00k1huGat01rSayV; Fri, 29 May 2015 08:26:37 -0700
From: "Peter Yee" <peter@akayla.com>
To: "'RFC Errata System'" <rfc-editor@rfc-editor.org>, <stephen.farrell@cs.tcd.ie>, <Kathleen.Moriarty.ietf@gmail.com>, <kent@bbn.com>, <stefan@aaa-sec.com>
References: <20150529110916.D369A180092@rfc-editor.org>
In-Reply-To: <20150529110916.D369A180092@rfc-editor.org>
Date: Fri, 29 May 2015 08:26:55 -0700
Message-ID: <06f501d09a23$e6f47e20$b4dd7a60$@akayla.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQFE4+UhYgYl7FlJNHr53c0F84eVqJ6qd68g
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/3ON9hXenVVOuzsvhXpyPdPNAYvE>
Cc: pkix@ietf.org
Subject: Re: [pkix] [Technical Errata Reported] RFC6818 (4381)
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 29 May 2015 15:26:46 -0000

This seems to be junk or a joke.  The term "Void Elements" appears nowhere
in RFC 6818, and even if it did, the original text and the corrected text
are the same.  The notes make no sense.

			-Peter

-----Original Message-----
From: RFC Errata System [mailto:rfc-editor@rfc-editor.org] 
Sent: Friday, May 29, 2015 4:09 AM
To: peter@akayla.com; stephen.farrell@cs.tcd.ie;
Kathleen.Moriarty.ietf@gmail.com; kent@bbn.com; stefan@aaa-sec.com
Cc: G.F.B.2015@outlook.com; pkix@ietf.org; rfc-editor@rfc-editor.org
Subject: [Technical Errata Reported] RFC6818 (4381)

The following errata report has been submitted for RFC6818, "Updates to the
Internet X.509 Public Key Infrastructure Certificate and Certificate
Revocation List (CRL) Profile".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=6818&eid=4381

--------------------------------------
Type: Technical
Reported by: Gerard Barlow <G.F.B.2015@outlook.com>

Section: GLOBAL

Original Text
-------------
Void Elements

Corrected Text
--------------
Void Elements

Notes
-----
Slow the out of control data rate.  slim the file system.  enhance
performance

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please use
"Reply All" to discuss whether it should be verified or rejected. When a
decision is reached, the verifying party (IESG) can log in to change the
status and edit the report, if necessary. 

--------------------------------------
RFC6818 (draft-ietf-pkix-rfc5280-clarifications-11)
--------------------------------------
Title               : Updates to the Internet X.509 Public Key
Infrastructure Certificate and Certificate Revocation List (CRL) Profile
Publication Date    : January 2013
Author(s)           : P. Yee
Category            : PROPOSED STANDARD
Source              : Public-Key Infrastructure (X.509)
Area                : Security
Stream              : IETF
Verifying Party     : IESG



From nobody Fri May 29 08:35:05 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 354861AC41A for <pkix@ietfa.amsl.com>; Fri, 29 May 2015 08:35:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 5cj-_AP7QhYd for <pkix@ietfa.amsl.com>; Fri, 29 May 2015 08:34:55 -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 6EBE91ACD4F for <pkix@ietf.org>; Fri, 29 May 2015 08:34:53 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 40D2CBF16; Fri, 29 May 2015 16:34:52 +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 QdIpR8n-Ru_o; Fri, 29 May 2015 16:34:52 +0100 (IST)
Received: from [134.226.36.180] (stephen-think.dsg.cs.tcd.ie [134.226.36.180]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 9E327BF15; Fri, 29 May 2015 16:34:51 +0100 (IST)
Message-ID: <5568871B.80300@cs.tcd.ie>
Date: Fri, 29 May 2015 16:34:51 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Peter Yee <peter@akayla.com>,  'RFC Errata System' <rfc-editor@rfc-editor.org>, Kathleen.Moriarty.ietf@gmail.com, kent@bbn.com, stefan@aaa-sec.com
References: <20150529110916.D369A180092@rfc-editor.org> <06f501d09a23$e6f47e20$b4dd7a60$@akayla.com>
In-Reply-To: <06f501d09a23$e6f47e20$b4dd7a60$@akayla.com>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/Z46sgKfJ6DNUFxCTyVH9ms7lh5w>
Cc: pkix@ietf.org
Subject: Re: [pkix] [Technical Errata Reported] RFC6818 (4381)
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 29 May 2015 15:35:02 -0000

Yep, I asked the RFC editor folks to just delete it. Happens
from time to time.

S.

On 29/05/15 16:26, Peter Yee wrote:
> This seems to be junk or a joke.  The term "Void Elements" appears nowhere
> in RFC 6818, and even if it did, the original text and the corrected text
> are the same.  The notes make no sense.
> 
> 			-Peter
> 
> -----Original Message-----
> From: RFC Errata System [mailto:rfc-editor@rfc-editor.org] 
> Sent: Friday, May 29, 2015 4:09 AM
> To: peter@akayla.com; stephen.farrell@cs.tcd.ie;
> Kathleen.Moriarty.ietf@gmail.com; kent@bbn.com; stefan@aaa-sec.com
> Cc: G.F.B.2015@outlook.com; pkix@ietf.org; rfc-editor@rfc-editor.org
> Subject: [Technical Errata Reported] RFC6818 (4381)
> 
> The following errata report has been submitted for RFC6818, "Updates to the
> Internet X.509 Public Key Infrastructure Certificate and Certificate
> Revocation List (CRL) Profile".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata_search.php?rfc=6818&eid=4381
> 
> --------------------------------------
> Type: Technical
> Reported by: Gerard Barlow <G.F.B.2015@outlook.com>
> 
> Section: GLOBAL
> 
> Original Text
> -------------
> Void Elements
> 
> Corrected Text
> --------------
> Void Elements
> 
> Notes
> -----
> Slow the out of control data rate.  slim the file system.  enhance
> performance
> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please use
> "Reply All" to discuss whether it should be verified or rejected. When a
> decision is reached, the verifying party (IESG) can log in to change the
> status and edit the report, if necessary. 
> 
> --------------------------------------
> RFC6818 (draft-ietf-pkix-rfc5280-clarifications-11)
> --------------------------------------
> Title               : Updates to the Internet X.509 Public Key
> Infrastructure Certificate and Certificate Revocation List (CRL) Profile
> Publication Date    : January 2013
> Author(s)           : P. Yee
> Category            : PROPOSED STANDARD
> Source              : Public-Key Infrastructure (X.509)
> Area                : Security
> Stream              : IETF
> Verifying Party     : IESG
> 
> 
> 
> 

