Re: [Trans] Angle brackets in the PRIVATE option (Ticket #1)

Rob Stradling <rob.stradling@comodo.com> Tue, 01 April 2014 09:31 UTC

Return-Path: <rob.stradling@comodo.com>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FCBD1A7016 for <trans@ietfa.amsl.com>; Tue, 1 Apr 2014 02:31:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.29
X-Spam-Level:
X-Spam-Status: No, score=-1.29 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_NET=0.611, SPF_PASS=-0.001] 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 ymzC43xLusdm for <trans@ietfa.amsl.com>; Tue, 1 Apr 2014 02:31:30 -0700 (PDT)
Received: from ian.brad.office.comodo.net (eth5.brad-fw.brad.office.ccanet.co.uk [178.255.87.226]) by ietfa.amsl.com (Postfix) with ESMTP id 1EE061A0985 for <trans@ietf.org>; Tue, 1 Apr 2014 02:31:29 -0700 (PDT)
Received: (qmail 11058 invoked by uid 1000); 1 Apr 2014 09:31:24 -0000
Received: from nigel.brad.office.comodo.net (HELO [192.168.0.58]) (192.168.0.58) (smtp-auth username rob, mechanism plain) by ian.brad.office.comodo.net (qpsmtpd/0.40) with (AES128-SHA encrypted) ESMTPSA; Tue, 01 Apr 2014 10:31:24 +0100
Message-ID: <533A876C.60408@comodo.com>
Date: Tue, 01 Apr 2014 10:31:24 +0100
From: Rob Stradling <rob.stradling@comodo.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Doug Beattie <doug.beattie@globalsign.com>, 'Peter Bowen' <pzbowen@gmail.com>
References: <544B0DD62A64C1448B2DA253C011414607C85F3902@TUS1XCHEVSPIN33.SYMC.SYMANTEC.COM> <CAK6vND-NToUO3FgC-Tp-nykj-LYpDQE0AewJeF5oUHow6XSLSQ@mail.gmail.com> <53393F1F.6080005@comodo.com> <CAK6vND88x3PFM1Ay9ebwRBCabJMrjLH=c7xMtKWBJhOuwMJ-pw@mail.gmail.com> <5339752C.7020808@comodo.com> <CAK6vND_Dk9+eEg7EPBuN=x2TO5Ss1RmcY+i6x1BbZvHUpAvBWw@mail.gmail.com> <063901cf4d2d$41c859b0$c5590d10$@globalsign.com>
In-Reply-To: <063901cf4d2d$41c859b0$c5590d10$@globalsign.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/trans/YIB0ceYopN46el1lmM2IZX_53f0
Cc: trans@ietf.org, 'Rick Andrews' <Rick_Andrews@symantec.com>
Subject: Re: [Trans] Angle brackets in the PRIVATE option (Ticket #1)
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Public Notary Transparency working group discussion list <trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>, <mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>, <mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Apr 2014 09:31:34 -0000

On 31/03/14 23:04, Doug Beattie wrote:
> I agree with Peter on this one, why are we making a long human readable
> string for a cert that basically no-body will ever look at and will be used
> only by the browser to validate the SCT (and the CA to create the SCT
> extension)?

I sincerely hope that the end result of the CT effort is _not_ that 
"no-body will ever look at" Precertificates.

If nobody performs the Monitor role (i.e. watching the CT logs for 
Precertificates of interest) then CT won't achieve its potential as an 
effective mechanism for detecting certificate mis-issuance!

Like I said, I'm not too bothered about what string literal we end up 
using.  But since there doesn't seem to be any real need to optimize for 
size, let's prioritize clarity.

Do both "?." and "(PRIVATE)." convey the intending "private 
subdomain(s)" meaning equally well?

> When the browser tries to validate an SSL certificate they need
> an indication that the SCTs were computed normally or via the Private
> algorithm. Aren't all the SANs either private or not in a cert, and not a
> mix?  (sorry if this is in a spec or an email that I missed).

I think we should support a mixture of private and non-private SANs in a 
cert.

> It seems like the indicator to the browser should be at the SCT extension
> level, not on every SAN entry (there could be hundreds), so we could omit
> any indication of private at the per-san level.  If it needs to be at the
> SAN level (for some reason), then put in a valid PrintableString character
> (maybe 2) we'd never expect to see in the wild.
>
> I'm sure I'm missing a key point.

The Certificate needs to indicate, _for each SAN_, the number of domain 
components that are masked in the Precertificate, so that the browser is 
able to reconstruct the Precertificate precisely.

An indicator at the SCT extension level, rather than for each SAN, just 
wouldn't be enough.

> Doug
>
> -----Original Message-----
> From: Trans [mailto:trans-bounces@ietf.org] On Behalf Of Peter Bowen
> Sent: Monday, March 31, 2014 10:57 AM
> To: Rob Stradling
> Cc: trans@ietf.org; Rick Andrews
> Subject: Re: [Trans] Angle brackets in the PRIVATE option (Ticket #1)
>
> On Mon, Mar 31, 2014 at 7:01 AM, Rob Stradling <rob.stradling@comodo.com>
> wrote:
>> On 31/03/14 14:44, Peter Bowen wrote:
>>> If _completely_hidden_ is the requirement, then I agree that any
>>> option that is no f(x) = 1 (for fixed values of 1) fails.
>>>
>>> Why have the long string "(PRIVATE)" at all then?  Would a single '?'
>>> not be adequate?  I don't think you will ever find '?' in a real
>>> dNSName.
>>
>>
>> "PRIVATE" seemed a good choice of string literal from the point of
>> view of explaining the idea clearly, but I'm not bothered what string
>> literal we end up using.
>>
>> Why does the length of the string literal concern you?
>
> I guess it does not really matter.  I was thinking about the future, when CT
> is used for the CDN certificates with hundreds of SANs.
> Moving "www" -> "(PRIVATE)" for 200 names increases the size 1200 bytes.
> Maybe additional size is not a big deal.
>
> Thanks,
> Peter
>
> _______________________________________________
> Trans mailing list
> Trans@ietf.org
> https://www.ietf.org/mailman/listinfo/trans
>
> _______________________________________________
> Trans mailing list
> Trans@ietf.org
> https://www.ietf.org/mailman/listinfo/trans
>

-- 
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online
Office Tel: +44.(0)1274.730505
Office Fax: +44.(0)1274.730909
www.comodo.com

COMODO CA Limited, Registered in England No. 04058690
Registered Office:
   3rd Floor, 26 Office Village, Exchange Quay,
   Trafford Road, Salford, Manchester M5 3EQ

This e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed.  If you have received this email in error please notify the 
sender by replying to the e-mail containing this attachment. Replies to 
this email may be monitored by COMODO for operational or business 
reasons. Whilst every endeavour is taken to ensure that e-mails are free 
from viruses, no liability can be accepted and the recipient is 
requested to use their own virus checking software.